Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@4191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5e0bb805e5
commit
19e6c82bb8
@ -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
Block a user