From 65bc801eba5e10c3df66c2c06ee5465f5699d67c Mon Sep 17 00:00:00 2001 From: desrosj Date: Fri, 19 Jun 2020 14:44:02 +0000 Subject: [PATCH] Docs: Add missing return type for `_remove_theme_support()`. See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48091 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/theme.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 9a122366de..e79474c988 100644 --- a/src/wp-includes/theme.php +++ b/src/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;