[wp-trac] [WordPress Trac] #20537: Don't spawn cron requests for suspended blogs
WordPress Trac
noreply at wordpress.org
Thu Apr 14 06:27:12 UTC 2016
#20537: Don't spawn cron requests for suspended blogs
-------------------------------------------------+-------------------------
Reporter: ryan | Owner: jrf
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Cron API | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch good-first-bug needs- | Focuses: multisite
testing |
-------------------------------------------------+-------------------------
Changes (by jeremyfelt):
* milestone: Future Release => 4.6
Comment:
Thanks for the patches, @jrf, this looks close.
* Let's use `get_blog_details()` instead of accessing the global
`$current_blog`. See #22090.
* How about naming the filter `skip_cron_for_site` and not using the
"blog" terminology here?
* Now that `WP_Site` is available, the filter docs should be adjusted to
show that a `WP_Site` object is provided.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20537#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list