Make WordPress Core


Ignore:
Timestamp:
10/08/2006 05:50:21 PM (17 years ago)
Author:
ryan
Message:

Change cron arg passing. Props masquerade. fixes #3169.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r4199 r4362  
    699699    // Schedule publication.
    700700    if ( 'future' == $post_status )
    701         wp_schedule_single_event(strtotime($post_date_gmt. ' GMT'), 'publish_future_post', $post_ID);
     701        wp_schedule_single_event(strtotime($post_date_gmt. ' GMT'), 'publish_future_post', array($post_ID));
    702702       
    703703    do_action('save_post', $post_ID);
Note: See TracChangeset for help on using the changeset viewer.