From 8594d93d7be656c54f02da241c01ce727d6b640f Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 27 Sep 2015 23:02:47 +0000 Subject: [PATCH] Docs: Improve the hook documentation for the `plugins_api_args` filter. Standardizes the hook doc summary and expands on the expected type for the `$args` parameter. See #34035. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@34652 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/plugin-install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php index 0a250eb5bc..77d145a5f6 100644 --- a/src/wp-admin/includes/plugin-install.php +++ b/src/wp-admin/includes/plugin-install.php @@ -113,9 +113,9 @@ function plugins_api( $action, $args = array() ) { } /** - * Override the Plugin Install API arguments. + * Filter the WordPress.org Plugin Install API arguments. * - * Please ensure that an object is returned. + * Important: An object MUST be returned to this filter. * * @since 2.7.0 *