Changeset 19448
- Timestamp:
- 11/24/2011 04:06:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r19372 r19448 97 97 98 98 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'; 100 100 101 101 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'; 103 103 104 104 foreach ( array('aa', 'mm', 'jj', 'hh', 'mn') as $timeunit ) {
Note: See TracChangeset
for help on using the changeset viewer.