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
This commit is contained in:
parent
ea78fbdcdb
commit
408ac29bfb
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue