[wp-trac] [WordPress Trac] #61457: Delay automatic updates after installation.
WordPress Trac
noreply at wordpress.org
Wed Jul 10 13:44:53 UTC 2024
#61457: Delay automatic updates after installation.
------------------------------+-----------------------
Reporter: costdev | Owner: costdev
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.6
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------
Changes (by swissspidy):
* status: closed => reopened
* resolution: fixed =>
Comment:
@costdev Is there a reason why these cron events are scheduled so early,
even before the notification emails are sent or cache is flushed?
We noticed that this change causes some WP-CLI tests to fail because the
`cron` option is added so early because of this, even before `siteurl` is
set.
IMHO this can be moved to right before the `wp_install` hook fires.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61457#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list