[wp-trac] [WordPress Trac] #20537: Don't spawn cron requests for suspended blogs

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 25 03:23:49 UTC 2012


#20537: Don't spawn cron requests for suspended blogs
--------------------------+-----------------------------
 Reporter:  ryan          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Cron          |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------

Comment (by nacin):

 I think spawning is unnecessary. wp-cron.php should still be able to be
 triggered, though. Someone somewhere is surely doing something weird with
 regards to this.

 I think it would be best if bailed early in spawn_cron() and didn't hook
 wp_cron() directly into sanitize_comment_cookies. That would allow for
 wp_cron() and wp-cron.php to still execute.

 I could also just be overly careful.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20537#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list