Docs: Clarify possible types passed to the themes_api_result filter.

See #32246

Built from https://develop.svn.wordpress.org/trunk@37209


git-svn-id: http://core.svn.wordpress.org/trunk@37175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2016-04-15 01:43:28 +00:00
parent 8e498b933d
commit 56cc4bc79c
2 changed files with 5 additions and 5 deletions

View File

@ -479,10 +479,10 @@ function themes_api( $action, $args = array() ) {
* *
* @since 2.8.0 * @since 2.8.0
* *
* @param array|object $res WordPress.org Themes API response. * @param array|object|WP_Error $res WordPress.org Themes API response.
* @param string $action Requested action. Likely values are 'theme_information', * @param string $action Requested action. Likely values are 'theme_information',
* 'feature_list', or 'query_themes'. * 'feature_list', or 'query_themes'.
* @param object $args Arguments used to query for installer pages from the WordPress.org Themes API. * @param object $args Arguments used to query for installer pages from the WordPress.org Themes API.
*/ */
return apply_filters( 'themes_api_result', $res, $action, $args ); return apply_filters( 'themes_api_result', $res, $action, $args );
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-alpha-37208'; $wp_version = '4.6-alpha-37209';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.