From 130495e1c48977cfee04ed16657797e3f1a3f155 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 1 Apr 2019 16:21:50 +0000 Subject: [PATCH] Docs: Correct `@param` description for `remove_theme_support()`. Add `@return` description for `current_theme_supports()`. See #46543. Built from https://develop.svn.wordpress.org/trunk@45089 git-svn-id: http://core.svn.wordpress.org/trunk@44898 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 23907bc549..e688cc66fa 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -2634,7 +2634,7 @@ function _custom_logo_header_styles() { * * @global array $_wp_theme_features * - * @param string $feature the feature to check + * @param string $feature The feature to check. * @return mixed The array of extra arguments or the value for the registered feature. */ function get_theme_support( $feature ) { @@ -2670,7 +2670,7 @@ function get_theme_support( $feature ) { * * @since 3.0.0 * @see add_theme_support() - * @param string $feature the feature being added + * @param string $feature The feature being removed. * @return bool|void Whether feature was removed. */ function remove_theme_support( $feature ) { @@ -2743,14 +2743,14 @@ function _remove_theme_support( $feature ) { } /** - * Checks a theme's support for a given feature + * Checks a theme's support for a given feature. * * @since 2.9.0 * * @global array $_wp_theme_features * - * @param string $feature the feature being checked - * @return bool + * @param string $feature The feature being checked. + * @return bool True if the current theme supports the feature, false otherwise. */ function current_theme_supports( $feature ) { global $_wp_theme_features; diff --git a/wp-includes/version.php b/wp-includes/version.php index 6d1b73ecef..31219575bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45088'; +$wp_version = '5.2-beta1-45089'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.