Make WordPress Core

Ticket #23799: 23799.4.patch

File 23799.4.patch, 966 bytes (added by Jayjdk, 10 years ago)

Removes the dimensions from the string

  • wp-content/themes/twentythirteen/image.php

     
    6767                                                                $post_title
    6868                                                        );
    6969
    70                                                         $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>',
     70                                                        printf( '<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s</a></span>', 
    7271                                                                esc_url( wp_get_attachment_url() ),
    73                                                                 $metadata['width'],
    74                                                                 $metadata['height']
     72                                                                esc_attr__( 'Link to full-size image', 'twentythirteen' ),
     73                                                                __( 'View full resolution', 'twentythirteen' )
    7574                                                        );
    7675
    7776                                                        edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>