From c77c6ae9cb7258acf3279ba950a8e2440faa9921 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: https://develop.svn.wordpress.org/trunk@22197 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 @@
> -

+