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

git-svn-id: https://develop.svn.wordpress.org/trunk@12874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-01-27 14:36:17 +00:00
parent 783902b5d2
commit bdb3f1ee81

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" />