mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Don't show this menu for users who are not logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@18686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -100,6 +100,9 @@ function wp_admin_bar_my_account_menu( $wp_admin_bar ) {
|
||||
* @since 3.3.0
|
||||
*/
|
||||
function wp_admin_bar_blog_front_menu( $wp_admin_bar ) {
|
||||
if ( ! is_user_logged_in() )
|
||||
return;
|
||||
|
||||
$blogname = get_bloginfo('name');
|
||||
|
||||
if ( empty( $blogname ) )
|
||||
|
||||
Reference in New Issue
Block a user