From 750d395b81d3863986c2a1512e115a0b25fcffb7 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 19 Aug 2011 17:04:16 +0000 Subject: [PATCH] Another fix for Press This, see #17144 git-svn-id: https://develop.svn.wordpress.org/trunk@18574 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 0d0b3f14be..14afdda7e0 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') ) {