From 886b254ec5dbe53ff835ed93339966000f096006 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 25 Jun 2020 17:39:44 +0000 Subject: [PATCH] Docs: Remove the `custom-header-uploads` feature from docs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was deprecated in [20212] in favor of passing `”uploads” => true` to the `custom-header` feature, so it should not be specified as an available feature in the parameter documentation. See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48169 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/theme.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index c0c94fc0ea..80b0f1c072 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -2449,6 +2449,7 @@ function get_theme_starter_content() { * ) ); * * @since 2.9.0 + * @since 3.4.0 The `custom-header-uploads` feature was deprecated. * @since 3.6.0 The `html5` feature was added. * @since 3.9.0 The `html5` feature now also accepts 'gallery' and 'caption'. * @since 4.1.0 The `title-tag` feature was added. @@ -2464,8 +2465,8 @@ function get_theme_starter_content() { * @global array $_wp_theme_features * * @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', 'starter-content', + * 'post-thumbnails', 'html5', 'custom-logo', 'custom-header', + * 'custom-background', 'title-tag', 'starter-content', * 'responsive-embeds', etc. * @param mixed ...$args Optional extra arguments to pass along with certain features. * @return void|bool False on failure, void otherwise.