From c14140269193bd896b5ff0780f39f5a986b06394 Mon Sep 17 00:00:00 2001 From: Abdul Wahab Date: Thu, 31 Oct 2019 17:10:45 +0500 Subject: [PATCH] Sanitize a string. --- inc/theme-options/theme-options.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inc/theme-options/theme-options.php b/inc/theme-options/theme-options.php index 41f15b8..6ca9d48 100644 --- a/inc/theme-options/theme-options.php +++ b/inc/theme-options/theme-options.php @@ -1191,8 +1191,7 @@ public function settings_fields() { 'info' => __( 'Replace default theme copyright information and links', 'fruitful' ), 'box-title' => __( 'Copyright section', 'fruitful' ), 'type' => 'textarea', - 'default' => __( 'Fruitful theme by fruitfulcode Powered by: WordPress', - 'fruitful' ), + 'default' => sprintf( __( 'Fruitful theme by %1$sfruitfulcode%2$s Powered by: %3$sWordPress%2$s', 'fruitful' ), '', '', '', '·' ), ) ) ); @@ -1569,4 +1568,4 @@ public function fruitful_theme_options_render_page() { } global $fruitful_theme_options; -$fruitful_theme_options = new fruitful_theme_options(); \ No newline at end of file +$fruitful_theme_options = new fruitful_theme_options();