diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php index e6e15d8c88..29c09f9b09 100644 --- a/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -204,9 +204,6 @@ class WP_MS_Themes_List_Table extends WP_List_Table { case 'upgrade': $text = _n( 'Update Available (%s)', 'Update Available (%s)', $count ); break; - case 'search': - $text = _n( 'Search Results (%s)', 'Search Results (%s)', $count ); - break; } if ( $this->is_site_themes ) @@ -214,11 +211,13 @@ class WP_MS_Themes_List_Table extends WP_List_Table { else $url = 'themes.php'; - $status_links[$type] = sprintf( "%s", - add_query_arg('theme_status', $type, $url), - ( $type == $status ) ? ' class="current"' : '', - sprintf( $text, number_format_i18n( $count ) ) - ); + if ( 'search' != $type ) { + $status_links[$type] = sprintf( "%s", + add_query_arg('theme_status', $type, $url), + ( $type == $status ) ? ' class="current"' : '', + sprintf( $text, number_format_i18n( $count ) ) + ); + } } return $status_links; diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index b50bc7c9fa..a798e27065 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -91,7 +91,10 @@ require_once(ABSPATH . 'wp-admin/admin-header.php');