From 74eb9552bf6685834460b0eaba8a597430674049 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 21 Jan 2015 20:59:15 +0000 Subject: [PATCH] Twenty Twelve: fix escaping and minor code style issues. See #29127. git-svn-id: https://develop.svn.wordpress.org/trunk@31261 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwelve/author.php | 2 +- src/wp-content/themes/twentytwelve/functions.php | 6 ++---- src/wp-content/themes/twentytwelve/image.php | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/wp-content/themes/twentytwelve/author.php b/src/wp-content/themes/twentytwelve/author.php index 6570108e7e..4e95eafc22 100644 --- a/src/wp-content/themes/twentytwelve/author.php +++ b/src/wp-content/themes/twentytwelve/author.php @@ -29,7 +29,7 @@ get_header(); ?> ?>
-

' . get_the_author() . '' ); ?>

+

' . get_the_author() . '' ); ?>

max_num_pages > 1 ) : ?> - 1 ) : $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); else : // or get the URL of the first image attachment - $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + $next_attachment_url = get_attachment_link( $attachments[0]->ID ); endif; else : // or, if there's only 1 image, get the URL of the image