Changeset 20240
- Timestamp:
- 03/21/2012 06:48:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r20238 r20240 920 920 921 921 /** 922 * Whether to display the header text. 923 * 924 * @since 3.4.0 925 * 926 * @return bool 927 */ 928 function display_header_text() { 929 if ( ! current_theme_supports( 'custom-header', 'header-text' ) ) 930 return false; 931 932 $text_color = get_theme_mod( 'header_textcolor', get_theme_support( 'custom-header', 'default-text-color' ) ); 933 return $text_color && 'blank' != $text_color; 934 } 935 936 /** 922 937 * Retrieve header image for custom header. 923 938 *
Note: See TracChangeset
for help on using the changeset viewer.