From 4cca01b8c330e5f519f2fea952871c3584a5a347 Mon Sep 17 00:00:00 2001 From: azaozz Date: Fri, 19 Aug 2011 17:04:16 +0000 Subject: [PATCH] Another fix for Press This, see #17144 git-svn-id: http://svn.automattic.com/wordpress/trunk@18574 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/press-this.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 0d0b3f14b..14afdda7e 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -28,11 +28,12 @@ if ( ! current_user_can('edit_posts') ) function press_it() { $post = get_default_post_to_edit('post', true); + $post = get_object_vars($post); $post_ID = $post['ID']; $post['post_category'] = isset($_POST['post_category']) ? $_POST['post_category'] : null; $post['tax_input'] = isset($_POST['tax_input']) ? $_POST['tax_input'] : null; $post['post_title'] = isset($_POST['title']) ? $_POST['title'] : ''; - $post['post_content'] = isset($_POST['post_content']) ? $_POST['post_content'] : ''; + $post['post_content'] = isset($_POST['content']) ? $_POST['content'] : ''; $upload = false; if ( !empty($_POST['photo_src']) && current_user_can('upload_files') ) {