Plugin Directory

Changeset 3444651


Ignore:
Timestamp:
01/22/2026 09:22:40 AM (2 months ago)
Author:
drdtd2004
Message:

Bump version to 1.1.5. Fix auto-registration issue during plugin deactivation

Location:
topdawg-wholesale-dropshipping/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • topdawg-wholesale-dropshipping/trunk/readme.txt

    r3417470 r3444651  
    44Requires at least: 6.0
    55Tested up to: 6.9
    6 Stable tag: 1.1.4
     6Stable tag: 1.1.5
    77Requires PHP: 7.4
    88License: GPL-2.0-or-later
     
    178178== Changelog ==
    179179
     180= 1.1.5 =
     181* Fixed: Auto-registration of API key/webhooks during plugin deactivation.
     182* Added: Active plugin check before attempting auto-registration.
     183
    180184= 1.1.4 =
    181185* Updated readme.txt content for improved clarity and formatting on WordPress.org.
     
    209213== Upgrade Notice ==
    210214
     215= 1.1.5 =
     216Fixed an issue where the plugin would automatically register the API key and create webhooks during deactivation. Added a safety check to ensure auto-registration only occurs when the plugin is active.
     217
    211218= 1.1.4 =
    212219Documentation-only update. No functionality changes. Safe to update immediately.
  • topdawg-wholesale-dropshipping/trunk/topdawg-media-sync.php

    r3404063 r3444651  
    129129/* ensure API key created on init and on plugin activation */
    130130add_action('init', function () {
     131    // Skip auto-registration if deactivating
     132    if (get_transient('topdawg_plugin_deactivating')) {
     133        return;
     134    }
     135   
    131136    topdawg_ensure_api_key();
    132137});
  • topdawg-wholesale-dropshipping/trunk/topdawg-wholesale-dropshipping.php

    r3417470 r3444651  
    44 * Plugin URI: https://wordpress.org/plugins/topdawg-wholesale-dropshipping
    55 * Description: Seamlessly integrate your WooCommerce store with TopDawg’s wholesale dropshipping platform. This plugin provides live TopDawg shipping rates for TopDawg products at checkout, synchronizes order fulfillment (including partial failures, cancellations, and status updates), and offers secure media sync endpoints for product images and assets through one-time API key registration. Customers see a smooth shopping experience while store owners get full automation behind the scenes.
    6  * Version: 1.1.4
     6 * Version: 1.1.5
    77 * Author: TopDawg
    88 * Author URI: https://www.topdawg.com
     
    173173 */
    174174function topdawg_cleanup_options() {
     175    // Set a transient to signal "we are deactivating"
     176    set_transient('topdawg_plugin_deactivating', true, 60);
     177
    175178    $apiKey  = get_option('topdawg_api_key');
    176179    $siteUrl = get_site_url();
Note: See TracChangeset for help on using the changeset viewer.