diff --git a/wp-includes/post.php b/wp-includes/post.php index bb0ff0bab0..d4367d29e2 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -3581,12 +3581,12 @@ function _transition_post_status($new_status, $old_status, $post) { * @since 2.3.0 * @access private * - * @param int $deprecated Not Used. Can be set to null. + * @param int $deprecated Not used. Can be set to null. Never implemented. + * Not marked as deprecated with _deprecated_argument() as it conflicts with + * wp_transition_post_status() and the default filter for _future_post_hook(). * @param object $post Object type containing the post information */ function _future_post_hook( $deprecated = '', $post ) { - if ( !empty( $deprecated ) ) - _deprecated_argument( __FUNCTION__, '0.0' ); wp_clear_scheduled_hook( 'publish_future_post', array( $post->ID ) ); wp_schedule_single_event( strtotime( $post->post_date_gmt. ' GMT' ), 'publish_future_post', array( $post->ID ) ); }