[unreleased]
- add check for loopback not working and rollback auto-update for safety
- update kill switch using
method_exists() - update for latest PR, cannot include mods to
load.php
- update kill switch
- update kill switch
- use
( new WP_Upgrader() )->maintenance_mode()for Upgrader classes, fixes error inmaintenance_mode()when$wp_filesystemnot set
- update kill switch
- update for PR
- fix readme.txt, thanks Otto
- just a bump for dot org
- needed to require upgrader classes in main plugin file
- attempt to sync with refactored PR
- simpler replacement with modified upgrader classes
- error logging present
- removed too much stuff
- refactor RAU for merge
- update commit conditional
- re-activate plugins at end of main loop
- add error exception for defining function in main plugin class
- minor email message adjustment
- add default value in email processing for invalid current version
- use
WP_Automatic_Upgrader::after_plugin_theme_update()for sending email
- add failure email back otherwise no update email is sent
- add back
sleep( 2 )to prevent potential race condition - update error exception list
- increase requirements to WP 6.3 and PHP 7.0
- add version check for Rollback part 3
- deactivate/reactivate plugin during auto-update test similar
plugin_sandbox_scrape()as Core - add shutdown function
- add method to check if we want an error to pass through, likley caused by calling
include()on an activated plugin - log caught error from error handler, exception handler, and shutdown function
- temporary halt to failure email
- remove Reflection in
WP_Rollback_Auto_Update::cron_rollback()as methods are public
- cleanup
- cleanup email sending
- improved language for email
- ensure
find_core_auto_update()is available - put guard for Rollback part 2 not being committed back
- add theme update data to failure email
- restart theme auto-updates
- remove guard for Rollback not being committed
- set Plugin_Upgrader via hook
- cleanup Plugin_Upgrader hook from fatal update
- update readme
- align docblocks with PR
- update for Rollback committed to core
- change
temp-backuptoupgrade-temp-backup
- update code logic for creating
temp-backupdir, thanks @azaozz
- hotfix for no autoload
- update tests
- update GitHub Actions
- ignore vendor directory
- update @since
- update using constant to check version for when
move_dir()was committed - update using constant to check version for when
Rollbackwas committed - update for PR compatibility
- developery stuff
- make variables static to retain value during auto-update run
- ensure
move_dir()called with 3rd parameter asmove_dir($from, $to, true)
- during
WP_Rollback_Auto_Update::restart_updatesremove shutdown hook forWP_Upgrader::delete_temp_backup - skip second sequential call to
create_backup - now require at least WP 6.2-beta1, deactivate if requirements not met
- Faster Updates no longer required as committed to core
- update
move_dir()for new parameter
- ensure specific functions are loaded to check for Faster Updates
- change directory name of rollback to distinguish from update.
- update for
move_dir()possibly returningWP_Error - fix
sprintferror - remove auto-install/activate of Faster Updates
- cast
upgrade_pluginstransient to object, overkill but someone reported an error - merge Rollback Auto Update
- require Faster Updates for
move_dir(), auto-install/activate - no longer requires special filter in
WP_Upgrader::install_package - testing only on
update-core.php
- update for new filter hook in WP_Upgrader::install_package
- update nonce verification for failure simulator
- use
array_uniquewhen saving simulated failure options - load failure simulator in
inithook for WP-CLI
- use
wp-content/temp-backupand notwp-content/upgrade/temp-backupasWP_Upgrader::unpack_packagedeletes contents ofwp-content-upgradeat each update - add simulated failure into plugin
- bump auto-deactivation check for WP version
- backup runs on
upgrader_source_selectionfromupgrader_pre_installto resolve an edge case - rename functions for action not hook
- update VirtualBox testing URL in readme(s)
- fix to ensure restore functions correctly during bulk update
- remove references to VirtualBox
- add
pre_move_dirandpost_move_dirhooks - use with VirtualBox environment will require a mu-plugin and a watcher script or similar for VirtualBox based environments
- update error messaging in
delete_temp_backup()
- add initial setup of weekly
wp_delete_temp_updater_backupscron task, oops
- fix
shutdownhook inwp_delete_all_temp_backups()for plugin namespace, not for PR
- update testing workflows
- fix action hook
wp_delete_temp_updater_backupsfor plugin namespace, not for PR
- pass basename of destination to
copy_dir( $skip_list )to avoid potential endless looping.
- refactor to ease PR back into core by separating out changes into respective files/classes
- remove anonymous callbacks
- add class
$optionsfor callback functions - update
is_virtualbox()for testing - add testing scaffold
- move kill switch to WP6.1-beta1
- add non-direct filesystem rename variants to
move_dir() - bring into alignment with PR
- update credit
- add more Site Health info for runtime environment
- update
move_dir() - add
is_virtualbox() - remove
WP_RUNTIME_ENVIRONMENTandwp_get_runtime_environment()
- run
restore_temp_backup()inshutdownhook
- add
wp_get_runtime_environment()to return value of constantWP_RUNTIME_ENVIRONMENT - allowed values are obviously up for discussion
- update to most of current PR
- update to correspond to core patch
- add logo credit, Logo from a meme generator. Original artwork by Allie Brosh.
- remove
(int)casting fordisk_free_space()
- introduce
is_virtual_box()to get whether running in VirtualBox, requiresdefine( 'ENV_VB', true )orgenenv( 'WP_ENV_VB' )evaluating to true - skips
rename()as VirtualBox gets borked when usingrename()
- updated for more parity with planned code
- updated version check for revert
- update to use
move_dir()instead of$wp_filesystem->move()
- update version check
- update check for
disk_free_space()
- automatically deactivate plugin after feature committed to core, currently set to
5.9-beta1 - check for disabled function
disk_free_space()and degrade gracefully
- updated to be on par with PR #1492, thanks @aristah
- original zip rollback is now branch zip-rollback
- add @10up GitHub Actions integration for WordPress SVN
- exit early if
$hook_extrais empty
- update error message for installation not update
- initial commit
- use simpler hook for
extract_rollback - update for
upgrader_install_package_resultfilter and parameters passed - add text domain
- update error message display
- added filter
rollback_update_testingto simulate a failure. - override filter if there's already a WP_Error