Make WordPress Core


Ignore:
Timestamp:
11/20/2010 05:48:35 AM (15 years ago)
Author:
ryan
Message:

Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens

File:
1 edited

Legend:

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

    r16329 r16501  
    368368
    369369    case 'allusers':
    370         if ( current_user_can( 'manage_network_users' ) )
     370        if ( !current_user_can( 'manage_network_users' ) )
    371371            wp_die( __( 'You do not have permission to access this page.' ) );
    372372
Note: See TracChangeset for help on using the changeset viewer.