From fff62c569bc161fd8c37071ff382d560f62e15d9 Mon Sep 17 00:00:00 2001 From: rodica-andronache Date: Tue, 7 Jun 2016 16:18:01 +0300 Subject: [PATCH] !!! #29 sanitize about us section --- template-parts/content-single.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/template-parts/content-single.php b/template-parts/content-single.php index 8a2fdae..a43485e 100644 --- a/template-parts/content-single.php +++ b/template-parts/content-single.php @@ -62,15 +62,15 @@ '; if( !empty($author_first_name) ) { - echo $author_first_name . ' '; + echo sanitize_text_field($author_first_name) . ' '; } if( !empty($author_last_name) ) { - echo $author_last_name; + echo sanitize_text_field($author_last_name); } echo ''; }