[wp-trac] [WordPress Trac] #20101: Can't use 'show_admin_bar' filter with conditional tags

WordPress Trac noreply at wordpress.org
Thu Feb 28 16:56:37 UTC 2013


#20101: Can't use 'show_admin_bar' filter with conditional tags
-------------------------------------------------+-------------------------
 Reporter:  scribu                               |       Owner:  nacin
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  3.6
Component:  Toolbar                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing 3.6-early    |
  commit                                         |
-------------------------------------------------+-------------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23512"]:
 {{{
 #!CommitTicketReference repository="" revision="23512"
 Move admin bar initialization from init to template_redirect, so
 conditional tags may be used in the show_admin_bar filter. props scribu.
 fixes #20101.
 }}}

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


More information about the wp-trac mailing list