Make WordPress Core


Ignore:
Timestamp:
09/05/2010 07:01:38 PM (14 years ago)
Author:
scribu
Message:

Fix Change Role dropdown. See #14579

File:
1 edited

Legend:

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

    r15575 r15576  
    3434    $doaction = $_REQUEST['action'] ? $_REQUEST['action'] : $_REQUEST['action2'];
    3535
    36 if ( empty($doaction) ) {
    37     if ( isset($_GET['changeit']) && !empty($_GET['new_role']) )
     36if ( "-1" == $doaction ) {
     37    if ( isset($_REQUEST['changeit']) && !empty($_REQUEST['new_role']) )
    3838        $doaction = 'promote';
    3939}
Note: See TracChangeset for help on using the changeset viewer.