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:
parent
8e498b933d
commit
56cc4bc79c
|
@ -479,10 +479,10 @@ function themes_api( $action, $args = array() ) {
|
|||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param array|object $res WordPress.org Themes API response.
|
||||
* @param string $action Requested action. Likely values are 'theme_information',
|
||||
* 'feature_list', or 'query_themes'.
|
||||
* @param object $args Arguments used to query for installer pages from the WordPress.org Themes API.
|
||||
* @param array|object|WP_Error $res WordPress.org Themes API response.
|
||||
* @param string $action Requested action. Likely values are 'theme_information',
|
||||
* 'feature_list', or 'query_themes'.
|
||||
* @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 );
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue