Changeset 56600 for trunk/src/wp-admin/import.php
- Timestamp:
- 09/17/2023 03:31:32 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/import.php
r55412 r56600 61 61 <div class="wrap"> 62 62 <h1><?php echo esc_html( $title ); ?></h1> 63 <?php if ( ! empty( $_GET['invalid'] ) ) : ?> 64 <div class="error"> 65 <p><strong><?php _e( 'Error:' ); ?></strong> 66 <?php 67 /* translators: %s: Importer slug. */ 68 printf( __( 'The %s importer is invalid or is not installed.' ), '<strong>' . esc_html( $_GET['invalid'] ) . '</strong>' ); 69 ?> 70 </p> 71 </div> 72 <?php endif; ?> 63 <?php 64 if ( ! empty( $_GET['invalid'] ) ) : 65 $importer_not_installed = '<strong>' . __( 'Error:' ) . '</strong> ' . sprintf( 66 /* translators: %s: Importer slug. */ 67 __( 'The %s importer is invalid or is not installed.' ), 68 '<strong>' . esc_html( $_GET['invalid'] ) . '</strong>' 69 ); 70 wp_admin_notice( 71 $importer_not_installed, 72 array( 73 'additional_classes' => array( 'error' ), 74 ) 75 ); 76 endif; 77 ?> 73 78 <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> 74 79
Note: See TracChangeset
for help on using the changeset viewer.