forked from mirror/_s
Removing duplicate entry in the translation file. Switching the translation function for single post navigation to esc_html__
This commit is contained in:
parent
142e2d5030
commit
8878f1ad7d
|
@ -83,14 +83,6 @@ msgstr ""
|
||||||
msgid "Next:"
|
msgid "Next:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. translators: %s: post date.
|
|
||||||
#: inc/template-tags.php:29
|
|
||||||
#, php-format
|
|
||||||
#@ _s
|
|
||||||
msgctxt "post date"
|
|
||||||
msgid "Posted on %s"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: inc/template-tags.php:52
|
#: inc/template-tags.php:52
|
||||||
#. translators: used between list items, there is a space after the comma
|
#. translators: used between list items, there is a space after the comma
|
||||||
msgid ", "
|
msgid ", "
|
||||||
|
|
|
@ -18,8 +18,8 @@ get_header(); ?>
|
||||||
get_template_part( 'template-parts/content', get_post_type() );
|
get_template_part( 'template-parts/content', get_post_type() );
|
||||||
|
|
||||||
the_post_navigation( array(
|
the_post_navigation( array(
|
||||||
'prev_text' => '<span class="nav-subtitle">' . __( 'Previous:', '_s' ) . '</span> <span class="nav-title">%title</span>',
|
'prev_text' => '<span class="nav-subtitle">' . esc_html__( 'Previous:', '_s' ) . '</span> <span class="nav-title">%title</span>',
|
||||||
'next_text' => '<span class="nav-subtitle">' . __( 'Next:', '_s' ) . '</span> <span class="nav-title">%title</span>',
|
'next_text' => '<span class="nav-subtitle">' . esc_html__( 'Next:', '_s' ) . '</span> <span class="nav-title">%title</span>',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
// If comments are open or we have at least one comment, load up the comment template.
|
// If comments are open or we have at least one comment, load up the comment template.
|
||||||
|
|
Reference in New Issue