Ticket #26722: 26722.diff
File 26722.diff, 556 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/post.php
117 117 118 118 $post = get_post( $_REQUEST['post_ID'] ); 119 119 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 120 124 edit_post(); 121 125 // output the quickdraft dashboard widget 122 126 require_once(ABSPATH . 'wp-admin/includes/dashboard.php');