WordPress.org

Make WordPress Core

Changeset 19265


Ignore:
Timestamp:
11/12/11 20:52:56 (2 years ago)
Author:
duck_
Message:

Default arguments for is_user_member_of_blog() can now be used. See #19122, #19160.

File:
1 edited

Legend:

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

    r19235 r19265  
    209209 
    210210    // Show only when the user is a member of this site, or they're a super admin. 
    211     if ( ! is_user_member_of_blog( get_current_user_id(), get_current_blog_id() ) && ! is_super_admin() ) 
     211    if ( ! is_user_member_of_blog() && ! is_super_admin() ) 
    212212        return; 
    213213 
Note: See TracChangeset for help on using the changeset viewer.