Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9431f91ff6
commit
730ee49509
|
@ -698,7 +698,7 @@ function wp_insert_post($postarr = array()) {
|
|||
|
||||
// Schedule publication.
|
||||
if ( 'future' == $post_status )
|
||||
wp_schedule_single_event(strtotime($post->post_date_gmt. ' GMT'), 'publish_future_post', $post_ID);
|
||||
wp_schedule_single_event(strtotime($post_date_gmt. ' GMT'), 'publish_future_post', $post_ID);
|
||||
|
||||
do_action('save_post', $post_ID);
|
||||
do_action('wp_insert_post', $post_ID);
|
||||
|
|
Loading…
Reference in New Issue