Ticket #46124: 46124.patch
File 46124.patch, 596 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/theme.php
1081 1081 1082 1082 $width = absint( $header->width ); 1083 1083 $height = absint( $header->height ); 1084 $alt = get_post_meta( $header->attachment_id, '_wp_attachment_image_alt', true ); 1084 1085 1085 1086 $attr = wp_parse_args( 1086 1087 $attr, … … 1088 1089 'src' => $header->url, 1089 1090 'width' => $width, 1090 1091 'height' => $height, 1091 'alt' => get_bloginfo( 'name' ),1092 'alt' => $alt, 1092 1093 ) 1093 1094 ); 1094 1095