WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/22/2008 07:59:12 PM (14 years ago)
Author:
ryan
Message:

Make sure post has future status before publishing from cron. Props hailin. fixes #5801

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r6974 r6985  
    161161add_action('wp_head', 'wlwmanifest_link');
    162162add_action('wp_head', 'locale_stylesheet');
    163 add_action('publish_future_post', 'wp_publish_post', 10, 1);
     163add_action('publish_future_post', 'check_and_publish_future_post', 10, 1);
    164164add_action('wp_head', 'noindex', 1);
    165165add_action('wp_head', 'wp_print_scripts');
Note: See TracChangeset for help on using the changeset viewer.