diff --git a/wp-content/themes/twentyten/attachment.php b/wp-content/themes/twentyten/attachment.php index de81ec0119..7f17f2c3b9 100644 --- a/wp-content/themes/twentyten/attachment.php +++ b/wp-content/themes/twentyten/attachment.php @@ -22,24 +22,34 @@
By %3$s', 'twentyten'), - get_author_posts_url( get_the_author_meta( 'ID' ) ), - sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), - get_the_author() + printf(__('By %2$s', 'twentyten'), + 'meta-prep meta-prep-author', + sprintf( '%3$s', + get_author_posts_url( get_the_author_meta( 'ID' ) ), + sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), + get_the_author() + ) ); ?> - | + | Published %2$s', 'twentyten'), - esc_attr( get_the_time() ), - get_the_date() + printf( __('Published %2$s', 'twentyten'), + 'meta-prep meta-prep-entry-date', + sprintf( '%2$s', + esc_attr( get_the_time() ), + get_the_date() + ) ); if ( wp_attachment_is_image() ) { + echo ' | '; $size = getimagesize( wp_get_attachment_url() ); - printf( __( ' at %2$s × %3$s', 'twentyten'), - wp_get_attachment_url(), - $size[0], - $size[1] + printf( __( 'Full size is %s pixels', 'twentyten'), + sprintf( '%3$s × %4$s', + wp_get_attachment_url(), + esc_attr( __('Link to full-size image', 'twentyten') ), + $size[0], + $size[1] + ) ); } ?> @@ -50,7 +60,7 @@

ID, array( $attachment_size, 9999 ) ); // filterable image width with, essentially, no limit for image height. ?>

@@ -62,9 +72,9 @@
-
post_excerpt ) ) the_excerpt(); ?>
+
post_excerpt ) ) the_excerpt(); ?>
-→', 'twentyten' ) ); ?> +→', 'twentyten' ) ); ?> '' ) ); ?>
@@ -72,7 +82,7 @@
permalink.', 'twentyten' ); } else { $utility_text = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyten' ); @@ -86,16 +96,6 @@ get_post_comments_feed_link() ); ?> - - - Post a comment or leave a trackback: Trackback URL.', 'twentyten' ), get_trackback_url() ); ?> - - Trackback URL.', 'twentyten' ), get_trackback_url() ); ?> - - post a comment.', 'twentyten' ); ?> - - - ', '' ); ?>