Ticket #46134: 46134.diff
File 46134.diff, 703 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/theme.php
1075 1075 $header = get_custom_header(); 1076 1076 $header->url = get_header_image(); 1077 1077 1078 /** 1079 * Filters the markup of header images setup object. 1080 * 1081 * @since TODO 1082 * 1083 * @param object $header The custom header object returned by 'get_custom_header()' with 'get_header_image()' image URL. 1084 * @param array $attr Array of the attributes for the image tag. 1085 */ 1086 $header = apply_filters( 'header_image_tag_object', $header, $attr ); 1087 1078 1088 if ( ! $header->url ) { 1079 1089 return ''; 1080 1090 }