From f2f356acfe7e73df455ba354612d7f2514d5faba Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 15 Apr 2016 01:42:11 +0000 Subject: [PATCH] Docs: Clarify possible types passed to the `themes_api_result` filter. See #32246 git-svn-id: https://develop.svn.wordpress.org/trunk@37209 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/theme.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index 52bf5745c3..53c7ccbf72 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -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 ); }