From e6cfd0dd6ba37645055d42121a0027b7fa0b13cb Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@10993 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 2e2f5efdc..1d16e979d 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;