Make WordPress Core

Ticket #46124: 46124.patch

File 46124.patch, 596 bytes (added by mukesh27, 6 years ago)

Updated patch.

  • src/wp-includes/theme.php

     
    10811081
    10821082        $width  = absint( $header->width );
    10831083        $height = absint( $header->height );
     1084        $alt = get_post_meta( $header->attachment_id, '_wp_attachment_image_alt', true );
    10841085
    10851086        $attr = wp_parse_args(
    10861087                $attr,
     
    10881089                        'src'    => $header->url,
    10891090                        'width'  => $width,
    10901091                        'height' => $height,
    1091                         'alt'    => get_bloginfo( 'name' ),
     1092                        'alt'    => $alt,
    10921093                )
    10931094        );
    10941095