mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Do not perform a plugin search for an empty string on the Installed plugins screen. Clicking "Search Plugins" without a term would result in "No plugins to show". See #13451
git-svn-id: https://develop.svn.wordpress.org/trunk@14743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3c5ac11419
commit
794017b16b
@ -436,7 +436,7 @@ $total_mustuse_plugins = count($mustuse_plugins);
|
||||
$total_dropins_plugins = count($dropins_plugins);
|
||||
|
||||
//Searching.
|
||||
if ( isset($_GET['s']) ) {
|
||||
if ( !empty($_GET['s']) ) {
|
||||
function _search_plugins_filter_callback($plugin) {
|
||||
static $term;
|
||||
if ( is_null($term) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user