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. Built from https://develop.svn.wordpress.org/trunk@37083 git-svn-id: http://core.svn.wordpress.org/trunk@37050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3a151191e4
commit
cb457da489
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-RC1-37080';
|
||||
$wp_version = '4.5-RC1-37083';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue