sort plugins by plugin name, for real. fixes #2412
git-svn-id: http://svn.automattic.com/wordpress/trunk@4322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9a114c40e2
commit
3316a65f8e
|
@ -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