Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.

git-svn-id: https://develop.svn.wordpress.org/trunk@14650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-05-15 04:56:56 +00:00
parent 5aa7280d6a
commit f92765c934
5 changed files with 3 additions and 18 deletions
+1 -5
View File
@@ -385,11 +385,7 @@ function get_default_post_to_edit( $post_type = 'post', $create_in_db = false )
$post->post_status = 'draft';
$post->to_ping = '';
$post->pinged = '';
if ( 'page' == $post_type ) {
$post->comment_status = get_option( 'default_comment_status_page' );
} else {
$post->comment_status = get_option( 'default_comment_status' );
}
$post->comment_status = get_option( 'default_comment_status' );
$post->ping_status = get_option( 'default_ping_status' );
$post->post_pingback = get_option( 'default_pingback_flag' );
$post->post_category = get_option( 'default_category' );