WordPress.org

Make WordPress Core

Ticket #17838: 17838.2.patch

File 17838.2.patch, 514 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/update.php

     
    362362
    363363        $update_title = ! empty( $update_title ) ? esc_attr( implode( ', ', $update_title ) ) : '';
    364364
    365         return array( 'counts' => $counts, 'title' => $update_title );
     365        return apply_filters( 'wp_get_update_data', array( 'counts' => $counts, 'title' => $update_title ) );
    366366}
    367367
    368368function _maybe_update_core() {