-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Revert "Patterns: fix capabilities settings for pattern categories #55532
Conversation
This pull request has changed or added PHP files. Please confirm whether these changes need to be synced to WordPress Core, and therefore featured in the next release of WordPress. If so, it is recommended to create a new Trac ticket and submit a pull request to the WordPress Core Github repository soon after this pull request is merged. If you're unsure, you can always ask for help in the #core-editor channel in WordPress Slack. Thank you! ❤️ View changed files❔ lib/compat/wordpress-6.4/block-patterns.php ❔ lib/compat/wordpress-6.4/blocks.php ❔ lib/load.php |
If we do revert this we will need to then reimplement this one change in a new PR following that revert to allow author and contributor users to view the user category lists - and this change will need to be backported. |
Size Change: -919 B (0%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
Warning: Type of PR label error To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. |
Flaky tests detected in 66c11af. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6599119077
|
For awareness @SiobhyB, this revert is needed for the npm packages update for 6.4 RC2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a full revert of 5b10d27 👍
Once this revert is merged, @glendaviesnz notes a follow-up fix is needed for |
@hellofromtonya the PR for the fix that needs to be included in 6.4 is here - I will get one of our team to review it, but may not be until tomorrow, but it is pretty straightforward so feel free to review and merge if you have time. |
Thank you @glendaviesnz! Once PR #55553, it can be cherry-picked for |
This reverts commit 5b10d27.
What?
Reverts the changes made in #55379 that prevents Author level users from adding pattern categories.
Why?
It was thought that Authors should be able to choose from existing categories but not add new ones, and this is probably still the idea, but there are potential issues with modifying the taxonomy capabilities to disallow this, as mentioned here. The best option is probably to back this out and leave it with authors able to add new pattern categories at this point in the 6.4 release cycle.
How?
A straight revert of 5b10d27.
Testing Instructions