diff --git a/functions/czr/czr-resources.php b/functions/czr/czr-resources.php
index 0ff0de94..eb6c241c 100644
--- a/functions/czr/czr-resources.php
+++ b/functions/czr/czr-resources.php
@@ -231,24 +231,24 @@ function hu_add_customize_preview_data() {
//hook : 'customize_controls_enqueue_scripts':10
function hu_extend_ctrl_dependencies() {
- $_header_img_notice = sprintf( __( "When the %s, this element will not be displayed in your header.", 'hueman'),
+ $_header_img_notice = esc_js( sprintf( __( "When the %s, this element will not be displayed in your header.", 'hueman'),
sprintf('%2$s',
"javascript:wp.customize.section(\'header_design_sec\').focus();",
__('header image is enabled', 'hueman')
)
- );
- $_front_page_content_notice = sprintf( __( "Jump to the %s.", 'hueman'),
+ ) );
+ $_front_page_content_notice = esc_js( sprintf( __( "Jump to the %s.", 'hueman'),
sprintf('%2$s',
"javascript:wp.customize.section(\'content_blog_sec\').focus();",
__('blog design panel', 'hueman')
)
- );
- $_header_menu_notice = sprintf( __( "The menu currently displayed in your header is a default page menu, you can disable it in the %s.", 'hueman'),
+ ) );
+ $_header_menu_notice = esc_js( sprintf( __( "The menu currently displayed in your header is a default page menu, you can disable it in the %s.", 'hueman'),
sprintf('%2$s',
"javascript:wp.customize.section(\'header_menu_sec\').focus();",
__('Header Panel', 'hueman')
)
- );
+ ) );
?>