Make WordPress Core

Ticket #23799: 23799.5.patch

File 23799.5.patch, 857 bytes (added by lancewillett, 10 years ago)
  • wp-content/themes/twentythirteen/image.php

     
    6868                                                        );
    6969
    7070                                                        $metadata = wp_get_attachment_metadata();
    71                                                         printf( '<span class="attachment-meta full-size-link"><a href="%1$s" title="Link to full-size image">View full %2$s &times; %3$s resolution</a></span>',
     71                                                        printf( '<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s &times; %5$s)</a></span>', 
    7272                                                                esc_url( wp_get_attachment_url() ),
     73                                                                esc_attr__( 'Link to full-size image', 'twentythirteen' ),
     74                                                                __( 'View full resolution', 'twentythirteen' ),
    7375                                                                $metadata['width'],
    7476                                                                $metadata['height']
    7577                                                        );