[wp-trac] [WordPress Trac] #12166: activate_header action should be in wp_head

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 10 18:18:08 UTC 2010


#12166: activate_header action should be in wp_head
--------------------------+-------------------------------------------------
 Reporter:  freddyware    |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Multisite     |     Version:  3.0           
 Severity:  normal        |    Keywords:  has-patch     
--------------------------+-------------------------------------------------
Changes (by wpmuguru):

  * milestone:  Unassigned => Future Release


Comment:

 You can work around this in a plugin as follows:

 {{{
 function my_activate_check() {
 add_action('wp_head','my_activate_header');
 }
 function my_activate_header() {
 // your header code
 }
 add_action('activate_header','my_activate_check');
 }}}

 punting.

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


More information about the wp-trac mailing list