Changeset 3684927
- Timestamp:
- 09/07/2026 12:47:01 PM (3 months ago)
- Location:
- polski/trunk
- Files:
-
- 10 edited
-
build/admin.asset.php (modified) (1 diff)
-
build/frontend-consent.asset.php (modified) (1 diff)
-
build/frontend-safefonts.asset.php (modified) (1 diff)
-
build/frontend-triggers.asset.php (modified) (1 diff)
-
changelog.txt (modified) (1 diff)
-
languages/polski.pot (modified) (4 diffs)
-
polski.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
src/Service/DigitalConsentService.php (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
polski/trunk/build/admin.asset.php
r3684881 r3684927 1 1 <?php return array( 2 2 'dependencies' => array('wp-element', 'wp-components', 'wp-data', 'wp-i18n', 'wp-api-fetch'), 3 'version' => '1a07b d2a1c5',3 'version' => '1a07be60dff', 4 4 ); -
polski/trunk/build/frontend-consent.asset.php
r3684881 r3684927 1 1 <?php return array( 2 2 'dependencies' => array(), 3 'version' => '1a07b d2a1c5',3 'version' => '1a07be60dff', 4 4 ); -
polski/trunk/build/frontend-safefonts.asset.php
r3684881 r3684927 1 1 <?php return array( 2 2 'dependencies' => array(), 3 'version' => '1a07b d2a1c5',3 'version' => '1a07be60dff', 4 4 ); -
polski/trunk/build/frontend-triggers.asset.php
r3684881 r3684927 1 1 <?php return array( 2 2 'dependencies' => array(), 3 'version' => '1a07b d2a1c5',3 'version' => '1a07be60dff', 4 4 ); -
polski/trunk/changelog.txt
r3684881 r3684927 2 2 3 3 Complete release history for Polski for WooCommerce. The plugin page on WordPress.org lists only the most recent releases; this file keeps the full record. 4 5 = 1.31.8 = 6 * Fixed: the digital-content waiver field was registered on block checkout even with the Legal checkboxes module switched off, so every order carried it and the confirmation page listed it under Additional information with the value "No". The service had no module check at all. It is now silent whenever the module is off. Reported by strid3rr on the support forum. 7 * Fixed: two switches governed that one field and they contradicted each other. "Digital content (waiver)" on the modules screen was read by nothing, while the field was actually driven by a setting on the withdrawal page that defaults to on, so turning the visible switch off changed nothing. Where no explicit choice was ever saved, the visible switch now decides, and its default of off means off. A shop that deliberately set the mode on the withdrawal page keeps what it configured: this is a declaration under art. 16(m), and dropping it from a working checkout would be worse than the noise. 4 8 5 9 = 1.31.7 = -
polski/trunk/languages/polski.pot
r3684881 r3684927 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Polski for WooCommerce 1.31. 7\n"5 "Project-Id-Version: Polski for WooCommerce 1.31.8\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/polski\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-09-07T12: 14:26+00:00\n"12 "POT-Creation-Date: 2026-09-07T12:34:59+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 9556 9556 msgstr "" 9557 9557 9558 #: src/Service/DigitalConsentService.php:14 09559 #: src/Service/DigitalConsentService.php:2 289558 #: src/Service/DigitalConsentService.php:144 9559 #: src/Service/DigitalConsentService.php:232 9560 9560 msgid "To buy digital products you have to consent to performance beginning before the withdrawal period ends." 9561 9561 msgstr "" 9562 9562 9563 #: src/Service/DigitalConsentService.php:20 49563 #: src/Service/DigitalConsentService.php:208 9564 9564 #: templates/checkout/legal-checkboxes.php:51 9565 9565 #: templates/forms/dsa-report.php:48 … … 9571 9571 msgstr "" 9572 9572 9573 #: src/Service/DigitalConsentService.php:3 369573 #: src/Service/DigitalConsentService.php:368 9574 9574 msgid "I consent to performance beginning (for example the supply of digital content) before the withdrawal period ends and I acknowledge that I thereby lose my right of withdrawal for the digital content supplied in this way." 9575 9575 msgstr "" -
polski/trunk/polski.php
r3684881 r3684927 7 7 * Plugin URI: https://plogins.com/polski/ 8 8 * Description: Adds GPSR, Omnibus, GDPR, withdrawals, VAT ID, KSeF hooks, product data and storefront modules for Polish WooCommerce shops. 9 * Version: 1.31. 79 * Version: 1.31.8 10 10 * Requires at least: 6.9 11 11 * Requires PHP: 8.1 … … 33 33 defined('ABSPATH') || exit; 34 34 35 const VERSION = '1.31. 7';35 const VERSION = '1.31.8'; 36 36 const PLUGIN_FILE = __FILE__; 37 37 const PLUGIN_DIR = __DIR__; -
polski/trunk/readme.txt
r3684881 r3684927 4 4 Requires at least: 6.9 5 5 Tested up to: 7.1 6 Stable tag: 1.31. 76 Stable tag: 1.31.8 7 7 Requires PHP: 8.1 8 8 License: GPLv2 or later … … 357 357 == Changelog == 358 358 359 = 1.31.8 = 360 * Fixed: the digital-content waiver field was registered on block checkout even with the Legal checkboxes module switched off, so every order carried it and the confirmation page listed it under Additional information with the value "No". The service had no module check at all. It is now silent whenever the module is off. Reported by strid3rr on the support forum. 361 * Fixed: two switches governed that one field and they contradicted each other. "Digital content (waiver)" on the modules screen was read by nothing, while the field was actually driven by a setting on the withdrawal page that defaults to on, so turning the visible switch off changed nothing. Where no explicit choice was ever saved, the visible switch now decides, and its default of off means off. A shop that deliberately set the mode on the withdrawal page keeps what it configured: this is a declaration under art. 16(m), and dropping it from a working checkout would be worse than the noise. 362 359 363 = 1.31.7 = 360 364 * Fixed: the Omnibus "show in cart" setting did nothing. It had been on the settings screen since the module shipped, while the class meant to render it was an empty stub, so the lowest-price notice never appeared in any cart, classic or block. The notice now shows under the item in both, and under cross-sells and any other product listing built with blocks, which do not fire the classic loop hooks the module was relying on. Reported by strid3rr on the support forum. -
polski/trunk/src/Service/DigitalConsentService.php
r3670341 r3684927 97 97 } 98 98 99 if ($this->mode() === self::MODE_HIDDEN) { 100 return; 101 } 102 99 103 woocommerce_store_api_register_endpoint_data([ 100 104 'endpoint' => 'cart', // CartSchema::IDENTIFIER; literal mirrors ProductDataExtension's 'cart-item'. … … 318 322 public function mode(): string 319 323 { 324 // The consent belongs to the legal checkboxes module. With the module 325 // off nothing may register, save or display, which is what a merchant 326 // switching it off is asking for. 327 if (! \Polski\Admin\ModulesPage::isModuleEnabled('legal_checkboxes')) { 328 return self::MODE_HIDDEN; 329 } 330 320 331 $settings = get_option(self::SETTING_OPTION, []); 321 332 $settings = is_array($settings) ? $settings : []; 333 334 // Two switches ended up governing one field: this mode, on the 335 // withdrawal settings page, and "Digital content (waiver)" on the 336 // modules screen, which nothing read. A merchant who turned the visible 337 // one off saw the field carry on, because this one defaults to optional. 338 // 339 // The explicit choice wins where one was made. Where the mode has never 340 // been saved, the modules screen decides, so its default of off finally 341 // means off. A shop that deliberately configured the mode keeps the 342 // consent it configured: this is a legal declaration under art. 16(m), 343 // and silently dropping it from a working checkout would be worse than 344 // the noise being reported. 345 if (! array_key_exists('digital_consent_mode', $settings)) { 346 $checkout = get_option('polski_checkout', []); 347 $checkout = is_array($checkout) ? $checkout : []; 348 349 return empty($checkout['digital_waiver_checkbox_enabled']) 350 ? self::MODE_HIDDEN 351 : self::MODE_OPTIONAL; 352 } 353 322 354 $mode = (string) ($settings['digital_consent_mode'] ?? self::MODE_OPTIONAL); 323 355 -
polski/trunk/vendor/composer/installed.php
r3684881 r3684927 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' fe2e3263c716c0b6db3c01923680462449c9d497',6 'reference' => '3481755af5ca065851f6897a749fab82ba62cd0f', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-main', 24 24 'version' => 'dev-main', 25 'reference' => ' fe2e3263c716c0b6db3c01923680462449c9d497',25 'reference' => '3481755af5ca065851f6897a749fab82ba62cd0f', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../',
Note:
See TracChangeset
for help on using the changeset viewer.