Plugin Directory

Changeset 2547885


Ignore:
Timestamp:
06/15/2021 05:33:18 AM (5 years ago)
Author:
delyva
Message:

e8b775a - Fix bug where plugin deletes unrelated webhook

Location:
delyvax/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • delyvax/trunk/delyvax.php

    r2544695 r2547885  
    44    Plugin URI: https://delyva.com/solutions
    55    description: The official DelyvaX plugin helps store owners to integrate WooCommerce with [DelyvaX](https://delyva.com/solutions) for seamless service comparison and order processing.
    6     Version: 1.1.9
     6    Version: 1.1.10
    77    Author: DelyvaX
    88    Author URI: https://delyva.com/solutions
     
    1313    defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
    1414    define('DELYVAX_API_ENDPOINT', 'https://api.delyva.app/');
    15     define('DELYVAX_PLUGIN_VERSION', '1.1.9');
     15    define('DELYVAX_PLUGIN_VERSION', '1.1.10');
    1616
    1717    require_once plugin_dir_path(__FILE__) . 'functions.php';
  • delyvax/trunk/includes/delyvax-webhook.php

    r2544695 r2547885  
    1919    for ($i=0; $i < sizeof($webhooks); $i++) {
    2020      $wh = $webhooks[$i];
    21       if (array_key_exists($wh['event'], $available)) {
     21      if (array_key_exists($wh['event'], $available) && $wh['url'] === $valid_url) {
    2222        DelyvaX_Shipping_API::deleteWebhook($wh['id']);
    2323      } else if ($wh['url'] === $old_url) {
  • delyvax/trunk/readme.txt

    r2544695 r2547885  
    44Requires at least: 5.4
    55Tested up to: 5.7
    6 Stable tag: 1.1.9
     6Stable tag: 1.1.10
    77Requires PHP: 7.2
    88License: GPLv3
     
    3434== Changelog ==
    3535
     36= 1.1.10 =
     37*Release Date - 15 June 2021*
     38
     39* Fix bug where plugin deletes unrelated webhook
     40
    3641= 1.1.9 =
    3742*Release Date - 9 June 2021*
Note: See TracChangeset for help on using the changeset viewer.