37 | | printf( |
38 | | $published_text, |
39 | | esc_attr( get_the_date( 'c' ) ), |
40 | | esc_html( get_the_date() ), |
41 | | esc_url( get_permalink( $post->post_parent ) ), |
42 | | esc_attr( strip_tags( $post_title ) ), |
43 | | $post_title |
44 | | ); |
45 | | |
46 | | $metadata = wp_get_attachment_metadata(); |
47 | | printf( |
48 | | '<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s × %5$s)</a></span>', |
49 | | esc_url( wp_get_attachment_url() ), |
50 | | esc_attr__( 'Link to full-size image', 'twentythirteen' ), |
51 | | __( 'Full resolution', 'twentythirteen' ), |
52 | | $metadata['width'], |
53 | | $metadata['height'] |
54 | | ); |
55 | | |
56 | | edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); |
| 37 | printf( |
| 38 | $published_text, |
| 39 | esc_attr( get_the_date( 'c' ) ), |
| 40 | esc_html( get_the_date() ), |
| 41 | esc_url( get_permalink( $post->post_parent ) ), |
| 42 | esc_attr( strip_tags( $post_title ) ), |
| 43 | $post_title |
| 44 | ); |
| 45 | |
| 46 | $metadata = wp_get_attachment_metadata(); |
| 47 | printf( |
| 48 | '<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s × %5$s)</a></span>', |
| 49 | esc_url( wp_get_attachment_url() ), |
| 50 | esc_attr__( 'Link to full-size image', 'twentythirteen' ), |
| 51 | __( 'Full resolution', 'twentythirteen' ), |
| 52 | $metadata['width'], |
| 53 | $metadata['height'] |
| 54 | ); |
| 55 | |
| 56 | edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); |