Make WordPress Core

Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#26717 closed feature request (wontfix)

Hooks to Schedule the Auto Update

Reported by: ipstenu's profile 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)

#1 @MikeHansenMe
11 years ago

I agree, this sounds like a good idea.

#2 @dd32
10 years 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.

#3 @Ipstenu
10 years 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.

#4 @dd32
10 years 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.