Ticket #54973: 54973.1.patch
File 54973.1.patch, 550 bytes (added by , 3 years ago) |
---|
-
src/class-wp-import.php
diff --git a/src/class-wp-import.php b/src/class-wp-import.php index 6d994aa..9875f93 100644
a b class WP_Import extends WP_Importer { 430 430 } 431 431 } else { 432 432 printf( __( 'Failed to import category %s', 'wordpress-importer' ), esc_html( $cat['category_nicename'] ) ); 433 if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {433 if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG && is_wp_error( $id ) ) { 434 434 echo ': ' . $id->get_error_message(); 435 435 } 436 436 echo '<br />';