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/user-new.php

    r34218 r34265  
    3030}
    3131
    32 if ( wp_validate_action( 'adduser' ) ) {
     32if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) {
    3333    check_admin_referer( 'add-user', '_wpnonce_add-user' );
    3434
     
    102102    wp_redirect( $redirect );
    103103    die();
    104 } elseif ( wp_validate_action( 'createuser' ) ) {
     104} elseif ( isset($_REQUEST['action']) && 'createuser' == $_REQUEST['action'] ) {
    105105    check_admin_referer( 'create-user', '_wpnonce_create-user' );
    106106
Note: See TracChangeset for help on using the changeset viewer.