From dd64f17ab73bc7131657528d10ca5a80314a6955 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 10 Dec 2011 19:18:51 +0000 Subject: [PATCH] More consistent attribute escaping. Props nacin. git-svn-id: http://svn.automattic.com/wordpress/trunk@19582 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/content-image.php | 2 +- wp-content/themes/twentyeleven/content-single.php | 2 +- wp-content/themes/twentyeleven/functions.php | 7 +++---- wp-content/themes/twentyeleven/image.php | 5 +++-- wp-content/themes/twentyeleven/style.css | 2 +- wp-content/themes/twentyten/functions.php | 2 +- wp-content/themes/twentyten/loop-attachment.php | 8 ++++---- wp-content/themes/twentyten/loop-single.php | 2 +- wp-content/themes/twentyten/style.css | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/wp-content/themes/twentyeleven/content-image.php b/wp-content/themes/twentyeleven/content-image.php index 8f2ab2dad..c26eb637d 100644 --- a/wp-content/themes/twentyeleven/content-image.php +++ b/wp-content/themes/twentyeleven/content-image.php @@ -36,7 +36,7 @@ get_the_date( 'c' ), get_the_date(), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), - sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), + esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), get_the_author() ); ?> diff --git a/wp-content/themes/twentyeleven/content-single.php b/wp-content/themes/twentyeleven/content-single.php index c246b74a1..f2070aa8e 100644 --- a/wp-content/themes/twentyeleven/content-single.php +++ b/wp-content/themes/twentyeleven/content-single.php @@ -57,7 +57,7 @@
-

+

post_excerpt ) ) the_excerpt(); ?>
diff --git a/wp-content/themes/twentyten/loop-single.php b/wp-content/themes/twentyten/loop-single.php index c12d47b2c..4d89a6a0d 100644 --- a/wp-content/themes/twentyten/loop-single.php +++ b/wp-content/themes/twentyten/loop-single.php @@ -40,7 +40,7 @@
-

+