From 575e60e96cfdc3c194609c3726637cc1ac458bff Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 16 Oct 2017 18:14:48 +0000 Subject: [PATCH] Administration: Improve consistency of the "not found" strings. Partially reverts [41608] restoring the original strings without the word `query`. See #37430. Fixes #42231. Built from https://develop.svn.wordpress.org/trunk@41878 git-svn-id: http://core.svn.wordpress.org/trunk@41712 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-plugin-install-list-table.php | 2 +- wp-admin/theme-install.php | 4 ++-- wp-admin/themes.php | 4 ++-- wp-includes/script-loader.php | 2 +- wp-includes/version.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 6fecd0ae2f..a1b4c9213b 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -270,7 +270,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { if ( isset( $this->error ) ) { echo '

' . $this->error->get_error_message() . '

'; } else { - echo '
' . __( 'No plugins found. Try a different search query.' ) . '
'; + echo '
' . __( 'No plugins found. Try a different search.' ) . '
'; } } diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index aea7e4489a..e4894cc3ec 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -60,7 +60,7 @@ wp_localize_script( 'theme', '_wpThemeSettings', array( ), 'tryAgain' => __( 'Try Again' ), 'themesFound' => __( 'Number of Themes found: %d' ), - 'noThemesFound' => __( 'No themes found. Try a different search query.' ), + 'noThemesFound' => __( 'No themes found. Try a different search.' ), 'collapseSidebar' => __( 'Collapse Sidebar' ), 'expandSidebar' => __( 'Expand Sidebar' ), /* translators: accessibility text */ @@ -228,7 +228,7 @@ include(ABSPATH . 'wp-admin/admin-header.php');
-

+

__( 'Search Installed Themes' ), 'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis) 'themesFound' => __( 'Number of Themes found: %d' ), - 'noThemesFound' => __( 'No themes found. Try a different search query.' ), + 'noThemesFound' => __( 'No themes found. Try a different search.' ), ), ) ); @@ -308,7 +308,7 @@ foreach ( $themes as $theme ) : -

+

__( 'Connection lost or the server is busy. Please try again later.' ), 'nonceError' => __( 'An error has occurred. Please reload the page and try again.' ), 'pluginsFound' => __( 'Number of plugins found: %d' ), - 'noPluginsFound' => __( 'No plugins found. Try a different search query.' ), + 'noPluginsFound' => __( 'No plugins found. Try a different search.' ), ), ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4fb91e3099..adb3e7d2f9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta2-41877'; +$wp_version = '4.9-beta2-41878'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.