Ticket #16268: 16268.2.diff
File 16268.2.diff, 503 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/theme.php
1055 1055 } 1056 1056 1057 1057 /** 1058 * Checks whether a header image is set or not 1059 * 1060 * @return boolean 1061 */ 1062 function has_header_image() { 1063 $header_image = get_header_image(); 1064 return !empty( $header_image ); 1065 } 1066 1067 /** 1058 1068 * Get random header image data from registered images in theme. 1059 1069 * 1060 1070 * @since 3.4.0