Make WordPress Core


Ignore:
Timestamp:
10/20/2010 01:23:39 PM (14 years ago)
Author:
ryan
Message:

show_admin_bar(). see #14772

File:
1 edited

Legend:

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

    r15862 r15863  
    1212    global $current_user, $pagenow, $wp_admin_bar;
    1313
    14     if ( defined('WP_SHOW_ADMIN_BAR') )
    15         $show_it = (bool) WP_SHOW_ADMIN_BAR;
    16     else
    17         $show_it = true;
    18 
    19     if ( ! apply_filters( 'show_admin_bar', $show_it ) )
     14    if ( ! show_admin_bar() )
    2015        return false;
    2116
Note: See TracChangeset for help on using the changeset viewer.