Docs: After [37083], change "HEX format" to "3- or 6-digit hexadecimal form" for clarity.

Props swissspidy, theMikeD.
Fixes #36336.

git-svn-id: https://develop.svn.wordpress.org/trunk@39888 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-01-12 05:55:01 +00:00
parent 98657431de
commit 02cd4a1e97

View File

@ -950,18 +950,18 @@ function remove_theme_mods() {
}
/**
* Retrieves the custom header text color in HEX format.
* Retrieves the custom header text color in 3- or 6-digit hexadecimal form.
*
* @since 2.1.0
*
* @return string Header text color in HEX format (minus the hash symbol).
* @return string Header text color in 3- or 6-digit hexadecimal form (minus the hash symbol).
*/
function get_header_textcolor() {
return get_theme_mod('header_textcolor', get_theme_support( 'custom-header', 'default-text-color' ) );
}
/**
* Displays the custom header text color in HEX format (minus the hash symbol).
* Displays the custom header text color in 3- or 6-digit hexadecimal form (minus the hash symbol).
*
* @since 2.1.0
*/