mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-11 22:29:48 +01:00
Docs: Fix two typos in the DocBlock description for themes_api()
:
* The fourth `$action` type is 'feature_list' * The first `$action` type in the data table should be 'query_themes' See #34036. Built from https://develop.svn.wordpress.org/trunk@34649 git-svn-id: http://core.svn.wordpress.org/trunk@34613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b27d14ccf3
commit
ad33a92b6b
@ -308,7 +308,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
* an object is returned.
|
||||
*
|
||||
* 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 'hot_categories',
|
||||
* 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.
|
||||
*
|
||||
* Finally, the third filter, {@see 'themes_api_result'}, makes it possible to filter the
|
||||
@ -316,7 +316,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
*
|
||||
* Supported arguments per action:
|
||||
*
|
||||
* | Argument Name | 'query_plugins' | 'theme_information' | 'hot_tags' | 'feature_list' |
|
||||
* | Argument Name | 'query_themes' | 'theme_information' | 'hot_tags' | 'feature_list' |
|
||||
* | -------------------| :-------------: | :-----------------: | :--------: | :--------------: |
|
||||
* | `$slug` | No | Yes | No | No |
|
||||
* | `$per_page` | Yes | No | No | No |
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34648';
|
||||
$wp_version = '4.4-alpha-34649';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user