Set post_type for QuickPress publishing. Props nacin. fixes #12049

git-svn-id: http://svn.automattic.com/wordpress/trunk@12874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-27 14:36:17 +00:00
parent 03a643de52
commit 012ef7a259
1 changed files with 1 additions and 0 deletions

View File

@ -412,6 +412,7 @@ function wp_dashboard_quick_press() {
<p class="submit">
<input type="hidden" name="action" id="quickpost-action" value="post-quickpress-save" />
<input type="hidden" name="quickpress_post_ID" value="<?php echo (int) $post->ID; ?>" />
<input type="hidden" name="post_type" value="post" />
<?php wp_nonce_field('add-post'); ?>
<input type="submit" name="save" id="save-post" class="button" tabindex="4" value="<?php esc_attr_e('Save Draft'); ?>" />
<input type="reset" value="<?php esc_attr_e( 'Reset' ); ?>" class="button" />