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:
parent
192d5a3e33
commit
8373a8074f
|
@ -1870,7 +1870,7 @@ function register_importer( $id, $name, $description, $callback ) {
|
|||
|
||||
function get_importers() {
|
||||
global $wp_importers;
|
||||
|
||||
usort($wp_importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);'));
|
||||
return $wp_importers;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue