diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php
index 921ae4454a..0b4934de24 100644
--- a/wp-admin/press-this.php
+++ b/wp-admin/press-this.php
@@ -20,9 +20,6 @@ function press_it() {
$quick['post_title'] = $_REQUEST['post_title'];
$quick['post_content'] = '';
- $posted = str_replace('
', "\n", str_replace('
', '', $_REQUEST['content'])); - $posted = str_replace('
', "\n\n", $posted); - // insert the post with nothing in it, to get an ID $post_ID = wp_insert_post($quick, true); @@ -30,18 +27,18 @@ function press_it() { switch ( $_REQUEST['post_type'] ) { case 'text': case 'quote': - $content .= $posted; + $content .= $_REQUEST['content']; break; case 'photo': - $content = $posted; + $content = $_REQUEST['content']; foreach( (array) $_REQUEST['photo_src'] as $key => $image) { // escape quote for matching $quoted = preg_quote2($image); // see if files exist in content - we don't want to upload non-used selected files. - if( strpos($posted, $quoted) !== false ) { + if( strpos($_REQUEST['content'], $quoted) !== false ) { $upload = media_sideload_image($image, $post_ID, $_REQUEST['photo_description'][$key]); // Replace the POSTED content