WordPress.org

Make WordPress Core

Changeset 28296


Ignore:
Timestamp:
05/06/2014 03:32:16 PM (7 years ago)
Author:
wonderboymusic
Message:

In WP_Users_List_Table::get_views(), $current_role is set and never used.

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-users-list-table.php

    r27355 r28296  
    148148        unset($users_of_blog);
    149149
    150         $current_role = false;
    151150        $class = empty($role) ? ' class="current"' : '';
    152151        $role_links = array();
     
    159158
    160159            if ( $this_role == $role ) {
    161                 $current_role = $role;
    162160                $class = ' class="current"';
    163161            }
Note: See TracChangeset for help on using the changeset viewer.