[wp-trac] [WordPress Trac] #29630: Translatable slug in registe_post_type and register_taxonomy

WordPress Trac noreply at wordpress.org
Thu Sep 11 21:19:30 UTC 2014


#29630: Translatable slug in registe_post_type and register_taxonomy
-------------------------------+----------------------
 Reporter:  gugaalves          |       Owner:
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.0
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 This works. You just have to make sure you're calling register_post_type()
 after translations are loaded. Since in this case you need to call it
 after WP_Rewrite is initialized, then you should be good.

 For WordCamp sites, you can submit a ticket to
 https://meta.trac.wordpress.org/ if you'd like it supported there.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29630#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list