Plugin Directory

Changeset 2605682


Ignore:
Timestamp:
09/27/2021 02:15:29 PM (5 years ago)
Author:
notix
Message:

Notix web push notifications - release 1.1.4

Location:
notix-web-push-notifications
Files:
40 added
4 edited

Legend:

Unmodified
Added
Removed
  • notix-web-push-notifications/trunk/README.txt

    r2604160 r2605682  
    55Requires at least: 4.9.4
    66Tested up to: 5.8.1
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8080== Changelog ==
    8181
     82= 1.1.4 =
     83- Fix duplicate push notifications for madara theme
     84
    8285= 1.1.3 =
    8386- Fix duplicate push notifications on create post
  • notix-web-push-notifications/trunk/admin/class-notix-admin.php

    r2604160 r2605682  
    171171        }
    172172
     173        if (isset($_POST['post_id_sended']) && $_POST['post_id_sended'] == $post_id) {
     174            return $post_id;
     175        }
     176
    173177        if (!wp_verify_nonce((isset($_POST['notix_metabox_nonce']) ?
    174178            sanitize_text_field($_POST['notix_metabox_nonce']) :
     
    191195        }
    192196
     197        $_POST['post_id_sended'] = $post_id;
     198
    193199        Notix_Admin::notix_send_push($post_id);
    194200    }
     
    196202    public static function notix_send_push($post_id)
    197203    {
    198         if ($_POST['notix_send_checkbox'] !== 'on') {
     204        if (!isset($_POST['notix_send_checkbox']) || $_POST['notix_send_checkbox'] !== 'on') {
    199205            return $post_id;
    200206        }
  • notix-web-push-notifications/trunk/includes/class-notix.php

    r2604160 r2605682  
    1818            $this->version = NOTIX_VERSION;
    1919        } else {
    20             $this->version = '1.1.3';
     20            $this->version = '1.1.4';
    2121        }
    2222        $this->notix = 'notix';
  • notix-web-push-notifications/trunk/notix.php

    r2604160 r2605682  
    44 *
    55 * @link              https://notix.co/
    6  * @since             1.1.3
     6 * @since             1.1.4
    77 * @package           Notix
    88 *
     
    1010 * Plugin Name:       Notix Push Notifications
    1111 * Description:       Bring more repeat traffic to your WordPress site with Notix. Best engine for web push subscribers collection and notifications delivery.
    12  * Version:           1.1.3
     12 * Version:           1.1.4
    1313 * Author:            Notix
    1414 * Author URI:        https://notix.co/
Note: See TracChangeset for help on using the changeset viewer.