Ticket #10715: patch.diff
| File patch.diff, 654 bytes (added by , 17 years ago) |
|---|
-
press-this.php
45 45 $quick['post_category'] = isset($_REQUEST['post_category']) ? $_REQUEST['post_category'] : null; 46 46 $quick['tax_input'] = isset($_REQUEST['tax_input']) ? $_REQUEST['tax_input'] : ''; 47 47 $quick['post_title'] = isset($_REQUEST['title']) ? $_REQUEST['title'] : ''; 48 $quick['post_content'] = '';48 $quick['post_content'] = isset($_REQUEST['content']) ? $_REQUEST['content'] : ''; 49 49 50 50 // insert the post with nothing in it, to get an ID 51 51 $post_ID = wp_insert_post($quick, true);