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 ''; }