From e9f7c78d38b6684af467698c2eacc99a1d41c3af Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 9 Dec 2014 18:56:22 +0000 Subject: [PATCH] In Twenty Thirteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised. See #30641 Built from https://develop.svn.wordpress.org/trunk@30795 git-svn-id: http://core.svn.wordpress.org/trunk@30785 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/content-aside.php | 4 ++-- wp-content/themes/twentythirteen/content-audio.php | 4 ++-- wp-content/themes/twentythirteen/content-chat.php | 4 ++-- wp-content/themes/twentythirteen/content-gallery.php | 4 ++-- wp-content/themes/twentythirteen/content-image.php | 4 ++-- wp-content/themes/twentythirteen/content-link.php | 4 ++-- wp-content/themes/twentythirteen/content-quote.php | 4 ++-- wp-content/themes/twentythirteen/content-status.php | 4 ++-- wp-content/themes/twentythirteen/content-video.php | 4 ++-- wp-content/themes/twentythirteen/content.php | 4 ++-- wp-content/themes/twentythirteen/functions.php | 2 +- wp-includes/version.php | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/wp-content/themes/twentythirteen/content-aside.php b/wp-content/themes/twentythirteen/content-aside.php index 373dde79e2..fbc01e618d 100644 --- a/wp-content/themes/twentythirteen/content-aside.php +++ b/wp-content/themes/twentythirteen/content-aside.php @@ -13,8 +13,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content-audio.php b/wp-content/themes/twentythirteen/content-audio.php index c36676464d..73a0d692b5 100644 --- a/wp-content/themes/twentythirteen/content-audio.php +++ b/wp-content/themes/twentythirteen/content-audio.php @@ -24,8 +24,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content-chat.php b/wp-content/themes/twentythirteen/content-chat.php index 3df4d29496..6a40b89326 100644 --- a/wp-content/themes/twentythirteen/content-chat.php +++ b/wp-content/themes/twentythirteen/content-chat.php @@ -23,8 +23,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content-gallery.php b/wp-content/themes/twentythirteen/content-gallery.php index 1442959fda..a43647f73e 100644 --- a/wp-content/themes/twentythirteen/content-gallery.php +++ b/wp-content/themes/twentythirteen/content-gallery.php @@ -24,8 +24,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content-image.php b/wp-content/themes/twentythirteen/content-image.php index b28f9f7644..01e2f34793 100644 --- a/wp-content/themes/twentythirteen/content-image.php +++ b/wp-content/themes/twentythirteen/content-image.php @@ -23,8 +23,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content-link.php b/wp-content/themes/twentythirteen/content-link.php index e78bb3222f..cc02d8240b 100644 --- a/wp-content/themes/twentythirteen/content-link.php +++ b/wp-content/themes/twentythirteen/content-link.php @@ -24,8 +24,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content-quote.php b/wp-content/themes/twentythirteen/content-quote.php index a0d77fe303..ac4de67293 100644 --- a/wp-content/themes/twentythirteen/content-quote.php +++ b/wp-content/themes/twentythirteen/content-quote.php @@ -13,8 +13,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content-status.php b/wp-content/themes/twentythirteen/content-status.php index 8b7f7d4b35..e0e51f30ea 100644 --- a/wp-content/themes/twentythirteen/content-status.php +++ b/wp-content/themes/twentythirteen/content-status.php @@ -13,8 +13,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content-video.php b/wp-content/themes/twentythirteen/content-video.php index e74058d3bc..8118a080fc 100644 --- a/wp-content/themes/twentythirteen/content-video.php +++ b/wp-content/themes/twentythirteen/content-video.php @@ -23,8 +23,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/content.php b/wp-content/themes/twentythirteen/content.php index 447b7cde9b..98b6c31955 100644 --- a/wp-content/themes/twentythirteen/content.php +++ b/wp-content/themes/twentythirteen/content.php @@ -41,8 +41,8 @@ ', ' ', false ) + __( 'Continue reading %s ', 'twentythirteen' ), + the_title( '', '', false ) ) ); wp_link_pages( array( 'before' => '', 'link_before' => '', 'link_after' => '' ) ); diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index b21b24000e..5d0b0a38d8 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -475,7 +475,7 @@ function twentythirteen_excerpt_more( $more ) { $link = sprintf( '%2$s', esc_url( get_permalink( get_the_ID() ) ), /* translators: %s: Name of current post */ - sprintf( esc_html__( 'Continue reading %s', 'twentythirteen' ), '' . get_the_title( get_the_ID() ) . ' ' ) + sprintf( __( 'Continue reading %s ', 'twentythirteen' ), '' . get_the_title( get_the_ID() ) . '' ) ); return ' … ' . $link; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 6c66aa03b0..4582242263 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30794'; +$wp_version = '4.1-beta2-30795'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.