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:
Mark Jaquith 2006-10-04 08:56:44 +00:00
parent c09becab36
commit 5db07cc81f
1 changed files with 1 additions and 1 deletions

View File

@ -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';