WordPress.org

Make WordPress Core

Ticket #51400: 51400.diff

File 51400.diff, 689 bytes (added by afragen, 12 months ago)
  • wp-admin/includes/class-wp-automatic-updater.php

    diff --git a/wp-admin/includes/class-wp-automatic-updater.php b/wp-admin/includes/class-wp-automatic-updater.php
    index 9cf0a04ac1..fe90402096 100644
    a b class WP_Automatic_Updater { 
    887887                $successful_updates = array();
    888888                $failed_updates     = array();
    889889
     890                $update_results['plugin'] = isset( $update_results['plugin'] ) ? $update_results['plugin'] : array();
     891                $update_results['theme']  = isset( $update_results['theme'] ) ? $update_results['theme'] : array();
     892
    890893                /**
    891894                 * Filters whether to send an email following an automatic background plugin update.
    892895                 *