From 55725de979f89cc847594dfa6d701416b68c583b Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 5 Dec 2013 22:46:50 +0000 Subject: [PATCH] Twenty Fourteen: remove redundant parentheses and translation wrapper, see #25946. git-svn-id: https://develop.svn.wordpress.org/trunk@26698 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/inc/template-tags.php | 2 +- src/wp-content/themes/twentyfourteen/inc/widgets.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/inc/template-tags.php b/src/wp-content/themes/twentyfourteen/inc/template-tags.php index 01c605d935..dee499e1e2 100644 --- a/src/wp-content/themes/twentyfourteen/inc/template-tags.php +++ b/src/wp-content/themes/twentyfourteen/inc/template-tags.php @@ -111,7 +111,7 @@ function twentyfourteen_posted_on() { } // Set up and print post meta information. - printf( __( ' ', 'twentyfourteen' ), + printf( ' ', esc_url( get_permalink() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), diff --git a/src/wp-content/themes/twentyfourteen/inc/widgets.php b/src/wp-content/themes/twentyfourteen/inc/widgets.php index 041680de21..f78effedb3 100644 --- a/src/wp-content/themes/twentyfourteen/inc/widgets.php +++ b/src/wp-content/themes/twentyfourteen/inc/widgets.php @@ -167,7 +167,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget { the_title( '

', '

' ); endif; - printf( ( ' ' ), + printf( ' ', esc_url( get_permalink() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ),