From 540fbabdb0969d792a9d80ec83093000a92f29b1 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 17 Apr 2009 21:31:57 +0000 Subject: [PATCH] Case-insensitive sorting of themes in themes.php. Props demetris. fixes #9570 git-svn-id: https://develop.svn.wordpress.org/trunk@10993 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/themes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 2e2f5efdc0..1d16e979dd 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -46,7 +46,7 @@ require_once('admin-header.php'); $themes = get_themes(); $ct = current_theme_info(); -ksort( $themes ); +uksort( $themes, "strnatcasecmp" ); $theme_total = count( $themes ); $per_page = 15;