WordPress.org

Make WordPress Core

Changeset 36572


Ignore:
Timestamp:
02/18/2016 04:50:49 PM (5 years ago)
Author:
jeremyfelt
Message:

Remove extra spaces between function names and brackets

These were introduced when making list table view modes sticky.

See #16774, #34365.

Location:
trunk/src/wp-admin/includes
Files:
3 edited

Legend:

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

    r36562 r36572  
    7272        if ( ! empty( $_REQUEST['mode'] ) ) {
    7373            $mode = $_REQUEST['mode'] === 'excerpt' ? 'excerpt' : 'list';
    74             set_user_setting ( 'sites_list_mode', $mode );
     74            set_user_setting( 'sites_list_mode', $mode );
    7575        } else {
    76             $mode = get_user_setting ( 'sites_list_mode', 'list' );
     76            $mode = get_user_setting( 'sites_list_mode', 'list' );
    7777        }
    7878
  • trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php

    r36562 r36572  
    8484        if ( ! empty( $_REQUEST['mode'] ) ) {
    8585            $mode = $_REQUEST['mode'] === 'excerpt' ? 'excerpt' : 'list';
    86             set_user_setting ( 'network_users_list_mode', $mode );
     86            set_user_setting( 'network_users_list_mode', $mode );
    8787        } else {
    88             $mode = get_user_setting ( 'network_users_list_mode', 'list' );
     88            $mode = get_user_setting( 'network_users_list_mode', 'list' );
    8989        }
    9090
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r36422 r36572  
    175175        if ( ! empty( $_REQUEST['mode'] ) ) {
    176176            $mode = $_REQUEST['mode'] === 'excerpt' ? 'excerpt' : 'list';
    177             set_user_setting ( 'posts_list_mode', $mode );
     177            set_user_setting( 'posts_list_mode', $mode );
    178178        } else {
    179             $mode = get_user_setting ( 'posts_list_mode', 'list' );
     179            $mode = get_user_setting( 'posts_list_mode', 'list' );
    180180        }
    181181
Note: See TracChangeset for help on using the changeset viewer.