[wp-trac] [WordPress Trac] #42785: Change default of `show_in_rest` in register_post_type and register_taxonomy
WordPress Trac
noreply at wordpress.org
Fri Mar 30 17:54:47 UTC 2018
#42785: Change default of `show_in_rest` in register_post_type and
register_taxonomy
-------------------------------------------------+-------------------------
Reporter: joehoyle | Owner: pento
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9.6
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests needs- | Focuses:
refresh |
-------------------------------------------------+-------------------------
Comment (by youknowriad):
> You're working with 15+ years of code, not a shiny brand new project.
I understand that, and these compromises are necessary. But that's not a
reason to not change anything. We could plan these more difficult changes
iteratively. Deprecate things for several versions... Inform the users to
force a property to `true` even if it's its default value and then after
some releases, switch it to default `false`...
Do you have any link to discussions explaining the need for
`show_in_rest`, I'd love to learn more about those compromises?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42785#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list