Make WordPress Core

Changeset 17359


Ignore:
Timestamp:
01/25/2011 02:34:41 PM (16 years ago)
Author:
westi
Message:

Fix the bulk actions on Network > Sites and Network > Users. Fixes #16364

File:
1 edited

Legend:

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

    r17287 r17359  
    186186
    187187        case 'allblogs':
    188                 if ( ( isset( $_POST['doaction'] ) || isset( $_POST['doaction2'] ) ) && isset( $_POST['allblogs'] ) ) {
     188                if ( ( isset( $_POST['action'] ) || isset( $_POST['action2'] ) ) && isset( $_POST['allblogs'] ) ) {
    189189                        check_admin_referer( 'bulk-sites' );
    190190
     
    376376                        wp_die( __( 'You do not have permission to access this page.' ) );
    377377
    378                 if ( ( isset( $_POST['doaction']) || isset($_POST['doaction2'] ) ) && isset( $_POST['allusers'] ) ) {
     378                if ( ( isset( $_POST['action']) || isset($_POST['action2'] ) ) && isset( $_POST['allusers'] ) ) {
    379379                        check_admin_referer( 'bulk-users-network' );
    380380
Note: See TracChangeset for help on using the changeset viewer.