Plugin Directory

Changeset 1746848


Ignore:
Timestamp:
10/15/2017 03:15:45 PM (8 years ago)
Author:
madaritech
Message:

Settings page bug fixed

Location:
synchro-mailchimp/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • synchro-mailchimp/trunk/admin/class-synchro-mailchimp-admin.php

    r1746824 r1746848  
    290290            $save_settings = false;
    291291
    292             // Generate random tag to build the form nonce.
    293             $rand = wp_generate_password( 6 );
    294 
    295292            $configuration_options = array();
    296293
     
    310307
    311308                // Form submitted, so we check the nonce.
    312                 check_admin_referer( 'setting_configuration_' . $rand );
     309                check_admin_referer( 'mdt_setting_configuration', 'conf_set_nonce' );
    313310
    314311                $save_settings = true;
  • synchro-mailchimp/trunk/admin/partials/synchro-mailchimp-admin-display.php

    r1746824 r1746848  
    5454
    5555                    <form method="POST">
    56                         <?php wp_nonce_field( 'setting_configuration_' . $rand ); ?>
     56                        <?php wp_nonce_field( 'mdt_setting_configuration', 'conf_set_nonce' ); ?>
    5757                        <input type="hidden" name="form_submitted" value="Y">
    5858
  • synchro-mailchimp/trunk/readme.txt

    r1746824 r1746848  
    66Requires at least: 4.8
    77Tested up to: 4.8.2
    8 Stable tag: 1.3
     8Stable tag: 1.4
    99License: GPLv2
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • synchro-mailchimp/trunk/synchro-mailchimp.php

    r1746824 r1746848  
    1010 * Plugin Name:       Synchro MailChimp
    1111 * Description:       The plugin permits administrators to subscribe/unsubscribe WordPress users to MailChimp by a checkbox on the WordPress user settings page. Every user, depending on their roles and the template defined in plugin settings page, can be associated to MailChimp lists and interests. The plugin requires MailChimp for WordPress plugin.
    12  * Version:           1.3
     12 * Version:           1.4
    1313 * Author:            Madaritech
    1414 * Author URI:        http://www.madaritech.com
Note: See TracChangeset for help on using the changeset viewer.