WordPress.org

Make WordPress Core

Ticket #15168: 15168.diff

File 15168.diff, 591 bytes (added by duck_, 4 years ago)
  • wp-admin/network/edit.php

     
    555555                        wp_die( __( 'You do not have permission to access this page.' ) ); 
    556556 
    557557                if ( isset( $_POST['doaction']) || isset($_POST['doaction2'] ) ) { 
    558                         check_admin_referer( 'bulk-ms-users' ); 
     558                        check_admin_referer( 'bulk-users-network' ); 
    559559 
    560560                        if ( $_GET['action'] != -1 || $_POST['action2'] != -1 ) 
    561561                                $doaction = $_POST['action'] != -1 ? $_POST['action'] : $_POST['action2'];