Changes between Version 1 and Version 2 of Ticket #38024, comment 3
- Timestamp:
- 09/13/2016 03:11:15 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38024, comment 3
v1 v2 9 9 On line 330 is the call for the `upgrade` method for the appropriate plugins or themes. [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-wp-automatic-updater.php#L330 Source]. 10 10 11 Using plugins as an example, in `wp-admin/includes/class-plugin-upgrader.php` on line 172/174 [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-plugin-upgrader.php#L174 (Source)] is the call to theclear the plugin cache and run the `run` method for the `WP_Upgrader` parent class. Note that `is_multi` is not being sent as an argument.11 Using plugins as an example, in `wp-admin/includes/class-plugin-upgrader.php` on line 172/174 [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-plugin-upgrader.php#L174 (Source)] is the call to clear the plugin cache and run the `run` method for the `WP_Upgrader` parent class. Note that `is_multi` is not being sent as an argument. 12 12 13 13 In `wp-admin/includes/class-wp-upgrader.php`, since `is_multi` is false, it runs the action `upgrader_process_complete` after the first iteration of a plugin or theme. [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-wp-upgrader.php#L759 Source], which I believe is clearing the plugin cache and causing the errors.