Skip to content

Commit

Permalink
Merge pull request #124 from sailthru/INT-965-remove-custom-fields-dr…
Browse files Browse the repository at this point in the history
…opdown-admin

Remove custom fields from admin panel dropdown
  • Loading branch information
PolepalliGayathri authored Aug 1, 2024
2 parents 9dc532d + 8377522 commit eb21493
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: sailthru-wp
Tags: personalization, email,
Requires at least: 5.5
Tested up to: 5.7
Stable tag: 4.3.7
Stable tag: 4.3.8

Provides an integration with Sailthru

Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## v4.3.8 (2024-07-26)
Custom fields: Radio buttons, checkboxes, hidden fields, and select options not working so removed from dropdown.

## v4.3.7 (2024-06-06)
Resolved issue with quotes not encoding properly

Expand Down
4 changes: 2 additions & 2 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.7
Version: 4.3.8
Requires at least: 5.5
Author: Sailthru
Author URI: http://sailthru.com
Expand Down Expand Up @@ -36,7 +36,7 @@
* @var const $version The current version of the plugin.
*/
if ( ! defined( 'SAILTHRU_PLUGIN_VERSION' ) ) {
define( 'SAILTHRU_PLUGIN_VERSION', '4.3.7' );
define( 'SAILTHRU_PLUGIN_VERSION', '4.3.8' );
}

if ( ! defined( 'SAILTHRU_PLUGIN_PATH' ) ) {
Expand Down
4 changes: 0 additions & 4 deletions views/admin.functions.subscribe.options.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ function field_type( $args ) {
<option value="text"' . selected( esc_attr( $value ), 'text' ) . '>Text Field</option>
<option value="tel"' . selected( esc_attr( $value ), 'tel' ) . '>Telephone</option>
<option value="date"' . selected( esc_attr( $value ), 'date' ) . '>Date</option>
<option value="hidden"' . selected( esc_attr( $value ), 'hidden' ) . '>Hidden</option>
<option value="select"' . selected( esc_attr( $value ), 'select' ) . '>Select</option>
<option value="radio"' . selected( esc_attr( $value ), 'radio' ) . '>Radio</option>
<option value="checkbox"' . selected( esc_attr( $value ), 'radio' ) . '>Checkbox</option>
</select>';
echo '<div class="instructions">The type of html form field displayed.</div>';

Expand Down

0 comments on commit eb21493

Please sign in to comment.