Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
himadree committed Sep 9, 2024
2 parents 87c3d2e + 35bf089 commit 1574dc8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions includes/Elements/Fancy_Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,6 @@ public function fancy_text($settings) {
}

protected function render() {


$settings = $this->get_settings_for_display();
$fancy_text = $this->fancy_text($settings['eael_fancy_text_strings']);
if(!apply_filters('eael/pro_enabled', false)) { $settings['eael_fancy_text_style'] = 'style-1'; }
Expand Down Expand Up @@ -654,5 +652,4 @@ protected function render() {

}

protected function content_template() {}
}
2 changes: 1 addition & 1 deletion includes/Elements/Filterable_Gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -4033,7 +4033,7 @@ protected function render_editor_script()
callbacks: {
markupParse: function(template, values, item) {
if( item.el.attr('title') !== "" ) {
values.title = item.el.attr('title');
values.title = DOMPurify.sanitize(item.el.attr('title'));
}
},
open: function() {
Expand Down

0 comments on commit 1574dc8

Please sign in to comment.