From 408ac29bfb6698b15614b9044aa988af41655cc9 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sat, 9 Jul 2016 14:38:33 +0000 Subject: [PATCH] Docs: Fix a typo in the DocBlock for `themes_api()`, `themes_api`, `plugins_api()`, and `plugins_api`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@38025 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/plugin-install.php | 4 ++-- src/wp-admin/includes/theme.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php index a37765d89c..f99cfce34a 100644 --- a/src/wp-admin/includes/plugin-install.php +++ b/src/wp-admin/includes/plugin-install.php @@ -20,7 +20,7 @@ * * The second filter, {@see 'plugins_api'}, allows a plugin to override the WordPress.org * Plugin Install API entirely. If `$action` is 'query_plugins' or 'plugin_information', - * an object MUST be passed. If `$action` is 'hot_tags` or 'hot_categories', an array MUST + * an object MUST be passed. If `$action` is 'hot_tags' or 'hot_categories', an array MUST * be passed. * * Finally, the third filter, {@see 'plugins_api_result'}, makes it possible to filter the @@ -130,7 +130,7 @@ 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' or 'plugin_information', an object MUST be passed. - * If `$action` is 'hot_tags` or 'hot_categories', an array should be passed. + * If `$action` is 'hot_tags' or 'hot_categories', an array should be passed. * * @since 2.7.0 * diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index eafa84007a..d758480f39 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -322,7 +322,7 @@ function get_theme_feature_list( $api = true ) { * * The second filter, {@see 'themes_api'}, allows a plugin to override the WordPress.org * Theme API entirely. If `$action` is 'query_themes', 'theme_information', or 'feature_list', - * an object MUST be passed. If `$action` is 'hot_tags`, an array should be passed. + * an object MUST be passed. If `$action` is 'hot_tags', an array should be passed. * * Finally, the third filter, {@see 'themes_api_result'}, makes it possible to filter the * response object or array, depending on the `$action` type. @@ -422,7 +422,7 @@ function themes_api( $action, $args = array() ) { * Passing a non-false value will effectively short-circuit the WordPress.org API request. * * If `$action` is 'query_themes', 'theme_information', or 'feature_list', an object MUST - * be passed. If `$action` is 'hot_tags`, an array should be passed. + * be passed. If `$action` is 'hot_tags', an array should be passed. * * @since 2.8.0 *