Fix WPCS errors

This commit is contained in:
Ismail El Korchi 2020-04-17 22:24:27 +01:00
parent 99b9ca117a
commit 40978b6b78
1 changed files with 6 additions and 4 deletions

View File

@ -19,10 +19,12 @@ get_header();
get_template_part( 'template-parts/content', get_post_type() );
the_post_navigation( array(
'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>',
) );
the_post_navigation(
array(
'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.
if ( comments_open() || get_comments_number() ) :