From 769ad80521348ebbf5ab4084bfbcf656a4a2f407 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 2 Oct 2015 04:52:25 +0000 Subject: [PATCH] Docs: Also clarify the expected element types depending on the value of `$action` in the hook doc for the `plugins_api` filter. See [34763] for context. See #34035. Built from https://develop.svn.wordpress.org/trunk@34764 git-svn-id: http://core.svn.wordpress.org/trunk@34729 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin-install.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 9446637482..36fade2108 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -129,8 +129,8 @@ function plugins_api( $action, $args = array() ) { * * Passing a non-false value will effectively short-circuit the WordPress.org API request. * - * If `$action` is 'query_plugins', 'plugin_information', or 'hot_categories', an object MUST - * be passed. If `$action` is 'hot_tags`, an array should be passed. + * If `$action` is 'query_plugins' or 'plugin_information', an object MUST be passed. + * If `$action` is 'hot_tags` or 'hot_categories', an array should be passed. * * @since 2.7.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index db06ade05d..20bc172fe0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34763'; +$wp_version = '4.4-alpha-34764'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.