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
2 changed files with 2 additions and 10 deletions
|
@ -18,8 +18,8 @@ get_header(); ?>
|
|||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
|
||||
the_post_navigation( array(
|
||||
'prev_text' => '<span class="nav-subtitle">' . __( 'Previous:', '_s' ) . '</span> <span class="nav-title">%title</span>',
|
||||
'next_text' => '<span class="nav-subtitle">' . __( 'Next:', '_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">' . 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue