WordPress.org

Make WordPress Core

Changeset 13570


Ignore:
Timestamp:
03/03/10 07:34:20 (4 years ago)
Author:
nacin
Message:

Fix logic inversion in [13568]. props dd32. see #12381

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r13568 r13570  
    6363 
    6464// Only allow super admins on multisite to edit every user. 
    65 if ( is_multisite() && ! is_super_admin() && $user_id != $current_user->ID && apply_filters( 'enable_edit_any_user_configuration', true ) ) 
     65if ( is_multisite() && ! is_super_admin() && $user_id != $current_user->ID && ! apply_filters( 'enable_edit_any_user_configuration', true ) ) 
    6666    wp_die( __( 'You do not have permission to edit this user.' ) ); 
    6767 
Note: See TracChangeset for help on using the changeset viewer.