diff -r 346c88efed21 -r 5e2f62d02dcd wp/wp-admin/import.php --- a/wp/wp-admin/import.php Mon Jun 08 16:11:51 2015 +0000 +++ b/wp/wp-admin/import.php Tue Jun 09 03:35:32 2015 +0200 @@ -25,8 +25,8 @@ get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . - '

' . __('Documentation on Import') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Import') . '

' . + '

' . __('Support Forums') . '

' ); if ( current_user_can( 'install_plugins' ) ) @@ -52,7 +52,6 @@ ?>
-

%s importer is invalid or is not installed.'), esc_html( $_GET['invalid'] ) ); ?>

@@ -75,12 +74,11 @@ if ( empty( $importers ) ) { echo '

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

'; // TODO: make more helpful } else { - uasort($importers, create_function('$a, $b', 'return strnatcasecmp($a[0], $b[0]);')); + uasort( $importers, '_usort_by_first_member' ); ?> - +
$data) { $action = ''; if ( isset( $data['install'] ) ) { @@ -109,9 +107,8 @@ $action = "{$data[0]}"; } - $alt = $alt ? '' : ' class="alternate"'; echo " - + ";
$action {$data[1]}