Changeset 12679
- Timestamp:
- 01/09/2010 09:55:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r12659 r12679 3582 3582 * @access private 3583 3583 * 3584 * @param int $deprecated Not Used. Can be set to null. 3584 * @param int $deprecated Not used. Can be set to null. Never implemented. 3585 * Not marked as deprecated with _deprecated_argument() as it conflicts with 3586 * wp_transition_post_status() and the default filter for _future_post_hook(). 3585 3587 * @param object $post Object type containing the post information 3586 3588 */ 3587 3589 function _future_post_hook( $deprecated = '', $post ) { 3588 if ( !empty( $deprecated ) )3589 _deprecated_argument( __FUNCTION__, '0.0' );3590 3590 wp_clear_scheduled_hook( 'publish_future_post', array( $post->ID ) ); 3591 3591 wp_schedule_single_event( strtotime( $post->post_date_gmt. ' GMT' ), 'publish_future_post', array( $post->ID ) );
Note: See TracChangeset
for help on using the changeset viewer.