-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove permalink_template and generated_slug attributes from rest_prepare_{$post_type} hook. - Moved it to core. #10400
Comments
We can remove this filter, if Gutenberg requires WordPress >= 5.0. Maybe we should add a milestone? |
sure, it just the core ticket is tagged to 5.0 Milestone. |
Before WordPress 5.0 ships, However, once the patch in https://core.trac.wordpress.org/ticket/45017 lands, I'd like to update the filter in |
Note: This is to use Gutenberg for WordPress nightly builds and trunk once core trac WordPress#45017 patch merge in it. ref: WordPress#10400
Raise this PR #10408 to test the code in the core for WordPress nightly builds and trunk. |
Holding off on this for a few weeks: #10408 (comment) |
Closing in favor of #10656 |
We have moved
permalink_template
andgenerated_slug
attributes to Posts controller in Core.ref: https://core.trac.wordpress.org/ticket/45017 ( ready to commit and test )
Once this is merge to core we won't be needing this filter.
gutenberg/lib/rest-api.php
Line 287 in 3e53873
gutenberg/lib/rest-api.php
Lines 191 to 217 in 3e53873
The text was updated successfully, but these errors were encountered: