case insensitive sorting. props Nazgul. fixes #3108

git-svn-id: https://develop.svn.wordpress.org/trunk@4289 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2006-10-04 03:49:56 +00:00
parent 7704ddd684
commit bc7cd93309
4 changed files with 5 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ foreach ( $menu as $id => $data ) {
unset($id);
ksort($menu); // make it all pretty
uksort($menu, "strnatcasecmp"); // make it all pretty
if (! user_can_access_admin_page()) {
wp_die( __('You do not have sufficient permissions to access this page.') );