Make WordPress Core


Ignore:
Timestamp:
05/15/2010 04:56:56 AM (14 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

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

    r14643 r14650  
    386386        $post->to_ping = '';
    387387        $post->pinged = '';
    388         if ( 'page' == $post_type ) {
    389             $post->comment_status = get_option( 'default_comment_status_page' );
    390         } else {
    391             $post->comment_status = get_option( 'default_comment_status' );
    392         }
     388        $post->comment_status = get_option( 'default_comment_status' );
    393389        $post->ping_status = get_option( 'default_ping_status' );
    394390        $post->post_pingback = get_option( 'default_pingback_flag' );
Note: See TracChangeset for help on using the changeset viewer.