[wp-trac] [WordPress Trac] #23758: Add hook after loading WordPress locale object

WordPress Trac noreply at wordpress.org
Thu Apr 4 04:58:55 UTC 2013


#23758: Add hook after loading WordPress locale object
-------------------------+------------------------------
 Reporter:  alex-ye      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  I18N         |     Version:  3.5.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by nacin):

 Roles should be added on init. Also, in general, the rule of thumb is that
 if you need translations, then wait for init. (Themes can jump the gun at
 after_setup_theme as well, but init is a more obvious and generic hook.)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23758#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list