diff --git src/wp-includes/theme.php src/wp-includes/theme.php
index cf1bb0f..bf0fb6c 100644
|
|
function get_header_image_tag( $attr = array() ) { |
1062 | 1062 | } |
1063 | 1063 | } |
1064 | 1064 | |
| 1065 | /** |
| 1066 | * Filters the list of header image attributes. |
| 1067 | * |
| 1068 | * @since 4.7.1 |
| 1069 | * |
| 1070 | * @param array $attr Array of the attributes for the image tag. |
| 1071 | * @param object $header The custom header object returned by 'get_custom_header()'. |
| 1072 | */ |
| 1073 | $attr = apply_filters( 'get_header_image_tag_attributes', $attr, $header ); |
| 1074 | |
1065 | 1075 | $attr = array_map( 'esc_attr', $attr ); |
1066 | 1076 | $html = '<img'; |
1067 | 1077 | |