Plugin Directory

Changeset 3486201


Ignore:
Timestamp:
03/19/2026 07:54:42 AM (2 weeks ago)
Author:
wanotifier
Message:

v3.0.1

Location:
notifier
Files:
18 deleted
5 edited
42 copied

Legend:

Unmodified
Added
Removed
  • notifier/tags/3.0.1/README.txt

    r3485659 r3486201  
    55Requires at least: 5.0
    66Tested up to: 6.8
    7 Stable tag: 3.0.0
     7Stable tag: 3.0.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    9999
    1001001. Grid of available integrations whose respective plugins are active
    101 2. Connect your integration with WANotifier in one click.
    102 3. Configure / disconnect integrations and re-sync triggers.
     1012. Connect your integration with WANotifier in one click
     1023. Configure / disconnect integrations and re-sync triggers
    1031034. Integration specific configuration page
    104 5. Configure the WhatsApp Chat Button with live preview.
     1045. Configure the WhatsApp Chat Button with live preview
    1051056. Manage plugin General settings
    106 7. Activity log to monitor notification delivery.
     1067. Activity log to monitor notification delivery
    107107
    108108== Changelog ==
     109= 3.0.1 - 2026-03-19 =
     110* fix: prevent duplicate trigger actions from being scheduled for the same event
     111
    109112= 3.0.0 - 2026-03-02 =
    110113* mod: complete UI overhaul with new React-based admin interface
  • notifier/tags/3.0.1/includes/class-notifier.php

    r3485611 r3486201  
    2828     */
    2929    private function define_constants() {
    30         $this->define( 'NOTIFIER_VERSION', '3.0.0' );
     30        $this->define( 'NOTIFIER_VERSION', '3.0.1' );
    3131        $this->define( 'NOTIFIER_NAME', 'notifier' );
    3232        $this->define( 'NOTIFIER_PREFIX', 'notifier_' );
  • notifier/tags/3.0.1/includes/classes/class-notifier-connection.php

    r3485611 r3486201  
    249249        );
    250250
     251        $action_args = array(
     252            'slug'         => $slug,
     253            'trigger_slug' => $trigger_slug,
     254            'context_args' => $context_args,
     255        );
     256
     257        // Prevent duplicate actions for the same trigger + context.
     258        $existing = as_get_scheduled_actions( array(
     259            'hook'   => 'notifier_fire_trigger',
     260            'args'   => $action_args,
     261            'group'  => 'notifier',
     262            'status' => ActionScheduler_Store::STATUS_PENDING,
     263        ), 'ids' );
     264
     265        if ( ! empty( $existing ) ) {
     266            Notifier_Backend::insert_activity_log(
     267                'debug',
     268                sprintf( '[%s] Duplicate trigger skipped: %s (object_id: %d)', $slug, $trigger_slug, $object_id )
     269            );
     270            return;
     271        }
     272
    251273        as_enqueue_async_action(
    252274            'notifier_fire_trigger',
    253             array(
    254                 'slug'         => $slug,
    255                 'trigger_slug' => $trigger_slug,
    256                 'context_args' => $context_args,
    257             ),
     275            $action_args,
    258276            'notifier'
    259277        );
  • notifier/tags/3.0.1/notifier.php

    r3485611 r3486201  
    44 * Plugin URI: https://wordpress.org/plugins/notifier/
    55 * Description: Send WhatsApp notifications for form submissions from CF7, Gravity Forms, WPForms and more and WordPress actions using WhatsApp Business API
    6  * Version: 3.0.0
     6 * Version: 3.0.1
    77 * Author: WANotifier
    88 * Author URI: https://wanotifier.com
  • notifier/trunk/README.txt

    r3485659 r3486201  
    55Requires at least: 5.0
    66Tested up to: 6.8
    7 Stable tag: 3.0.0
     7Stable tag: 3.0.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    9999
    1001001. Grid of available integrations whose respective plugins are active
    101 2. Connect your integration with WANotifier in one click.
    102 3. Configure / disconnect integrations and re-sync triggers.
     1012. Connect your integration with WANotifier in one click
     1023. Configure / disconnect integrations and re-sync triggers
    1031034. Integration specific configuration page
    104 5. Configure the WhatsApp Chat Button with live preview.
     1045. Configure the WhatsApp Chat Button with live preview
    1051056. Manage plugin General settings
    106 7. Activity log to monitor notification delivery.
     1067. Activity log to monitor notification delivery
    107107
    108108== Changelog ==
     109= 3.0.1 - 2026-03-19 =
     110* fix: prevent duplicate trigger actions from being scheduled for the same event
     111
    109112= 3.0.0 - 2026-03-02 =
    110113* mod: complete UI overhaul with new React-based admin interface
  • notifier/trunk/includes/class-notifier.php

    r3485611 r3486201  
    2828     */
    2929    private function define_constants() {
    30         $this->define( 'NOTIFIER_VERSION', '3.0.0' );
     30        $this->define( 'NOTIFIER_VERSION', '3.0.1' );
    3131        $this->define( 'NOTIFIER_NAME', 'notifier' );
    3232        $this->define( 'NOTIFIER_PREFIX', 'notifier_' );
  • notifier/trunk/includes/classes/class-notifier-connection.php

    r3485611 r3486201  
    249249        );
    250250
     251        $action_args = array(
     252            'slug'         => $slug,
     253            'trigger_slug' => $trigger_slug,
     254            'context_args' => $context_args,
     255        );
     256
     257        // Prevent duplicate actions for the same trigger + context.
     258        $existing = as_get_scheduled_actions( array(
     259            'hook'   => 'notifier_fire_trigger',
     260            'args'   => $action_args,
     261            'group'  => 'notifier',
     262            'status' => ActionScheduler_Store::STATUS_PENDING,
     263        ), 'ids' );
     264
     265        if ( ! empty( $existing ) ) {
     266            Notifier_Backend::insert_activity_log(
     267                'debug',
     268                sprintf( '[%s] Duplicate trigger skipped: %s (object_id: %d)', $slug, $trigger_slug, $object_id )
     269            );
     270            return;
     271        }
     272
    251273        as_enqueue_async_action(
    252274            'notifier_fire_trigger',
    253             array(
    254                 'slug'         => $slug,
    255                 'trigger_slug' => $trigger_slug,
    256                 'context_args' => $context_args,
    257             ),
     275            $action_args,
    258276            'notifier'
    259277        );
  • notifier/trunk/notifier.php

    r3485611 r3486201  
    44 * Plugin URI: https://wordpress.org/plugins/notifier/
    55 * Description: Send WhatsApp notifications for form submissions from CF7, Gravity Forms, WPForms and more and WordPress actions using WhatsApp Business API
    6  * Version: 3.0.0
     6 * Version: 3.0.1
    77 * Author: WANotifier
    88 * Author URI: https://wanotifier.com
Note: See TracChangeset for help on using the changeset viewer.