@@ -161,7 +161,7 @@ function get_views() {
161161
162162 $ status_links [$ status_name ] = "<li><a href='edit.php?post_status= $ status_name&post_type= $ post_type' $ class> " . sprintf ( _n ( $ status ->label_count [0 ], $ status ->label_count [1 ], $ num_posts ->$ status_name ), number_format_i18n ( $ num_posts ->$ status_name ) ) . '</a> ' ;
163163 }
164-
164+
165165 return $ status_links ;
166166 }
167167
@@ -998,7 +998,7 @@ function WP_Media_Table() {
998998 function check_permissions () {
999999 if ( !current_user_can ('upload_files ' ) )
10001000 wp_die ( __ ( 'You do not have permission to upload files. ' ) );
1001- }
1001+ }
10021002
10031003 function prepare_items () {
10041004 global $ lost , $ wpdb , $ wp_query , $ post_mime_types , $ avail_post_mime_types ;
@@ -1488,10 +1488,10 @@ function prepare_items() {
14881488 $ args ['order ' ] = trim ( stripslashes ( $ _REQUEST ['order ' ] ) );
14891489
14901490 $ this ->callback_args = $ args ;
1491-
1491+
14921492 $ this ->set_pagination_args ( array (
14931493 'total_items ' => wp_count_terms ( $ taxonomy , compact ( 'search ' ) ),
1494- 'per_page ' => $ tags_per_page ,
1494+ 'per_page ' => $ tags_per_page ,
14951495 ) );
14961496 }
14971497
@@ -1820,10 +1820,10 @@ function prepare_items() {
18201820 $ wp_user_search = new WP_User_Query ( $ args );
18211821
18221822 $ this ->items = $ wp_user_search ->get_results ();
1823-
1823+
18241824 $ this ->set_pagination_args ( array (
18251825 'total_items ' => $ wp_user_search ->get_total (),
1826- 'per_page ' => $ users_per_page ,
1826+ 'per_page ' => $ users_per_page ,
18271827 ) );
18281828 }
18291829
@@ -2566,7 +2566,7 @@ function prepare_items() {
25662566 $ args ['order ' ] = $ order ;
25672567
25682568 $ this ->items = get_bookmarks ( $ args );
2569- }
2569+ }
25702570
25712571 function no_items () {
25722572 _e ( 'No links found. ' );
@@ -2727,7 +2727,7 @@ function WP_Sites_Table() {
27272727 ) );
27282728 }
27292729
2730- function check_permissions () {
2730+ function check_permissions () {
27312731 if ( ! current_user_can ( 'manage_sites ' ) )
27322732 wp_die ( __ ( 'You do not have permission to access this page. ' ) );
27332733 }
@@ -3048,10 +3048,10 @@ function prepare_items() {
30483048 $ wp_user_search = new WP_User_Query ( $ args );
30493049
30503050 $ this ->items = $ wp_user_search ->get_results ();
3051-
3051+
30523052 $ this ->set_pagination_args ( array (
30533053 'total_items ' => $ wp_user_search ->get_total (),
3054- 'per_page ' => $ users_per_page ,
3054+ 'per_page ' => $ users_per_page ,
30553055 ) );
30563056 }
30573057
@@ -3371,7 +3371,7 @@ function _order_plugins_callback( $plugin_a, $plugin_b ) {
33713371 }
33723372 uasort ( $ this ->items , '_order_plugins_callback ' );
33733373 }
3374-
3374+
33753375 $ plugins_per_page = $ this ->get_items_per_page ( 'plugins_per_page ' , 999 );
33763376
33773377 $ start = ( $ page - 1 ) * $ plugins_per_page ;
@@ -3644,7 +3644,7 @@ function WP_Plugin_Install_Table() {
36443644
36453645 function check_permissions () {
36463646 if ( ! current_user_can ('install_plugins ' ) )
3647- wp_die (__ ('You do not have sufficient permissions to install plugins on this site. ' ));
3647+ wp_die (__ ('You do not have sufficient permissions to install plugins on this site. ' ));
36483648 }
36493649
36503650 function prepare_items () {
@@ -4085,8 +4085,8 @@ function check_permissions() {
40854085 function prepare_items () {
40864086 include ( ABSPATH . 'wp-admin/includes/theme-install.php ' );
40874087
4088- global $ tabs , $ tab , $ paged , $ type , $ term , $ theme_field_defaults ;
4089-
4088+ global $ tabs , $ tab , $ paged , $ type , $ term , $ theme_field_defaults ;
4089+
40904090 wp_reset_vars ( array ( 'tab ' ) );
40914091
40924092 $ paged = $ this ->get_pagenum ();
0 commit comments