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
This commit is contained in:
parent
4956e5d453
commit
e6cfd0dd6b
|
@ -46,7 +46,7 @@ require_once('admin-header.php');
|
||||||
$themes = get_themes();
|
$themes = get_themes();
|
||||||
$ct = current_theme_info();
|
$ct = current_theme_info();
|
||||||
|
|
||||||
ksort( $themes );
|
uksort( $themes, "strnatcasecmp" );
|
||||||
$theme_total = count( $themes );
|
$theme_total = count( $themes );
|
||||||
$per_page = 15;
|
$per_page = 15;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue