Docs: Improve documentation for the `$feature` parameter in the DocBlock for `add_theme_support()`.
See #32246. See #37067. Built from https://develop.svn.wordpress.org/trunk@37671 git-svn-id: http://core.svn.wordpress.org/trunk@37637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c63c4d9345
commit
916a055361
|
@ -1524,7 +1524,9 @@ function get_editor_stylesheets() {
|
||||||
*
|
*
|
||||||
* @global array $_wp_theme_features
|
* @global array $_wp_theme_features
|
||||||
*
|
*
|
||||||
* @param string $feature The feature being added.
|
* @param string $feature The feature being added. Likely core values include 'post-formats',
|
||||||
|
* 'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads',
|
||||||
|
* 'custom-header', 'custom-background', 'title-tag', etc.
|
||||||
* @return void|bool False on failure, void otherwise.
|
* @return void|bool False on failure, void otherwise.
|
||||||
*/
|
*/
|
||||||
function add_theme_support( $feature ) {
|
function add_theme_support( $feature ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.6-alpha-37670';
|
$wp_version = '4.6-alpha-37671';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue