Make WordPress Core

Changes between Version 6 and Version 7 of Ticket #51928


Ignore:
Timestamp:
12/03/2020 11:11:07 PM (4 years ago)
Author:
afragen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51928 – Description

    v6 v7  
    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_update_{plugins|themes}()` in `class-wp-upgrader.php` Thanks @pbiron
     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}( $stats )` 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.