diff --git a/README.txt b/README.txt index 6af6e65..21dd898 100644 --- a/README.txt +++ b/README.txt @@ -3,7 +3,7 @@ Contributors: sailthru-wp Tags: personalization, email, Requires at least: 5.5 Tested up to: 5.7 -Stable tag: 4.3.1 +Stable tag: 4.3.2 Provides an integration with Sailthru diff --git a/changelog.md b/changelog.md index bce557c..4e7d266 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## v4.3.2 (2024-02-23) +Added for in label and id in input field + ## v4.3.1 (2023-07-07) Added fix for ad-blocker diff --git a/plugin.php b/plugin.php index d6a9d56..39f325c 100644 --- a/plugin.php +++ b/plugin.php @@ -3,7 +3,7 @@ Plugin Name: Sailthru for WordPress Plugin URI: http://sailthru.com/ Description: Add the power of Sailthru to your WordPress set up. -Version: 4.3.1 +Version: 4.3.2 Requires at least: 5.5 Author: Sailthru Author URI: http://sailthru.com @@ -36,7 +36,7 @@ * @var const $version The current version of the plugin. */ if ( ! defined( 'SAILTHRU_PLUGIN_VERSION' ) ) { - define( 'SAILTHRU_PLUGIN_VERSION', '4.3.1' ); + define( 'SAILTHRU_PLUGIN_VERSION', '4.3.2' ); } if ( ! defined( 'SAILTHRU_PLUGIN_PATH' ) ) { @@ -180,7 +180,7 @@ function sailthru_deactivate( $network_wide ) { */ function sailthru_uninstall( $network_wide ) { remove_options(); -} +} function remove_options() { diff --git a/views/widget.subscribe.display.php b/views/widget.subscribe.display.php index ba991d4..7646090 100644 --- a/views/widget.subscribe.display.php +++ b/views/widget.subscribe.display.php @@ -63,8 +63,8 @@
- - + +
'; } elseif ( 'checkbox' === $customfields[ $field_key ]['sailthru_customfield_type'] ) { $items = explode( ',', $customfields[ $field_key ]['sailthru_customfield_value'] ); - + echo '
'; echo ''; - + foreach ( $items as $item ) { - + if ( ! empty( $item ) ) { $vals = explode( ':', $item ); @@ -199,7 +199,7 @@ } - + echo 'type="checkbox" name="custom_' . esc_attr( $name_stripped ) . (count( $items) > 1 ? '[]' : '') . '" value="' . esc_attr( $vals[1] ) . '" ' . ( sailthru_field_class( $customfields[ $field_key ]['sailthru_customfield_class'], $customfields[ $field_key ]['sailthru_customfield_type'] ) ) . ' ' . esc_attr( sailthru_attributes( $attributes ) ) . '> ' . esc_html( $vals[0] ) . ''; } }