[wp-hackers] any way to disable admin bar in 3.3?

Kevinjohn Gallagher kevinjohngallagher at hotmail.com
Mon Dec 12 11:04:41 UTC 2011


So did we build in an feature with an option to disable it, only to disable 
the disable option in the very next release?


-----Original Message----- 
From: Dion Hulse (dd32)
Sent: Monday, December 12, 2011 10:21 AM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] any way to disable admin bar in 3.3?

On 12 December 2011 21:16, fris <fris at fris.net> wrote:
> Pre 3.3 im using add_filter( 'show_admin_bar', '__return_false' );
>
> Anyway to do this in 3.3 to get rid of the admin bar, I noticed its 
> removed
> from the user profile options page.
>
> Thanks.

It's an integral part of the Header for the admin in 3.3, as such, all
methods to disable it have been, well, disabled.

You'll notice that the Links to the front end, and the account-links
(including logout) are now part of the Toolbar's menu's. Note, that I
called it the Toolbar, as that's what it is in the admin now.

For reference, here's some wpdevel posts related to it:
Admin Bar API changes:
http://wpdevel.wordpress.com/2011/12/07/admin-bar-api-changes-in-3-3/
and One Header to rule them all:
http://wpdevel.wordpress.com/2011/10/05/3-3-pre-beta-user-feedback-aka-testing-results/
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers 



More information about the wp-hackers mailing list