Make WordPress Core


Ignore:
Timestamp:
05/19/2010 01:04:24 PM (14 years ago)
Author:
dd32
Message:

Allow for an empty search result set on the Installed Plugin searching, ie. when a non-existent term is searched. Fixes #13451

File:
1 edited

Legend:

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

    r14313 r14742  
    458458
    459459$plugin_array_name = "${status}_plugins";
    460 if ( empty($$plugin_array_name) && $status != 'all' ) {
     460if ( empty($$plugin_array_name) && !in_array($status, array('all', 'search')) ) {
    461461    $status = 'all';
    462462    $plugin_array_name = "${status}_plugins";
Note: See TracChangeset for help on using the changeset viewer.