[buddypress-trac] [BuddyPress] #2153: Move bp_core_override_adminbar_css() to wp_head

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Mar 8 00:33:51 UTC 2010


#2153: Move bp_core_override_adminbar_css() to wp_head
-------------------+--------------------------------------------------------
Reporter:  r-a-y   |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  minor   |   Milestone:  1.2.2
Keywords:          |  
-------------------+--------------------------------------------------------
 Right now, bp_core_override_adminbar_css() contains a [style] tag, which
 is called in wp_footer.

 Style tags shouldn't be in the [body].

 The action should be called in wp_head with a priority of 100 so the CSS
 is called near the end of wp_head.

 Modify line 182 of /bp-core/bp-core-cssjs.php to:

 {{{
 add_action( 'wp_head', 'bp_core_override_adminbar_css', 100 );
 }}}

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2153>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list