Make WordPress Core

Changeset 16190


Ignore:
Timestamp:
11/04/2010 06:28:58 PM (14 years ago)
Author:
scribu
Message:

Minor cleanups. See #14579

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

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

    r16182 r16190  
    2020        if ( $status != $default_status && 'search' != $status )
    2121            update_user_meta( get_current_user_id(), 'plugins_last_view', $status );
    22 
    23         $page = $this->get_pagenum();
    2422
    2523        parent::WP_List_Table( array(
  • trunk/wp-admin/includes/template.php

    r16175 r16190  
    20742074    }
    20752075
    2076     $current_screen->is_network = is_network_admin() ? true : false;
    2077     $current_screen->is_user = is_user_admin() ? true : false;
     2076    $current_screen->is_network = is_network_admin();
     2077    $current_screen->is_user = is_user_admin();
    20782078
    20792079    if ( $current_screen->is_network ) {
Note: See TracChangeset for help on using the changeset viewer.