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

WordPress Trac noreply at wordpress.org
Thu Mar 14 10:56:41 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    |
-------------------------+------------------------------
Changes (by SergeyBiryukov):

 * type:  defect (bug) => enhancement


Comment:

 > "This is kind of lame, but is all we have for now. "

 For reference, this was added in [BB4350].

 The newer comment (in [BB4773]) says: "...hook in immediately after
 everything is included (including the theme's functions.php)".
 `after_setup_theme` seems to be the correct action for that, since the
 proposed `after_load_locale` hook would run before the theme's
 `functions.php` is included.

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


More information about the wp-trac mailing list