WordPress.org

Make WordPress Core

Changeset 18686


Ignore:
Timestamp:
09/16/11 10:46:12 (3 years ago)
Author:
westi
Message:

Don't show this menu for users who are not logged in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r18685 r18686  
    101101 */ 
    102102function wp_admin_bar_blog_front_menu( $wp_admin_bar ) { 
     103    if ( ! is_user_logged_in() ) 
     104        return; 
     105 
    103106    $blogname = get_bloginfo('name'); 
    104107 
Note: See TracChangeset for help on using the changeset viewer.