diff --git a/wp-admin/import.php b/wp-admin/import.php index eacc596755..71f3c47dba 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -83,11 +83,10 @@ foreach ( $popular_importers as $pop_importer => $pop_data ) { $importers[$pop_importer] = $popular_importers[$pop_importer]; } -uasort($importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);')); - if (empty ($importers)) { echo '

'.__('No importers are available.').'

'; // TODO: make more helpful } else { + uasort($importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);')); ?> @@ -140,4 +139,3 @@ if ( current_user_can('install_plugins') ) include ('admin-footer.php'); ?> -