From 9718bfb839cae032ab3b8cd4f3c3b2fc9babdb6e Mon Sep 17 00:00:00 2001 From: Bradley-D Date: Fri, 4 Jan 2019 11:13:04 +1000 Subject: [PATCH] [ UPDATE ] wpcs error - Opening parenthesis of a multi-line function call... --- template-parts/content.php | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/template-parts/content.php b/template-parts/content.php index 0573e82e53..c0df3ecd96 100644 --- a/template-parts/content.php +++ b/template-parts/content.php @@ -33,23 +33,27 @@
"%s"', '_s' ), - array( - 'span' => array( - 'class' => array(), - ), - ) - ), - get_the_title() - ) ); + the_content( + sprintf( + wp_kses( + /* translators: %s: Name of current post. Only visible to screen readers */ + __( 'Continue reading "%s"', '_s' ), + array( + 'span' => array( + 'class' => array(), + ), + ) + ), + get_the_title() + ) + ); - wp_link_pages( array( - 'before' => '', - ) ); + wp_link_pages( + array( + 'before' => '', + ) + ); ?>