Changeset 35475 for trunk/src/wp-includes/comment-functions.php
- Timestamp:
- 10/31/2015 08:12:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-functions.php
r35435 r35475 2593 2593 return $open; 2594 2594 2595 // Undated drafts should not show up as comments closed. 2596 if ( '0000-00-00 00:00:00' === $post->post_date_gmt ) { 2597 return $open; 2598 } 2599 2595 2600 if ( time() - strtotime( $post->post_date_gmt ) > ( $days_old * DAY_IN_SECONDS ) ) 2596 2601 return false;
Note: See TracChangeset
for help on using the changeset viewer.