Skip to content

Commit

Permalink
Merge pull request #342 from mailjet/DE-946-fix-widget-title-error
Browse files Browse the repository at this point in the history
New version: 5.3.3
  • Loading branch information
oleksandr-mykhailenko authored Jan 12, 2023
2 parents 3c6292f + fb93b6d commit ecfd508
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- Tags: email, marketing, signup, newsletter, widget, smtp, woocommerce, contact form 7
- Requires at least: 4.4
- Tested up to: 6.1.1
- Stable tag: 5.3.2
- Stable tag: 5.3.3
- Requires PHP: 5.6
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -205,13 +205,16 @@ find vendor/ -type d -name ".git" -exec rm -rf {} \;
7. Configure abandoned cart notifications for WooCommerce

## Changelog
##### 5.3.3
* Fixed bug with showing html in the widget title.

##### 5.3.2
* Fixed security issues according to plugin scanning. Sanitized some input args.

##### 5.3.1
* Fixed security issues according to plugin scanning. Added escaping for shown strings.

* ##### 5.3
##### 5.3
* Fixed security issues according to plugin scanning. Added escaping for shown strings. Added sanitizing for input vars

##### 5.2.25
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: Mailjet
Tags: email, marketing, signup, newsletter, widget, smtp, woocommerce, contact form 7
Requires at least: 4.4
Tested up to: 6.1.1
Stable tag: 5.3.2
Stable tag: 5.3.3
Requires PHP: 5.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -196,6 +196,9 @@ find vendor/ -type d -name ".git" -exec rm -rf {} \;
7. Configure abandoned cart notifications for WooCommerce

== Upgrade notice ==
= 5.3.3 =
* Fixed bug with showing html in the widget title.

= 5.3.2 =
* Fixed security issues according to plugin scanning. Sanitized some input args.

Expand Down
2 changes: 1 addition & 1 deletion src/widget/views/widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div id="mailjet-widget-title-wrap">
<?php
do_action('before_title_widget_mailjet');
echo esc_attr($before_title) . esc_html($title) . $after_title;
echo wp_kses_post($before_title . $title . $after_title);
do_action('after_title_widget_mailjet');
?>
</div>
Expand Down
4 changes: 2 additions & 2 deletions wp-mailjet.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Plugin Name: Mailjet for WordPress
* Plugin URI: https://www.mailjet.com/partners/wordpress/
* Description: The Best WordPress Plugin For Email Newsletters.
* Version: 5.3.2
* Version: 5.3.3
* Tested up to: 6.1.1
* Author: Mailjet SAS
* Author URI: http://mailjet.com
Expand Down Expand Up @@ -55,7 +55,7 @@
/**
* Mailjet plugin version.
*/
define('MAILJET_VERSION', '5.3.2');
define('MAILJET_VERSION', '5.3.3');

/**
* Mailjet Plugid dir.
Expand Down

0 comments on commit ecfd508

Please sign in to comment.