WordPress.org

Make WordPress Core

Ticket #40006: 40006.diff

File 40006.diff, 1.0 KB (added by davidmosterd, 4 years ago)

A Git to SVN patch that I hoped that worked :)

  • src/wp-admin/includes/update.php

    diff --git src/wp-admin/includes/update.php src/wp-admin/includes/update.php
    index e7a8b5e..768bca3 100644
    function wp_plugin_update_row( $file, $plugin_data ) { 
    440440                 *     @type string $author_name Plugin author's name.
    441441                 *     @type bool   $update      Whether there's an available update. Default null.
    442442                 * }
    443                  * @param array $response {
    444                  *     An array of metadata about the available plugin update.
     443                 * @param object $response {
     444                 *     An object of metadata about the available plugin update.
    445445                 *
    446446                 *     @type int    $id          Plugin ID.
    447447                 *     @type string $slug        Plugin slug.
    448448                 *     @type string $new_version New plugin version.
    449449                 *     @type string $url         Plugin URL.
    450450                 *     @type string $package     Plugin update package URL.
     451                 *     @type string $tested      Latest WordPress version it is tested on.
    451452                 * }
    452453                 */
    453454                do_action( "in_plugin_update_message-{$file}", $plugin_data, $response );