diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index 5331b647fd..46d0c67b13 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -319,7 +319,7 @@ class WP_Import { $catarr = compact('category_nicename', 'category_parent', 'posts_private', 'links_private', 'posts_private', 'cat_name', 'category_description'); - print "" . __( "Importing category $cat_name" ) . "
\n"; + print '' . sprintf( __( 'Importing category %s…' ), esc_html($cat_name) ) . '
' . "\n"; $cat_ID = wp_insert_category($catarr); } } @@ -341,7 +341,7 @@ class WP_Import { $tagarr = compact('slug', 'description'); - print "" . __( "Importing tag $tag_name" ) . "
\n"; + print '' . sprintf( __( 'Importing tag %s…' ), esc_html($tag_name) ) . '
' . "\n"; $tag_ID = wp_insert_term($tag_name, 'post_tag', $tagarr); } } @@ -379,7 +379,7 @@ class WP_Import { $termarr = compact('slug', 'description'); - print "" . __( "Importing $term_name" ) . "
\n"; + print '' . sprintf( __( 'Importing %s…' ), esc_html($term_name) ) . '
' . "\n"; $term_ID = wp_insert_term($term_name, $this->get_tag( $c, 'wp:term_taxonomy' ), $termarr); } }