mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Change cron arg passing. Props masquerade. fixes #3169.
git-svn-id: https://develop.svn.wordpress.org/trunk@4362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -503,7 +503,7 @@ function upgrade_210() {
|
||||
$posts = $wpdb->get_results("SELECT ID, post_date FROM $wpdb->posts WHERE post_status ='future'");
|
||||
if ( !empty($posts) )
|
||||
foreach ( $posts as $post )
|
||||
wp_schedule_single_event(mysql2date('U', $post->post_date), 'publish_future_post', $post->ID);
|
||||
wp_schedule_single_event(mysql2date('U', $post->post_date), 'publish_future_post', array($post->ID));
|
||||
}
|
||||
if ( $wp_current_db_version < 3570 ) {
|
||||
// Create categories for link categories if a category with the same
|
||||
|
||||
Reference in New Issue
Block a user