From 0b6af900f19169eb9d462e8b25a9d729e2050b75 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 25 Mar 2016 23:05:42 +0000 Subject: [PATCH] Docs: Improve the DocBlocks for `get_header_textcolor()` and `header_textcolor()` to mention that they both retrieve color values in the HEX format. Props theMikeD. Fixes #36336. git-svn-id: https://develop.svn.wordpress.org/trunk@37083 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/theme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 49ecdbbb3f..2885fd4dc9 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -949,18 +949,18 @@ function remove_theme_mods() { } /** - * Retrieve text color for custom header. + * Retrieves the custom header text color in HEX format. * * @since 2.1.0 * - * @return string + * @return string Header text color in HEX format (minus the hash symbol). */ function get_header_textcolor() { return get_theme_mod('header_textcolor', get_theme_support( 'custom-header', 'default-text-color' ) ); } /** - * Display text color for custom header. + * Displays the custom header text color in HEX format (minus the hash symbol). * * @since 2.1.0 */