Make WordPress Core


Ignore:
Timestamp:
09/17/2015 12:32:20 PM (9 years ago)
Author:
helen
Message:

Superglobals: Revert [34059] until further notice.

see #33837.

File:
1 edited

Legend:

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

    r34059 r34265  
    175175require_once( ABSPATH . 'wp-admin/admin-header.php' );
    176176
    177 $action = wp_validate_action();
    178 if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty( $action ) ) {
     177if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty( $_REQUEST['action'] ) ) {
    179178    ?>
    180179    <div id="message" class="updated notice is-dismissible"><p>
    181180        <?php
    182         switch ( $action ) {
     181        switch ( $_REQUEST['action'] ) {
    183182            case 'delete':
    184183                _e( 'User deleted.' );
Note: See TracChangeset for help on using the changeset viewer.