mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
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:
@@ -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.') );
|
||||
|
||||
Reference in New Issue
Block a user