[wp-trac] [WordPress Trac] #15592: Admin Bar Problem

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 30 19:15:23 UTC 2010


#15592: Admin Bar Problem
----------------------------+-----------------------------------------------
 Reporter:  louyx           |       Owner:  ocean90  
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  3.1      
Component:  Administration  |     Version:  3.1      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------

Comment(by ryan):

 I think registering a default callback that can be changed by the theme
 will work, much like we do with _custom_background_cb().

 By default, register _admin_bar_bump_cb()  against wp_head.  The theme can
 call add_theme_support('admin-bar', 'custom_callback) which will replace
 the default callback with a custom callback.

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


More information about the wp-trac mailing list