Changeset 14610
- Timestamp:
- 05/13/2010 09:44:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r14536 r14610 1327 1327 */ 1328 1328 function get_header_textcolor() { 1329 return get_theme_mod('header_textcolor', HEADER_TEXTCOLOR); 1329 $default = defined('HEADER_TEXTCOLOR') ? HEADER_TEXTCOLOR : ''; 1330 1331 return get_theme_mod('header_textcolor', $default); 1330 1332 } 1331 1333 … … 1348 1350 */ 1349 1351 function get_header_image() { 1350 return get_theme_mod('header_image', HEADER_IMAGE); 1352 $default = defined('HEADER_IMAGE') ? HEADER_IMAGE : ''; 1353 1354 return get_theme_mod('header_image', $default); 1351 1355 } 1352 1356
Note: See TracChangeset
for help on using the changeset viewer.