From 916a0553613f0e033c2c38f6d19ce7c054a6a9a1 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 9 Jun 2016 20:34:55 +0000 Subject: [PATCH] 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 --- wp-includes/theme.php | 4 +++- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 0526fe8f65..74c5ccda78 100644 --- a/wp-includes/theme.php +++ b/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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 969702982f..66e4738c28 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.