You really don’t need to explain your reasons for running 4.9.X Some of us here have either made the same choice or assisted others to do so. That’s why 4.9.X exists.
Give the other sites some time to catch up. If they don’t catch up later today then check for updates manually. If they were not configured for the auto update then you’ll need to manually update them. You should be able to check each site manually to check for the update available or else see that it is already done.
If you want to add auto update or to change the present settings take a look at this. https://codex.wordpress.org/Configuring_Automatic_Background_Updates
If you want / have to stay with 4.x you can also use this small plugin, save as 4ever.php
or similar, upload to plugins folder, activate, re-check updates via Dashboard > Updates > Check Again, it should offer 4.9.10 then and only 4.x updates in future.
<?php
/*
Plugin Name: 4ever
Description: Stay in WordPress 4.x branch with manual core update control.
Version: 1.0
Author: Ov3rfly
*/
add_filter( 'auto_update_core', '__return_false' );
function fourever_update_core( $updates ) {
if ( !empty( $updates ) && !empty( $updates->updates ) ) {
$updates_new = array();
foreach ( $updates->updates as $index => $update ) {
if ( !empty( $update->version ) ) {
if ( version_compare( $update->version, '5.0', '<' ) ) {
$updates_new[] = $update;
}
}
}
if ( !empty( $updates_new ) && !empty( $updates_new[0]->response ) ) {
if ( $updates_new[0]->response == 'autoupdate' ) {
$updates_new[0]->response = 'upgrade';
}
}
$updates->updates = $updates_new;
}
return $updates;
}
add_filter( 'pre_set_site_transient_update_core', 'fourever_update_core' );
Thread Starter
Bliss7
(@bliss7)
Thanks for the replies guys. Glad to know I am not the only one who is still not updating to the “latest and greatest“.
@ov3rfly
Thanks for your plugin, why don’t you list this on the WordPress plugin directory?
Or instead of plugin just add this line to your wp-config.php:
define('WP_AUTO_UPDATE_CORE', minor );
This will restrict “auto updates” to minor versions only. 4.9.x and not 5.x
@ov3rfly – thanks a lot, your plugin works great!
@bliss7 @player05 Thanks for feedback, feel free to copy, list, distribute wherever you like.
@hydn Thanks for feedback, the plugin is meant for manual core update control.