Plugin Directory

Changeset 1684604


Ignore:
Timestamp:
06/24/2017 04:30:21 AM (9 years ago)
Author:
brettex
Message:

Nonce mismatch fixed

Location:
wp-universal-newsletter/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-universal-newsletter/trunk/README.txt

    r1436113 r1684604  
    106106== Upgrade Notice ==
    107107Added support for `<p>` tag inline styles.
     108
     109= 1.1.1 =
     110
     111* Fix mismatching nonce name-spaces when saving post meta fields, causing meta fields saving failures.
  • wp-universal-newsletter/trunk/wp-universal-newsletter.php

    r1436114 r1684604  
    1616 * Plugin URI:        https://primitivespark.com/ideas/article/wp-universal-newsletter/
    1717 * Description:       This plugin allows you to create a responsive HTML Email template via a Custom Post Type that can be scraped by iContact or GoDaddy for use in email campaigns.
    18  * Version:           1.1.0
     18 * Version:           1.1.1
    1919 * Author:            Primitive Spark
    2020 * Author URI:        http://primitivespark.com/
     
    283283
    284284        // Check if our nonce is set.
    285         if ( ! isset( $_POST['wpun_inner_custom_box_nonce'] ) )
     285        if ( ! isset( $_POST['wpun_newsletter_inner_custom_box_nonce'] ) )
    286286            return $post_id;
    287287
    288         $nonce = $_POST['wpun_inner_custom_box_nonce'];
     288        $nonce = $_POST['wpun_newsletter_inner_custom_box_nonce'];
    289289
    290290        // Verify that the nonce is valid.
    291         if ( ! wp_verify_nonce( $nonce, 'wpun_inner_custom_box' ) )
     291        if ( ! wp_verify_nonce( $nonce, 'wpun_newsletter_inner_custom_box' ) )
    292292            return $post_id;
    293293
Note: See TracChangeset for help on using the changeset viewer.