What is a “forced plugin update”, how can I avoid it and use it for my plugins

To answer the first question… If you look within the WP_Automatic_Updater class found in wp-admin/includes/class-wp-upgrader.php we note the method is_disabled which is used by the method should_update to determine whether or not an automatic update is allowed. The is_disabled method will return true under the following conditions, if DISALLOW_FILE_MODS constant is defined and is true … Read more

How To/What triggers a WordPress auto update?

As of WordPress 4.7.3, auto-updates are triggered whenever the following sequence is successful. All the code is in the file wp-includes/update.php. 1. _maybe_update_core() is called (via the admin_init action). This function is run via the the admin_init action, which executes at the beginning of every admin page before the page is rendered. The update process … Read more

Schedule WordPress Auto-Updates to only run during business hours

This one is actually surprisingly simple; add this to your wp-config.php file and all automatic updates will be blocked when outside of the specified hours: // Suspend updates when outside of business hours, 9:00 AM to 5:30 PM $updates_suspended = (date(‘Hi’) < 0900 || date(‘Hi’) > 1730); define( ‘AUTOMATIC_UPDATER_DISABLED’, $updates_suspended ); You can also use … Read more

Automating the Backup Process (30+ websites)

I’m not sure if this will address your issue… But there’s something new in WorldWordPress. http://infinitewp.com/ It’s akin to ManageWP, but free :o) I’m not affiliated with them in any form, just starting to play with it. (ht: wpmail.me) It’s a platform that you install in your server. Add the client plugin to your WPs. … Read more