X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/959f97d8ecd5c1668103a3e41c795486b944bc68..9c40b4d36daed9e28e48a5fe9205c32557195a4b:/wp-admin/import/rss.php
diff --git a/wp-admin/import/rss.php b/wp-admin/import/rss.php
index 60a44900..9a85df36 100644
--- a/wp-admin/import/rss.php
+++ b/wp-admin/import/rss.php
@@ -1,5 +1,20 @@
';
+ screen_icon();
echo '
'.__('Import RSS').'
';
}
@@ -87,7 +103,7 @@ class RSS_Import {
}
// Clean up content
- $post_content = preg_replace('|<(/?[A-Z]+)|e', "'<' . strtolower('$1')", $post_content);
+ $post_content = preg_replace_callback('|<(/?[A-Z]+)|', create_function('$match', 'return "<" . strtolower($match[1]);'), $post_content);
$post_content = str_replace('
', '
', $post_content);
$post_content = str_replace('
', '
', $post_content);
@@ -113,7 +129,7 @@ class RSS_Import {
if ( is_wp_error( $post_id ) )
return $post_id;
if (!$post_id) {
- _e("Couldn't get post ID");
+ _e('Couldn’t get post ID');
return;
}