[wp-trac] [WordPress Trac] #38218: Introduce a WP_Post_Type_Labels class
WordPress Trac
noreply at wordpress.org
Thu Sep 13 05:00:57 UTC 2018
#38218: Introduce a WP_Post_Type_Labels class
------------------------------------------+-----------------------------
Reporter: swissspidy | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+-----------------------------
Comment (by swissspidy):
@dontgo2sleep We can explore that in this ticket, but I see one big
problem with this approach: it doesn't work for existing plugins.
There are thousands of plugins registering post types and taxonomies out
there. In order for things like the toolbar in the user's locale work, we
need to solve this in a backward compatible way for all existing plugins.
The adoption rate for the callback variant would be way too slow without
any additional benefit.
Also think about documentation, tutorials, etc. These won't be updated
using the callback option for a long time.
That's why I think we should concentrate on the class approach for now and
see how it works.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38218#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list