WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8/src/wp-admin/post.php

    r26399 r26960  
    118118    $post = get_post( $_REQUEST['post_ID'] );
    119119    check_admin_referer( 'add-' . $post->post_type );
     120
     121    $_POST['comment_status'] = get_option( 'default_comment_status' );
     122    $_POST['ping_status'] = get_option( 'default_ping_status' );
     123
    120124    edit_post();
    121125    // output the quickdraft dashboard widget
Note: See TracChangeset for help on using the changeset viewer.