Make WordPress Core

Changeset 12874


Ignore:
Timestamp:
01/27/2010 02:36:17 PM (15 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r12789 r12874  
    413413            <input type="hidden" name="action" id="quickpost-action" value="post-quickpress-save" />
    414414            <input type="hidden" name="quickpress_post_ID" value="<?php echo (int) $post->ID; ?>" />
     415            <input type="hidden" name="post_type" value="post" />
    415416            <?php wp_nonce_field('add-post'); ?>
    416417            <input type="submit" name="save" id="save-post" class="button" tabindex="4" value="<?php esc_attr_e('Save Draft'); ?>" />
Note: See TracChangeset for help on using the changeset viewer.