From 21ea69a1d776cb53a38ca0f56a91b910fc0ac40f Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@17072 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 277be1ba4b..7f9d227c0f 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 ) ); ?>