[wp-trac] [WordPress Trac] #35686: Fix global tag for admin bar functions

WordPress Trac noreply at wordpress.org
Mon Feb 1 07:03:10 UTC 2016


#35686: Fix global tag for admin bar functions
----------------------------+-----------------------------
 Reporter:  Frozzare        |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  docs            |
----------------------------+-----------------------------
 Both `show_admin_bar` and `is_admin_bar_showing` has wrong global variable
 name for `WP_Admin_Bar`. It should be `$show_admin_bar` instead of
 `$wp_admin_bar` since the code use `$show_admin_bar`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35686>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list