sort plugins by plugin name, for real. fixes #2412
git-svn-id: https://develop.svn.wordpress.org/trunk@4322 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c09becab36
commit
5db07cc81f
|
@ -94,7 +94,7 @@ if (empty($plugins)) {
|
||||||
return strnatcasecmp($plug1['Name'], $plug2['Name']);
|
return strnatcasecmp($plug1['Name'], $plug2['Name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
uksort($plugins, 'sort_plugins');
|
uasort($plugins, 'sort_plugins');
|
||||||
|
|
||||||
foreach($plugins as $plugin_file => $plugin_data) {
|
foreach($plugins as $plugin_file => $plugin_data) {
|
||||||
$style = ('class="alternate"' == $style|| 'class="alternate active"' == $style) ? '' : 'alternate';
|
$style = ('class="alternate"' == $style|| 'class="alternate active"' == $style) ? '' : 'alternate';
|
||||||
|
|
Loading…
Reference in New Issue