WordPress.org

Make WordPress Core

Ticket #19818: 19818.patch

File 19818.patch, 494 bytes (added by SergeyBiryukov, 2 years ago)
  • wp-includes/default-filters.php

     
    228228 
    229229// WP Cron 
    230230if ( !defined( 'DOING_CRON' ) ) 
    231         add_action( 'sanitize_comment_cookies', 'wp_cron' ); 
     231        add_action( 'init', 'wp_cron' ); 
    232232 
    233233// 2 Actions 2 Furious 
    234234add_action( 'do_feed_rdf',                'do_feed_rdf',                             10, 1 );