From be21df74eeb13994aed5ae489376a960cd9903a1 Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 20 Dec 2010 09:34:58 +0000 Subject: [PATCH] Handle 'This gallery contains X photos' properly in Twenty Ten. fixes #15858. git-svn-id: http://svn.automattic.com/wordpress/trunk@17072 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/loop.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyten/loop.php b/wp-content/themes/twentyten/loop.php index 277be1ba4..7f9d227c0 100644 --- a/wp-content/themes/twentyten/loop.php +++ b/wp-content/themes/twentyten/loop.php @@ -82,9 +82,9 @@ $comment_number_template = _n( '1 Comment', '% Comments', get_comments_number(), -

%2$s photos.', 'twentyten' ), +

%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyten' ), 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"', - $total_images + number_format_i18n( $total_images ) ); ?>