WordPress.org

Make WordPress Core

Changeset 14743


Ignore:
Timestamp:
05/19/10 13:07:26 (4 years ago)
Author:
dd32
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r14742 r14743  
    437437 
    438438//Searching. 
    439 if ( isset($_GET['s']) ) { 
     439if ( !empty($_GET['s']) ) { 
    440440    function _search_plugins_filter_callback($plugin) { 
    441441        static $term; 
Note: See TracChangeset for help on using the changeset viewer.