WordPress.org

Make WordPress Core

Changeset 52212


Ignore:
Timestamp:
11/18/2021 11:17:52 PM (11 days ago)
Author:
audrasjb
Message:

Docs: Add missing parameters in in_plugin_update_message-{$file} filter.

Follow-up to [51733].

Props costdev, audrasjb, SergeyBiryukov.
Fixes #40006.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update.php

    r52019 r52212  
    575575         *     @type bool   $update      Whether there's an available update. Default null.
    576576         * }
    577          * @param object $response {
    578          *     An object of metadata about the available plugin update.
     577         * @param array $response {
     578         *     An array of metadata about the available plugin update.
    579579         *
    580580         *     @type int    $id          Plugin ID.
    581581         *     @type string $slug        Plugin slug.
    582          *     @type string $new_version New plugin version.
     582         *     @type string $plugin      Plugin basename.
    583583         *     @type string $url         Plugin URL.
    584584         *     @type string $package     Plugin update package URL.
     585         *     @type array  $icons       An array of icon URLs.
     586         *     @type array  $banners     An array of banner URLs.
     587         *     @type string $requires    Specify the minimum required WordPress version.
     588         *     @type string $tested      Specify the latest version of WordPress that the plugin has been tested with.
     589         *     @type string $new_version Specify the new version of the plugin.
    585590         * }
    586591         */
Note: See TracChangeset for help on using the changeset viewer.