Changeset 14062 for trunk/wp-includes/post.php
- Timestamp:
- 04/10/2010 02:00:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14056 r14062 2156 2156 if ( mysql2date('U', $post_date_gmt, false) > mysql2date('U', $now, false) ) 2157 2157 $post_status = 'future'; 2158 } elseif( 'future' == $post_status ) { 2159 $now = gmdate('Y-m-d H:i:59'); 2160 if ( mysql2date('U', $post_date_gmt, false) <= mysql2date('U', $now, false) ) 2161 $post_status = 'publish'; 2158 2162 } 2159 2163
Note: See TracChangeset
for help on using the changeset viewer.