Changes between Initial Version and Version 6 of Ticket #51928
- Timestamp:
- 12/03/2020 11:10:28 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51928
- Property Keywords needs-unit-tests added
-
Property
Summary
changed from
Provide plugin update failure data to dot org
toProvide plugin/theme update failure data to dot org
-
Ticket #51928 – Description
initial v6 1 1 With plugin auto-updates in core there have been instances of update failures leaving the user's site without the update and without any idea why the update failed. We receive core auto-update failure data to dot org and receiving plugin/theme failure data would help significantly in determining the causes of these failures. 2 2 3 I'm mostly guessing from how `class-core-upgrader.php` sends failure data via `wp_version_check( $stats )` and I've added similar data and a call to `wp_ version_check()` in `class-plugin-upgrader.php`3 I'm mostly guessing from how `class-core-upgrader.php` sends failure data via `wp_version_check( $stats )` and I've added similar data and a call to `wp_update_{plugins|themes}()` in `class-wp-upgrader.php` Thanks @pbiron 4 4 5 5 If it actually does send the data to dot org it could be useful. This requires the return of `WP_Error`s at potential points of failure. I have added one of these in #51857.