WordPress.org

Make WordPress Core

Opened 20 months ago

Closed 7 weeks ago

Last modified 7 weeks ago

#26717 closed feature request (wontfix)

Hooks to Schedule the Auto Update

Reported by: Ipstenu Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.7
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

Right now the auto-update runs on the 7s (or there abouts) which I know we picked because it seemed the least damaging for most people. 7am and 7pm local.

If there were hooks that allowed one to schedule the auto-updater, this might make things easier for some people who want more fine-grained control over when an upgrade runs. This would also alleviate some of the fears of Major Upgrades, if one wanted them to run mid-day when people were active and available to fix.

Change History (4)

comment:1 @MikeHansenMe19 months ago

I agree, this sounds like a good idea.

comment:2 @dd327 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

It's possible for plugins to do this already, the plugin would have to deregister the existing schedule, and re-register wp_maybe_auto_update to occur at the time it wants.

comment:3 @Ipstenu7 weeks ago

That's not the same as a hook to be able to filter, though. Not sure it's invalid, since the idea was to be able to just filter and change the times, versus rewriting a function.

comment:4 @dd327 weeks ago

  • Resolution changed from invalid to wontfix

That's true, but the amount of code they'd have to rewrite is so very minimal that IMHO a filter makes very little sense - they'd get a far better level of control just by avoiding core in the first place.

Note: See TracTickets for help on using tickets.