Sort active plugins before inactive plugins in all plugins list
git-svn-id: https://develop.svn.wordpress.org/trunk@11307 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5df6a6ad9d
commit
0898e4b2e4
@ -264,6 +264,9 @@ $total_active_plugins = count($active_plugins);
|
||||
$total_recent_plugins = count($recent_plugins);
|
||||
$total_upgrade_plugins = count($upgrade_plugins);
|
||||
|
||||
// Sort active before inactive for all plugins list
|
||||
$all_plugins = array_merge($active_plugins, $inactive_plugins);
|
||||
|
||||
//Searching.
|
||||
if ( isset($_GET['s']) ) {
|
||||
function _search_plugins_filter_callback($plugin) {
|
||||
|
Loading…
Reference in New Issue
Block a user