X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/85ad385665744d9cc3bcd939906309be7268edb3..e0feb3b2e5b436a06bbb04fbc838d1cd6ec95399:/wp-admin/import.php diff --git a/wp-admin/import.php b/wp-admin/import.php index e85bf701..e7dce2df 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -25,8 +25,8 @@ get_current_screen()->add_help_tab( array( 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,7 @@ $parent_file = 'tools.php'; ?>
-

+

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

@@ -74,12 +74,11 @@ foreach ( $popular_importers as $pop_importer => $pop_data ) { 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'] ) ) { @@ -108,9 +107,8 @@ if ( empty( $importers ) ) { $action = "{$data[0]}"; } - $alt = $alt ? '' : ' class="alternate"'; echo " - + ";
$action {$data[1]}