mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 13:00:29 +01:00
Docs: Restore [51733], accidentally reverted in [52212].
Document some more `$response` values in the `in_plugin_update_message-{$file}` filter: * `banners_rtl` * `requires_php` Follow-up to [51733], [52212]. Fixes #40006. git-svn-id: https://develop.svn.wordpress.org/trunk@52224 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3442f776f3
commit
afc50ca20d
@ -574,19 +574,21 @@ function wp_plugin_update_row( $file, $plugin_data ) {
|
||||
* @type string $author_name Plugin author's name.
|
||||
* @type bool $update Whether there's an available update. Default null.
|
||||
* }
|
||||
* @param array $response {
|
||||
* An array of metadata about the available plugin update.
|
||||
* @param object $response {
|
||||
* An object of metadata about the available plugin update.
|
||||
*
|
||||
* @type int $id Plugin ID.
|
||||
* @type string $slug Plugin slug.
|
||||
* @type string $plugin Plugin basename.
|
||||
* @type string $url Plugin URL.
|
||||
* @type string $package Plugin update package URL.
|
||||
* @type array $icons An array of icon URLs.
|
||||
* @type array $banners An array of banner URLs.
|
||||
* @type string $requires Specify the minimum required WordPress version.
|
||||
* @type string $tested Specify the latest version of WordPress that the plugin has been tested with.
|
||||
* @type string $new_version Specify the new version of the plugin.
|
||||
* @type int $id Plugin ID.
|
||||
* @type string $slug Plugin slug.
|
||||
* @type string $plugin Plugin basename.
|
||||
* @type string $new_version New plugin version.
|
||||
* @type string $url Plugin URL.
|
||||
* @type string $package Plugin update package URL.
|
||||
* @type array $icons An array of plugin icon URLs.
|
||||
* @type array $banners An array of plugin banner URLs.
|
||||
* @type array $banners_rtl An array of plugin RTL banner URLs.
|
||||
* @type string $requires The version of WordPress which the plugin requires.
|
||||
* @type string $tested The version of WordPress the plugin is tested against.
|
||||
* @type string $requires_php The version of PHP which the plugin requires.
|
||||
* }
|
||||
*/
|
||||
do_action( "in_plugin_update_message-{$file}", $plugin_data, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
Loading…
x
Reference in New Issue
Block a user