Ticket #20262: 20262.4.diff
| File 20262.4.diff, 538 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/comment.php
3104 3104 if ( ! in_array( $post->post_type, $post_types ) ) 3105 3105 return $open; 3106 3106 3107 // Undated drafts should not show up as comments closed. 3108 if ( $post->post_date_gmt === '0000-00-00 00:00:00' ) { 3109 return $open; 3110 } 3111 3107 3112 if ( time() - strtotime( $post->post_date_gmt ) > ( $days_old * DAY_IN_SECONDS ) ) 3108 3113 return false; 3109 3114
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)