WordPress.org

Make WordPress Core

Changeset 18574


Ignore:
Timestamp:
08/19/11 17:04:16 (4 years ago)
Author:
azaozz
Message:

Another fix for Press This, see #17144

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r18570 r18574  
    2929 
    3030    $post = get_default_post_to_edit('post', true); 
     31    $post = get_object_vars($post); 
    3132    $post_ID = $post['ID']; 
    3233    $post['post_category'] = isset($_POST['post_category']) ? $_POST['post_category'] : null; 
    3334    $post['tax_input'] = isset($_POST['tax_input']) ? $_POST['tax_input'] : null; 
    3435    $post['post_title'] = isset($_POST['title']) ? $_POST['title'] : ''; 
    35     $post['post_content'] = isset($_POST['post_content']) ? $_POST['post_content'] : ''; 
     36    $post['post_content'] = isset($_POST['content']) ? $_POST['content'] : ''; 
    3637 
    3738    $upload = false; 
Note: See TracChangeset for help on using the changeset viewer.