Hi Nicholas,
On Akeeba Backup Pro for WordPress, the "back up before a WordPress core update" feature switches itself off after every plugin update, and nothing in the interface shows it.
The issuewp-content/mu-plugins/akeeba-backup-coreupdate.phpreturns early unlessAKEEBABACKUP_MUPLUGIN_COREUPDATE_VERSIONequalsAKEEBABACKUP_VERSION(theversion_compare(..., 'eq')check near the top of the file).- The file is copied into
mu-pluginsonly from the activation hook inhelpers/AkeebaBackupWP.php. Updating the plugin replaceshelpers/assets/mu-plugins/akeeba-backup-coreupdate.phpbut never the deployed copy, and the post-upgrade script does not touch it either. - So the first update after activation leaves the two versions different, and from then on a manual core update proceeds with no backup.
Across our WordPress sites, every deployed copy was older than its plugin, some by years (3.5.1, 7.5.8, 7.8.1.1 against 9.1.2). We copied the 9.2.0 file into place by hand on 27 October, and the same afternoon the plugin auto-updated to 9.3.0, which switched the feature off again within 30 minutes.
Suggested fixRe-copy the mu-plugin whenever the plugin is updated, not only on activation, for example from the post-upgrade step or an upgrader_process_complete handler. Only overwrite a copy that already exists, so a site that removed it on purpose stays that way. A notice in the plugin's control panel when the two versions differ would also make it visible.
Admin Tools for WordPress has the same pattern with mu-plugins/admintoolswp.php, where a mismatch switches off the whole WAF, so the same fix there would be worth considering.
For now we re-copy the vendor file on a schedule, so there is no urgency on our side.
Thanks,
Brian
btw - Missed you at JWC26 :(