From 5c645d8cdeb112aa96d718833a2e53ae9d38fd00 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 9 Jun 2016 20:33:57 +0000 Subject: [PATCH] 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 --- src/wp-includes/theme.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 0526fe8f65..74c5ccda78 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -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 ) {