Sort the importers by name, instead of filename. Easier to find stuff, no?

git-svn-id: http://svn.automattic.com/wordpress/trunk@5206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-07 15:53:19 +00:00
parent 192d5a3e33
commit 8373a8074f
1 changed files with 1 additions and 1 deletions

View File

@ -1870,7 +1870,7 @@ function register_importer( $id, $name, $description, $callback ) {
function get_importers() { function get_importers() {
global $wp_importers; global $wp_importers;
usort($wp_importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);'));
return $wp_importers; return $wp_importers;
} }