Changeset 14650 for trunk/wp-admin/includes/post.php
- Timestamp:
- 05/15/2010 04:56:56 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r14643 r14650 386 386 $post->to_ping = ''; 387 387 $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' ); 393 389 $post->ping_status = get_option( 'default_ping_status' ); 394 390 $post->post_pingback = get_option( 'default_pingback_flag' );
Note: See TracChangeset
for help on using the changeset viewer.