Make WordPress Core


Ignore:
Timestamp:
05/15/2010 04:56:56 AM (15 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-includes/post.php

    r14648 r14650  
    22532253            $comment_status = 'closed';
    22542254        else
    2255             if ( 'page' == $post_type ) {
    2256                 $comment_status = get_option( 'default_comment_status_page' );
    2257             } else {
    2258                 $comment_status = get_option( 'default_comment_status' );
    2259             }
     2255            $comment_status = get_option('default_comment_status');
    22602256    }
    22612257    if ( empty($ping_status) )
Note: See TracChangeset for help on using the changeset viewer.