Remove extra spaces between function names and brackets

These were introduced when making list table view modes sticky.

See #16774, #34365.


git-svn-id: https://develop.svn.wordpress.org/trunk@36572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2016-02-18 16:50:49 +00:00
parent c3c16e7c6e
commit a16d97039b
3 changed files with 6 additions and 6 deletions

View File

@ -71,9 +71,9 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
if ( ! empty( $_REQUEST['mode'] ) ) {
$mode = $_REQUEST['mode'] === 'excerpt' ? 'excerpt' : 'list';
set_user_setting ( 'sites_list_mode', $mode );
set_user_setting( 'sites_list_mode', $mode );
} else {
$mode = get_user_setting ( 'sites_list_mode', 'list' );
$mode = get_user_setting( 'sites_list_mode', 'list' );
}
$per_page = $this->get_items_per_page( 'sites_network_per_page' );

View File

@ -83,9 +83,9 @@ class WP_MS_Users_List_Table extends WP_List_Table {
if ( ! empty( $_REQUEST['mode'] ) ) {
$mode = $_REQUEST['mode'] === 'excerpt' ? 'excerpt' : 'list';
set_user_setting ( 'network_users_list_mode', $mode );
set_user_setting( 'network_users_list_mode', $mode );
} else {
$mode = get_user_setting ( 'network_users_list_mode', 'list' );
$mode = get_user_setting( 'network_users_list_mode', 'list' );
}
/** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */

View File

@ -174,9 +174,9 @@ class WP_Posts_List_Table extends WP_List_Table {
if ( ! empty( $_REQUEST['mode'] ) ) {
$mode = $_REQUEST['mode'] === 'excerpt' ? 'excerpt' : 'list';
set_user_setting ( 'posts_list_mode', $mode );
set_user_setting( 'posts_list_mode', $mode );
} else {
$mode = get_user_setting ( 'posts_list_mode', 'list' );
$mode = get_user_setting( 'posts_list_mode', 'list' );
}
$this->is_trash = isset( $_REQUEST['post_status'] ) && $_REQUEST['post_status'] === 'trash';