diff --git a/lib/admin/ui-elements/ui-ace-editor/ui-ace-editor.php b/lib/admin/ui-elements/ui-ace-editor/ui-ace-editor.php index 53e79f13..ca8d0c2b 100644 --- a/lib/admin/ui-elements/ui-ace-editor/ui-ace-editor.php +++ b/lib/admin/ui-elements/ui-ace-editor/ui-ace-editor.php @@ -53,10 +53,10 @@ public function render() { } $html .= '
'; $html .= ''; $html .= '
';
-					$html .= htmlspecialchars( $this->settings['value'] );
+					$html .= stripslashes( $this->settings['value'] );
 				$html .= '
'; $html .= '
'; diff --git a/lib/admin/ui-elements/ui-repeater/ui-repeater.php b/lib/admin/ui-elements/ui-repeater/ui-repeater.php index 90bce9fa..c551ed86 100644 --- a/lib/admin/ui-elements/ui-repeater/ui-repeater.php +++ b/lib/admin/ui-elements/ui-repeater/ui-repeater.php @@ -70,15 +70,15 @@ public function render() { $html .= '
'; $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= '
'; - $html .= ''; + $html .= ''; $html .= '
'; $html .= '
'; diff --git a/lib/classes/class-cherry-css-compiler.php b/lib/classes/class-cherry-css-compiler.php index efd6d821..3e0c5a66 100644 --- a/lib/classes/class-cherry-css-compiler.php +++ b/lib/classes/class-cherry-css-compiler.php @@ -463,7 +463,7 @@ function prepare_dynamic_css() { $data = ob_get_clean(); - $user_css = cherry_get_option( 'general-user-css' ); + $user_css = apply_filters( 'cherry_dynamic_user_css', html_entity_decode( wp_unslash( (string) cherry_get_option( 'general-user-css' ) ) ) ); if ( $user_css ) { $data .= $user_css; diff --git a/lib/classes/class-cherry-optionsframework.php b/lib/classes/class-cherry-optionsframework.php index 36afb9c9..06696f22 100644 --- a/lib/classes/class-cherry-optionsframework.php +++ b/lib/classes/class-cherry-optionsframework.php @@ -226,13 +226,6 @@ public function create_updated_options( $post_array ) { $options[$section_name]['options-list'][$key] = $check_value; } break; - case 'repeater': - if ( isset( $post_array[ $key ] ) ) { - $options[$section_name]['options-list'][$key] = $post_array[$key]; - }else{ - $options[$section_name]['options-list'][$key] = array(); - } - break; default: if (isset($post_array[$key])) { $options[$section_name]['options-list'][$key] = $post_array[$key]; diff --git a/lib/functions/filters.php b/lib/functions/filters.php index 29c4c614..e4842381 100644 --- a/lib/functions/filters.php +++ b/lib/functions/filters.php @@ -61,6 +61,10 @@ // Add mobile menu trigger to `Primary` nav menu. add_filter( 'wp_nav_menu', 'cherry_add_mobile_menu_trigger', 10, 2 ); +// Removed a live chats. +remove_filter( 'after_setup_theme', array( 'Cherry_Live_Chat_Class', 'get_instance' ), 11 ); +remove_filter( 'after_setup_theme', array( 'Monstroid_Live_Chat_Class', 'get_instance' ), 11 ); + function cherry_add_body_control_classes( $classes, $class ) { diff --git a/style.css b/style.css index e4360a49..1c60dd8c 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ Theme URI: http://www.cherryframework.com/ Author: Cherry Team Author URI: http://www.cherryframework.com/ Description: Cherry Framework parent theme based on _s started theme for WordPress with enhanced functionality and extended possibilities. -Version: 4.0.5.4-beta +Version: 4.0.5.4 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: fixed-layout, fluid-layout, responsive-layout, left-sidebar, right-sidebar, custom-menu, featured-images, full-width-template, post-formats, sticky-post, theme-options, translation-ready