Make WordPress Core

Changes between Initial Version and Version 6 of Ticket #51928


Ignore:
Timestamp:
12/03/2020 11:10:28 PM (14 months ago)
Author:
afragen
Comment:

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 to Provide plugin/theme update failure data to dot org
  • Ticket #51928 – Description

    initial v6  
    11With 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.
    22
    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`
     3I'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
    44
    55If 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.