From cdbda911aece6b039b4cfc9d9ae2625fcf41ff4a Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 11 Oct 2012 20:12:40 +0000 Subject: [PATCH] Twenty Ten: escape i18n attributes as late as possible, fixes cases in loop.php -- props mfields. See #21756. git-svn-id: http://core.svn.wordpress.org/trunk@22197 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/loop.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentyten/loop.php b/wp-content/themes/twentyten/loop.php index 3e22fe2477..044e14f12b 100644 --- a/wp-content/themes/twentyten/loop.php +++ b/wp-content/themes/twentyten/loop.php @@ -59,7 +59,7 @@ ID ) ) || in_category( _x( 'gallery', 'gallery category slug', '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"', + 'href="' . get_permalink() . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', number_format_i18n( $total_images ) ); ?>

@@ -128,7 +128,7 @@
> -

+