WordPress.org

Make WordPress Core

Changeset 19448


Ignore:
Timestamp:
11/24/11 16:06:17 (2 years ago)
Author:
nacin
Message:

Revert [19372] for 3.3. see #13473.

File:
1 edited

Legend:

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

    r19372 r19448  
    9797 
    9898    if (!isset( $post_data['comment_status'] )) 
    99         $post_data['comment_status'] =  post_type_supports( $post_data['post_type'], 'comments' ) ? get_option( 'default_comment_status' ) : 'closed'; 
     99        $post_data['comment_status'] = 'closed'; 
    100100 
    101101    if (!isset( $post_data['ping_status'] )) 
    102         $post_data['ping_status'] =  post_type_supports( $post_data['post_type'], 'trackbacks' ) ? get_option( 'default_ping_status' ) : 'closed'; 
     102        $post_data['ping_status'] = 'closed'; 
    103103 
    104104    foreach ( array('aa', 'mm', 'jj', 'hh', 'mn') as $timeunit ) { 
Note: See TracChangeset for help on using the changeset viewer.