mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 14:35:07 +00:00
Minor cleanups. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
288f0bc195
commit
0e77a0b5e4
@ -20,8 +20,6 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
if ( $status != $default_status && 'search' != $status )
|
||||
update_user_meta( get_current_user_id(), 'plugins_last_view', $status );
|
||||
|
||||
$page = $this->get_pagenum();
|
||||
|
||||
parent::WP_List_Table( array(
|
||||
'plural' => 'plugins',
|
||||
) );
|
||||
|
@ -2073,8 +2073,8 @@ function set_current_screen( $id = '' ) {
|
||||
$current_screen->taxonomy = $taxnow;
|
||||
}
|
||||
|
||||
$current_screen->is_network = is_network_admin() ? true : false;
|
||||
$current_screen->is_user = is_user_admin() ? true : false;
|
||||
$current_screen->is_network = is_network_admin();
|
||||
$current_screen->is_user = is_user_admin();
|
||||
|
||||
if ( $current_screen->is_network ) {
|
||||
$current_screen->base .= '-network';
|
||||
|
Loading…
x
Reference in New Issue
Block a user