mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
Upgrade/install: Revert upgrader rollback features.
Revert the rollback features introduced for theme and plugin upgrades during the WordPress 5.9 cycle. A bug (suspected to be in third party virtualisation software) causes the upgrades to fail consistently on some set ups. The revert is to allow contributors further time to investigate mitigation options. Reverts [52337], [52289], [52284], [51951], [52192], [51902], [51899], [51898], [51815]. Props pbiron, dlh, peterwilsoncc, galbaras, SergeyBiryukov, afragen, costdev, bronsonquick, aristath, noisysocks, desrosj, TobiasBg, hellofromTonya, francina, Boniu91. See #54543, #54166, #51857. git-svn-id: https://develop.svn.wordpress.org/trunk@52351 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -328,14 +328,9 @@ class Theme_Upgrader extends WP_Upgrader {
|
||||
'clear_destination' => true,
|
||||
'clear_working' => true,
|
||||
'hook_extra' => array(
|
||||
'theme' => $theme,
|
||||
'type' => 'theme',
|
||||
'action' => 'update',
|
||||
'temp_backup' => array(
|
||||
'slug' => $theme,
|
||||
'src' => get_theme_root( $theme ),
|
||||
'dir' => 'themes',
|
||||
),
|
||||
'theme' => $theme,
|
||||
'type' => 'theme',
|
||||
'action' => 'update',
|
||||
),
|
||||
)
|
||||
);
|
||||
@@ -448,12 +443,7 @@ class Theme_Upgrader extends WP_Upgrader {
|
||||
'clear_working' => true,
|
||||
'is_multi' => true,
|
||||
'hook_extra' => array(
|
||||
'theme' => $theme,
|
||||
'temp_backup' => array(
|
||||
'slug' => $theme,
|
||||
'src' => get_theme_root( $theme ),
|
||||
'dir' => 'themes',
|
||||
),
|
||||
'theme' => $theme,
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user