WordPress.org

Make WordPress Core

Ticket #19282: 19282.patch

File 19282.patch, 462 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-includes/post-template.php

     
    11651165        $post_title = esc_attr( $_post->post_title ); 
    11661166 
    11671167        if ( $text ) 
    1168                 $link_text = esc_attr( $text ); 
     1168                $link_text = $text; 
    11691169        elseif ( $size && 'none' != $size ) 
    11701170                $link_text = wp_get_attachment_image( $id, $size, $icon ); 
    11711171        else