]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/import.php
WordPress 4.5
[autoinstalls/wordpress.git] / wp-admin / import.php
index e7dce2df137bd9ce12f99a85594eb71509a21905..a1ce80e2b341838ee95f2659eff52e3456203db6 100644 (file)
@@ -54,7 +54,12 @@ $parent_file = 'tools.php';
 <div class="wrap">
 <h1><?php echo esc_html( $title ); ?></h1>
 <?php if ( ! empty( $_GET['invalid'] ) ) : ?>
-       <div class="error"><p><strong><?php _e('ERROR:')?></strong> <?php printf( __('The <strong>%s</strong> importer is invalid or is not installed.'), esc_html( $_GET['invalid'] ) ); ?></p></div>
+       <div class="error">
+               <p><strong><?php _e( 'ERROR:' ); ?></strong> <?php
+                       /* translators: %s: importer slug */
+                       printf( __( 'The %s importer is invalid or is not installed.' ), '<strong>' . esc_html( $_GET['invalid'] ) . '</strong>' );
+               ?></p>
+       </div>
 <?php endif; ?>
 <p><?php _e('If you have posts or comments in another system, WordPress can import those into this site. To get started, choose a system to import from below:'); ?></p>
 
@@ -96,7 +101,7 @@ if ( empty( $importers ) ) {
                        if ( empty($action) ) {
                                if ( is_main_site() ) {
                                        $action = '<a href="' . esc_url( network_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin_slug .
-                                                                               '&from=import&TB_iframe=true&width=600&height=550' ) ) . '" class="thickbox" title="' .
+                                                                               '&from=import&TB_iframe=true&width=600&height=550' ) ) . '" class="thickbox open-plugin-details-modal" title="' .
                                                                                esc_attr__('Install importer') . '">' . $data[0] . '</a>';
                                } else {
                                        $action = $data[0];