[wp-trac] Re: [WordPress Trac] #4563: actions `admin_print_scripts-*' and `admin_head-*' useless

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 30 20:15:49 GMT 2007


#4563: actions `admin_print_scripts-*' and `admin_head-*' useless
-------------------------------------+--------------------------------------
 Reporter:  reedom                   |        Owner:  westi       
     Type:  defect                   |       Status:  assigned    
 Priority:  normal                   |    Milestone:  2.4 (future)
Component:  Administration           |      Version:  2.2.1       
 Severity:  normal                   |   Resolution:              
 Keywords:  hooks reporter-feedback  |  
-------------------------------------+--------------------------------------
Comment (by m0n5t3r):

 this can be worked around by constructing the action name like this:
 {{{
 sanitize_title(__("Options")) . "_page_$myname";
 }}}

 maybe {{{ $admin_page_hooks }}} should be built before calling
 load_default_textdomain?

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


More information about the wp-trac mailing list