From 019bc2d244c4d536338d2c634419583e928143df Mon Sep 17 00:00:00 2001 From: desrosj Date: Fri, 19 Jun 2020 14:46:10 +0000 Subject: [PATCH] Docs: Add missing return type for `_remove_theme_support()`. See #49572. Built from https://develop.svn.wordpress.org/trunk@48091 git-svn-id: http://core.svn.wordpress.org/trunk@47858 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 9a122366de..e79474c988 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -2844,6 +2844,8 @@ function remove_theme_support( $feature ) { * @global Custom_Background $custom_background * * @param string $feature + * + * @return bool Returns true when support is removed, false when the feature was not registered. */ function _remove_theme_support( $feature ) { global $_wp_theme_features; diff --git a/wp-includes/version.php b/wp-includes/version.php index d78145e1f6..e27ca37322 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48090'; +$wp_version = '5.5-alpha-48091'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.