mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-03 20:09:40 +00:00
Fixed sorting -- uasort() instead of usort().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6f3c55b1de
commit
ccfa543340
@ -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]);'));
|
||||
uasort($wp_importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);'));
|
||||
return $wp_importers;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user