Docs: Improve documentation for the `$feature` parameter in the DocBlock for `add_theme_support()`.

See #32246. See #37067.


git-svn-id: https://develop.svn.wordpress.org/trunk@37671 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-06-09 20:33:57 +00:00
parent 15a12ce4f0
commit 5c645d8cde
1 changed files with 3 additions and 1 deletions

View File

@ -1524,7 +1524,9 @@ function get_editor_stylesheets() {
*
* @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.
*/
function add_theme_support( $feature ) {