Changeset 33054 for trunk/src/wp-admin/post.php
- Timestamp:
- 07/02/2015 10:31:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post.php
r32654 r33054 130 130 check_admin_referer( 'add-' . $post->post_type ); 131 131 132 $_POST['comment_status'] = get_ option( 'default_comment_status');133 $_POST['ping_status'] = get_option( 'default_ping_status' );132 $_POST['comment_status'] = get_default_comment_status( $post->post_type ); 133 $_POST['ping_status'] = get_default_comment_status( $post->post_type, 'pingback' ); 134 134 135 135 edit_post();
Note: See TracChangeset
for help on using the changeset viewer.