Changeset 24126 for trunk/wp-includes/post.php
- Timestamp:
- 04/29/2013 01:26:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r24015 r24126 4787 4787 * @param object $post Object type containing the post information 4788 4788 */ 4789 function _future_post_hook( $deprecated = '', $post ) {4789 function _future_post_hook( $deprecated, $post ) { 4790 4790 wp_clear_scheduled_hook( 'publish_future_post', array( $post->ID ) ); 4791 4791 wp_schedule_single_event( strtotime( get_gmt_from_date( $post->post_date ) . ' GMT') , 'publish_future_post', array( $post->ID ) );
Note: See TracChangeset
for help on using the changeset viewer.