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 *