Merge pull request #1117 from Automattic/continue-reading-i18n

Improve "Continue reading" word order for internationalization.

Fixes #1088
This commit is contained in:
David A. Kennedy 2017-06-12 06:28:38 -04:00 committed by GitHub
commit 0f49e8a530
1 changed files with 3 additions and 3 deletions

View File

@ -30,15 +30,15 @@
<?php
the_content( sprintf(
wp_kses(
/* translators: %s: Name of current post. */
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', '_s' ),
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', '_s' ),
array(
'span' => array(
'class' => array(),
),
)
),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
get_the_title()
) );
wp_link_pages( array(