Skip to content

Commit ebc0b3a

Browse files
[INT-889] Resolved-issue-with-quotes-not-encoding-properly
1 parent 8b2d83a commit ebc0b3a

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: sailthru-wp
33
Tags: personalization, email,
44
Requires at least: 5.5
55
Tested up to: 5.7
6-
Stable tag: 4.3.6
6+
Stable tag: 4.3.7
77

88
Provides an integration with Sailthru
99

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## v4.3.7 (2024-06-06)
3+
Resolved issue with quotes not encoding properly
4+
25
## v4.3.6 (2024-06-06)
36
Quotes encoding issue fixed
47

plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Sailthru for WordPress
44
Plugin URI: http://sailthru.com/
55
Description: Add the power of Sailthru to your WordPress set up.
6-
Version: 4.3.6
6+
Version: 4.3.7
77
Requires at least: 5.5
88
Author: Sailthru
99
Author URI: http://sailthru.com
@@ -36,7 +36,7 @@
3636
* @var const $version The current version of the plugin.
3737
*/
3838
if ( ! defined( 'SAILTHRU_PLUGIN_VERSION' ) ) {
39-
define( 'SAILTHRU_PLUGIN_VERSION', '4.3.6' );
39+
define( 'SAILTHRU_PLUGIN_VERSION', '4.3.7' );
4040
}
4141

4242
if ( ! defined( 'SAILTHRU_PLUGIN_PATH' ) ) {

widget.subscribe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function add_subscriber() {
353353
}
354354
} else {
355355
$var_name = str_replace( 'custom_', '', $name_stripped );
356-
$vars[ $var_name ] = sanitize_text_field( $_POST[ 'custom_' . $name_stripped ] );
356+
$vars[ $var_name ] = sanitize_text_field( stripslashes ($_POST[ 'custom_' . $name_stripped ] ) );
357357
}
358358
}
359359
}

0 commit comments

Comments
 (0)