[wp-trac] [WordPress Trac] #28569: Calling show_admin_bar( false ) should dehook toolbar entirely

WordPress Trac noreply at wordpress.org
Sat Sep 25 10:04:12 UTC 2021


#28569: Calling show_admin_bar( false ) should dehook toolbar entirely
-------------------------------------+-----------------------------
 Reporter:  danielbachhuber          |       Owner:  davidbaumwald
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  Future Release
Component:  Toolbar                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by audrasjb):

 * Attachment "28569.1.diff" added.

 Toolbar: unhook the admin bar when a falsey value is used on
 show_admin_bar()

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


More information about the wp-trac mailing list