diff --git a/scratch-parent/framework-customizations/theme/options/demo-2.php b/scratch-parent/framework-customizations/theme/options/demo-2.php index b15c42e3..16ea0b83 100644 --- a/scratch-parent/framework-customizations/theme/options/demo-2.php +++ b/scratch-parent/framework-customizations/theme/options/demo-2.php @@ -527,7 +527,7 @@ 'label' => __('Addable Popup', 'fw'), 'type' => 'addable-popup', 'desc' => __('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'fw'), - 'template' => '{{=demo_text}}', + 'template' => '{{- demo_text }}', 'popup-options' => array( 'demo_text' => array( 'label' => __('Text', 'fw'), @@ -587,7 +587,7 @@ 'label' => __('Addable Popup', 'fw'), 'type' => 'addable-popup', 'desc' => __('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'fw'), - 'template' => 'Title color-picker value : {{=demo_color_picker}}', + 'template' => 'Title color-picker value : {{- demo_color_picker }}', 'popup-options' => array( 'demo_multi_upload_images' => array( 'label' => __('Multi Upload (images only)', 'fw'), @@ -659,7 +659,7 @@ ), ), ), - 'template' => '{{=demo_text}}', + 'template' => '{{- demo_text }}', ), 'demo_group_2' => array( 'type' => 'group', diff --git a/scratch-parent/framework-customizations/theme/options/demo.php b/scratch-parent/framework-customizations/theme/options/demo.php index 3d249653..4b0be39f 100644 --- a/scratch-parent/framework-customizations/theme/options/demo.php +++ b/scratch-parent/framework-customizations/theme/options/demo.php @@ -526,7 +526,7 @@ 'label' => __('Addable Popup', 'fw'), 'type' => 'addable-popup', 'desc' => __('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'fw'), - 'template' => '{{=demo_text}}', + 'template' => '{{- demo_text }}', 'popup-options' => array( 'demo_text' => array( 'label' => __('Text', 'fw'), @@ -585,7 +585,7 @@ 'label' => __('Addable Popup', 'fw'), 'type' => 'addable-popup', 'desc' => __('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'fw'), - 'template' => 'Title color-picker value : {{=demo_color_picker}}', + 'template' => 'Title color-picker value : {{- demo_color_picker }}', 'popup-options' => array( 'demo_multi_upload_images' => array( 'label' => __('Multi Upload (images only)', 'fw'), @@ -657,7 +657,7 @@ ), ), ), - 'template' => '{{=demo_text}}', + 'template' => '{{- demo_text }}', 'limit' => 3, ), 'demo_group' => array( diff --git a/scratch-parent/framework-customizations/theme/options/taxonomies/category.php b/scratch-parent/framework-customizations/theme/options/taxonomies/category.php index a893e8a4..3f0649b1 100644 --- a/scratch-parent/framework-customizations/theme/options/taxonomies/category.php +++ b/scratch-parent/framework-customizations/theme/options/taxonomies/category.php @@ -524,7 +524,7 @@ 'label' => __('Addable Popup', 'fw'), 'type' => 'addable-popup', 'desc' => __('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'fw'), - 'template' => '{{=demo_text}}', + 'template' => '{{- demo_text }}', 'popup-options' => array( 'demo_text' => array( 'label' => __('Text', 'fw'), @@ -583,7 +583,7 @@ 'label' => __('Addable Popup', 'fw'), 'type' => 'addable-popup', 'desc' => __('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'fw'), - 'template' => 'Title color-picker value : {{=demo_color_picker}}', + 'template' => 'Title color-picker value : {{- demo_color_picker }}', 'popup-options' => array( 'demo_multi_upload_images' => array( 'label' => __('Multi Upload (images only)', 'fw'), @@ -655,7 +655,7 @@ ), ), ), - 'template' => '{{=demo_text}}', + 'template' => '{{- demo_text }}', 'limit' => 3, ), ); \ No newline at end of file diff --git a/scratch-parent/framework/includes/option-types/addable-box/static/js/scripts.js b/scratch-parent/framework/includes/option-types/addable-box/static/js/scripts.js index e07cfc0d..d5d21b98 100644 --- a/scratch-parent/framework/includes/option-types/addable-box/static/js/scripts.js +++ b/scratch-parent/framework/includes/option-types/addable-box/static/js/scripts.js @@ -159,7 +159,7 @@ jQuery(document).ready(function ($) { $box.removeClass(titleUpdater.pendingClass); - $box.find('> h3.hndle span:not([class])').first().text( + $box.find('> h3.hndle span:not([class])').first().html( this.template(data.template, JSON.parse(values)) ); @@ -192,7 +192,7 @@ jQuery(document).ready(function ($) { template = '[Ajax Error] '+ response.data.message } - $box.find('> h3.hndle span:not([class])').first().text(template); + $box.find('> h3.hndle span:not([class])').first().html(template); delete data; diff --git a/scratch-parent/framework/manifest.php b/scratch-parent/framework/manifest.php index d5718575..ea5c72b6 100644 --- a/scratch-parent/framework/manifest.php +++ b/scratch-parent/framework/manifest.php @@ -4,6 +4,6 @@ $manifest['name'] = __('Unyson', 'fw'); -$manifest['version'] = '1.4.15'; +$manifest['version'] = '1.4.16'; $manifest['github_update'] = 'ThemeFuse/Unyson-Framework';