From cbad402656f6384f0ad47320cff91b22a1105098 Mon Sep 17 00:00:00 2001 From: kristianwind Date: Wed, 16 Sep 2026 14:56:27 +0200 Subject: [PATCH] 1.4.5 Gets the cross-plugin fix onto a shop. Until this is installed, a plugin updating from the same host can be offered this one's release as its own, and the direction that breaks in is decided by load order. Co-Authored-By: Claude Opus 5 (1M context) --- README.txt | 6 +++++- woocommerce-email-discount-manager.php | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.txt b/README.txt index 7a8285b..1ad45ce 100644 --- a/README.txt +++ b/README.txt @@ -4,7 +4,7 @@ Tags: woocommerce, discount, email, shipping, coupon Requires at least: 5.8 Tested up to: 7.1 Requires PHP: 7.4 -Stable tag: 1.4.4 +Stable tag: 1.4.5 WC requires at least: 6.0 WC tested up to: 11.1.0 License: GPLv2 or later @@ -96,6 +96,10 @@ The most specific match wins: exact email, then domain, then partial match. == Changelog == += 1.4.5 = +* Fixed: the plugin could offer its own release as an update to a different plugin. Plugins that update from the same place share one check inside WordPress, and this one answered for all of them instead of only for itself. If another such plugin is installed, update it as well. +* "Vis detaljer" next to the update notice now opens the plugin's own details, with the release notes as the changelog. It previously showed "Plugin not found", because WordPress was asking wordpress.org about a plugin that is not published there. + = 1.4.4 = * A new version now shows up within about fifteen minutes instead of being hidden behind a six-hour cache. The plugin was holding on to its own answer for longer than WordPress waits before asking again, so a release could be published and the shop shown nothing. diff --git a/woocommerce-email-discount-manager.php b/woocommerce-email-discount-manager.php index a94dc55..a2d3fff 100644 --- a/woocommerce-email-discount-manager.php +++ b/woocommerce-email-discount-manager.php @@ -4,7 +4,7 @@ * Plugin URI: https://gitea.nolimit.dk/kw/woocommerce-email-discount-manager * Update URI: https://gitea.nolimit.dk/kw/woocommerce-email-discount-manager * Description: Apply discounts and show/hide shipping methods based on the customer's email address (full address, domain or partial match). - * Version: 1.4.4 + * Version: 1.4.5 * Author: Kristian Wind * Author URI: https://gitea.nolimit.dk/kw * License: GPL-2.0-or-later @@ -28,7 +28,7 @@ if ( ! defined( 'ABSPATH' ) ) { exit; } -define( 'WC_EDM_VERSION', '1.4.4' ); +define( 'WC_EDM_VERSION', '1.4.5' ); define( 'WC_EDM_PLUGIN_FILE', __FILE__ ); define( 'WC_EDM_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'WC_EDM_PLUGIN_URL', plugin_dir_url( __FILE__ ) );