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

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 24 20:56:26 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 ryan):

 Cribbing from ms_site_check(), the conditions to check:

 {{{
 if ( '1' == $current_blog->deleted || '2' == $current_blog->deleted || '1'
 == $current_blog->archived || '1' == $current_blog->spam )
  return;
 }}}

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


More information about the wp-trac mailing list