Opened 3 years ago
Last modified 9 months ago
#51928 assigned task (blessed)
Provide plugin update failure data to dot org — at Initial Version
Reported by: | afragen | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch dev-feedback reporter-feedback has-unit-tests |
Focuses: | Cc: |
Description
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.
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
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.
Feedback from the dot org maintainers will be needed.
more universal failure reporting