Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Styles: allow read access to users with edit_posts capabilities #65071

Merged

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    317bcd9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    817381f View commit details
    Browse the repository at this point in the history
  3. Remove placeholder code

    aaronrobertshaw authored and ramonjd committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f2ce2c7 View commit details
    Browse the repository at this point in the history
  4. Reinstate default context for globalStyles in entities.js

    Check read caps on all CPTs
    ramonjd committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    935aa3e View commit details
    Browse the repository at this point in the history
  5. A test to allow view context for global styles GET request

    Preloads the global styles CPT without edit via filter
    Check canUser capabilities according to the capabilities set in the CPT wp_global_styles
    ramonjd committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    9ee89e3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3c86530 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    499bf2d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2ce6ba9 View commit details
    Browse the repository at this point in the history
  9. Whoops. Should be "update"

    ramonjd committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    db62b62 View commit details
    Browse the repository at this point in the history
  10. Return value on new filter

    Update WP_Error code and associate tests for read permissions check
    ramonjd committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f35d9b0 View commit details
    Browse the repository at this point in the history
  11. Update return annotation

    Co-authored-by: George Mamadashvili <georgemamadashvili@gmail.com>
    ramonjd and Mamaduka committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    16772a3 View commit details
    Browse the repository at this point in the history
  12. Backport changelog entry

    ramonjd committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    eac8ee2 View commit details
    Browse the repository at this point in the history
  13. remove preload path filtering

    ramonjd committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    801883f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    24e5786 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8caa9f5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    768770e View commit details
    Browse the repository at this point in the history
  17. LINT ME LIKE YOU MEAN IT

    ramonjd committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8d99a26 View commit details
    Browse the repository at this point in the history