Sort the importers by name, instead of filename. Easier to find stuff, no?
git-svn-id: https://develop.svn.wordpress.org/trunk@5206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6cc6c1de4f
commit
9e69234db5
@ -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
Block a user