[wp-trac] [WordPress Trac] #26746: Avoid translating several times post type and taxonomy default labels
WordPress Trac
noreply at wordpress.org
Tue Mar 11 17:09:10 UTC 2014
#26746: Avoid translating several times post type and taxonomy default labels
-------------------------------+-----------------------------
Reporter: Chouby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version: 3.0
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
-------------------------------+-----------------------------
Comment (by Chouby):
Yes you are right. It breaks translations. So we can't do that before the
default textdomain is loaded. In the second patch, I propose to wait for
the 'init' action. The benefit would not be so high for a default
WordPress install, but could still be interesting for an install with lot
of custom post types and taxonomies (provided that they are registered in
an init action as recommended).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26746#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list