Plugin Directory

Changeset 2836555


Ignore:
Timestamp:
12/20/2022 10:45:53 AM (3 years ago)
Author:
mailbluster
Message:

message option save on database

Location:
mailbluster4wp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mailbluster4wp/trunk/README.txt

    r2835808 r2836555  
    66Tested up to: 6.1.1
    77Requires PHP: 5.6
    8 Stable tag: 1.2.0
     8Stable tag: 1.2.0.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7474== Changelog ==
    7575
     76= 1.2.0.1 =
     77* fix: Message option save on database.
     78
    7679= 1.2.0 =
    7780* WP version 6.1.1 compatible.
  • mailbluster4wp/trunk/admin/class-mailbluster4wp-form-option.php

    r2835808 r2836555  
    124124        if ($this->value_exists('mb4wp_form_builder_default_label')) {
    125125            $builder_default = $_POST['mb4wp_form_builder_default_label'];
    126             // var_dump($builder_default);
    127             // die;
    128126            update_post_meta(
    129127                $post_id,
     
    133131        } else {
    134132            $this->delete_post_meta($post_id, 'mb4wp_form_builder_default_label');
     133        }
     134
     135        if ($this->value_exists('mb4wp_form_message_options')) {
     136            update_post_meta(
     137                $post_id,
     138                'mb4wp_form_message_options',
     139                MailBluster4WP_Helper::sanitize_field_array($_POST['mb4wp_form_message_options'])
     140            );
     141        } else {
     142            $this->delete_post_meta($post_id, 'mb4wp_form_message_options');
    135143        }
    136144
  • mailbluster4wp/trunk/mailbluster4wp.php

    r2835808 r2836555  
    1717 * Plugin URI:        https://mailbluster.com
    1818 * Description:       A free and simple WordPress plugin for MailBluster which provides different methods to create and include subscription forms into WordPress pages or posts by utilizing AmazonSES service.
    19  * Version:           1.2.0
     19 * Version:           1.2.0.1
    2020 * Tested up to:      6.1.1
    2121 * Author:            MailBluster
     
    3737 * Rename this for your plugin and update it as you release new versions.
    3838 */
    39 define('MAILBLUSTER4WP_VERSION', '1.2.0');
     39define('MAILBLUSTER4WP_VERSION', '1.2.0.1');
    4040
    4141/**
Note: See TracChangeset for help on using the changeset viewer.