Changeset 3816016
- Timestamp:
- 11/22/2026 01:43:30 AM (67 minutes ago)
- Location:
- daybound-delivery-date
- Files:
-
- 10 added
- 24 edited
- 1 copied
-
tags/1.0.1 (copied) (copied from daybound-delivery-date/trunk )
-
tags/1.0.1/CHANGELOG.md (modified) (1 diff)
-
tags/1.0.1/daybound-delivery-date.php (modified) (2 diffs)
-
tags/1.0.1/includes (added)
-
tags/1.0.1/includes/uninstall-cleanup.php (added)
-
tags/1.0.1/languages/daybound-delivery-date-es_CO.mo (modified) ( previous)
-
tags/1.0.1/languages/daybound-delivery-date-es_CO.po (modified) (3 diffs)
-
tags/1.0.1/languages/daybound-delivery-date-es_ES.mo (modified) ( previous)
-
tags/1.0.1/languages/daybound-delivery-date-es_ES.po (modified) (3 diffs)
-
tags/1.0.1/languages/daybound-delivery-date-es_MX.mo (modified) ( previous)
-
tags/1.0.1/languages/daybound-delivery-date-es_MX.po (modified) (3 diffs)
-
tags/1.0.1/languages/daybound-delivery-date.pot (modified) (4 diffs)
-
tags/1.0.1/readme.txt (modified) (3 diffs)
-
tags/1.0.1/src/Api/DeliveryDateExtend.php (modified) (2 diffs)
-
tags/1.0.1/src/Plugin.php (modified) (2 diffs)
-
tags/1.0.1/src/Privacy (added)
-
tags/1.0.1/src/Privacy/PrivacyTools.php (added)
-
tags/1.0.1/uninstall.php (added)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/daybound-delivery-date.php (modified) (2 diffs)
-
trunk/includes (added)
-
trunk/includes/uninstall-cleanup.php (added)
-
trunk/languages/daybound-delivery-date-es_CO.mo (modified) ( previous)
-
trunk/languages/daybound-delivery-date-es_CO.po (modified) (3 diffs)
-
trunk/languages/daybound-delivery-date-es_ES.mo (modified) ( previous)
-
trunk/languages/daybound-delivery-date-es_ES.po (modified) (3 diffs)
-
trunk/languages/daybound-delivery-date-es_MX.mo (modified) ( previous)
-
trunk/languages/daybound-delivery-date-es_MX.po (modified) (3 diffs)
-
trunk/languages/daybound-delivery-date.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/src/Api/DeliveryDateExtend.php (modified) (2 diffs)
-
trunk/src/Plugin.php (modified) (2 diffs)
-
trunk/src/Privacy (added)
-
trunk/src/Privacy/PrivacyTools.php (added)
-
trunk/uninstall.php (added)
Legend:
- Unmodified
- Added
- Removed
-
daybound-delivery-date/tags/1.0.1/CHANGELOG.md
r3815868 r3816016 3 3 All notable changes to Daybound Delivery Date for WooCommerce are documented here. 4 4 The format is based on [Keep a Changelog](https://keepachangelog.com/). 5 6 ## [1.0.1] - 2026-11-21 7 8 ### Added 9 - Privacy: delivery date and time slot meta are part of WooCommerce's personal data export and are erased when WooCommerce anonymizes an order (`src/Privacy/PrivacyTools.php`, filter `daybound_privacy_meta_keys`). 10 - Privacy: suggested privacy policy text. 11 - `uninstall.php`: deleting the plugin removes every `daybound_` option and transient (single site and multisite). Order data is kept. 12 13 ### Security 14 - The delivery date is saved only on the real order placement (`POST /wc/store/v1/checkout`), not on `PUT` draft updates. 15 - Pro: only committed orders (processing, completed, on-hold) count toward the daily capacity, so drafts or unpaid orders can no longer fill a day (filter `daybound_capacity_counted_statuses`). 16 - Pro: CSV export written as strict RFC 4180, closing a formula-injection bypass with backslash-quote payloads. 5 17 6 18 ## [1.0.0] - 2026-06-05 -
daybound-delivery-date/tags/1.0.1/daybound-delivery-date.php
r3815868 r3816016 4 4 * Plugin Name: Daybound Delivery Date for WooCommerce 5 5 * Description: Smart delivery date picker that lives inside the WooCommerce block checkout via the official Block Checkout Integration API. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: Edinson Moreno 8 8 * License: GPL-2.0+ … … 42 42 * Plugin version (kept in sync with the header). 43 43 */ 44 const DAYBOUND_VERSION = '1.0. 0';44 const DAYBOUND_VERSION = '1.0.1'; 45 45 46 46 /** -
daybound-delivery-date/tags/1.0.1/languages/daybound-delivery-date-es_CO.po
r3815868 r3816016 3 3 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/daybound-delivery-" 4 4 "date\n" 5 "POT-Creation-Date: 2026-11-2 1T23:32:14+01:00\n"5 "POT-Creation-Date: 2026-11-22T02:43:12+01:00\n" 6 6 "Language: es_CO\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" … … 155 155 msgstr "Ocurrió un error inesperado. Inténtalo de nuevo." 156 156 157 #: src/Api/DeliveryDateExtend.php: 282157 #: src/Api/DeliveryDateExtend.php:305 158 158 msgid "" 159 159 "You are updating the delivery date too quickly. Please wait a moment and try " … … 166 166 msgid "Delivery date:" 167 167 msgstr "Fecha de entrega:" 168 169 #: src/Privacy/PrivacyTools.php:62 170 msgid "Delivery date" 171 msgstr "Fecha de entrega" 172 173 #: src/Privacy/PrivacyTools.php:63 174 msgid "Delivery time slot" 175 msgstr "Franja horaria de entrega" 176 177 #: src/Privacy/PrivacyTools.php:160 178 msgid "" 179 "When you place an order, we store the delivery date you choose (and, if " 180 "offered, the delivery time slot) with your order, so we can prepare and " 181 "deliver it on that day. It is kept for as long as we keep the order and is " 182 "included when you request an export or erasure of your personal data." 183 msgstr "" 184 "Cuando haces un pedido, guardamos con él la fecha de entrega que eliges (y, " 185 "si se ofrece, la franja horaria de entrega) para poder prepararlo y " 186 "entregarlo ese día. Se conserva mientras conservemos el pedido y se incluye " 187 "cuando solicitas la exportación o el borrado de tus datos personales." 188 189 #: src/Privacy/PrivacyTools.php:161 190 msgid "" 191 "The Daybound Delivery Date plugin does not send this information to its " 192 "developer or to any third party." 193 msgstr "" 194 "El plugin Daybound Delivery Date no envía esta información a su " 195 "desarrollador ni a terceros." 168 196 169 197 #: src/Util/DateValidator.php:61 src/Util/DateValidator.php:74 -
daybound-delivery-date/tags/1.0.1/languages/daybound-delivery-date-es_ES.po
r3815868 r3816016 3 3 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/daybound-delivery-" 4 4 "date\n" 5 "POT-Creation-Date: 2026-11-2 1T23:32:14+01:00\n"5 "POT-Creation-Date: 2026-11-22T02:43:12+01:00\n" 6 6 "Language: es_ES\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" … … 155 155 msgstr "Ocurrió un error inesperado. Inténtalo de nuevo." 156 156 157 #: src/Api/DeliveryDateExtend.php: 282157 #: src/Api/DeliveryDateExtend.php:305 158 158 msgid "" 159 159 "You are updating the delivery date too quickly. Please wait a moment and try " … … 166 166 msgid "Delivery date:" 167 167 msgstr "Fecha de entrega:" 168 169 #: src/Privacy/PrivacyTools.php:62 170 msgid "Delivery date" 171 msgstr "Fecha de entrega" 172 173 #: src/Privacy/PrivacyTools.php:63 174 msgid "Delivery time slot" 175 msgstr "Franja horaria de entrega" 176 177 #: src/Privacy/PrivacyTools.php:160 178 msgid "" 179 "When you place an order, we store the delivery date you choose (and, if " 180 "offered, the delivery time slot) with your order, so we can prepare and " 181 "deliver it on that day. It is kept for as long as we keep the order and is " 182 "included when you request an export or erasure of your personal data." 183 msgstr "" 184 "Cuando haces un pedido, guardamos con él la fecha de entrega que eliges (y, " 185 "si se ofrece, la franja horaria de entrega) para poder prepararlo y " 186 "entregarlo ese día. Se conserva mientras conservemos el pedido y se incluye " 187 "cuando solicitas la exportación o el borrado de tus datos personales." 188 189 #: src/Privacy/PrivacyTools.php:161 190 msgid "" 191 "The Daybound Delivery Date plugin does not send this information to its " 192 "developer or to any third party." 193 msgstr "" 194 "El plugin Daybound Delivery Date no envía esta información a su " 195 "desarrollador ni a terceros." 168 196 169 197 #: src/Util/DateValidator.php:61 src/Util/DateValidator.php:74 -
daybound-delivery-date/tags/1.0.1/languages/daybound-delivery-date-es_MX.po
r3815868 r3816016 3 3 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/daybound-delivery-" 4 4 "date\n" 5 "POT-Creation-Date: 2026-11-2 1T23:32:14+01:00\n"5 "POT-Creation-Date: 2026-11-22T02:43:12+01:00\n" 6 6 "Language: es_MX\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" … … 155 155 msgstr "Ocurrió un error inesperado. Inténtalo de nuevo." 156 156 157 #: src/Api/DeliveryDateExtend.php: 282157 #: src/Api/DeliveryDateExtend.php:305 158 158 msgid "" 159 159 "You are updating the delivery date too quickly. Please wait a moment and try " … … 166 166 msgid "Delivery date:" 167 167 msgstr "Fecha de entrega:" 168 169 #: src/Privacy/PrivacyTools.php:62 170 msgid "Delivery date" 171 msgstr "Fecha de entrega" 172 173 #: src/Privacy/PrivacyTools.php:63 174 msgid "Delivery time slot" 175 msgstr "Franja horaria de entrega" 176 177 #: src/Privacy/PrivacyTools.php:160 178 msgid "" 179 "When you place an order, we store the delivery date you choose (and, if " 180 "offered, the delivery time slot) with your order, so we can prepare and " 181 "deliver it on that day. It is kept for as long as we keep the order and is " 182 "included when you request an export or erasure of your personal data." 183 msgstr "" 184 "Cuando haces un pedido, guardamos con él la fecha de entrega que eliges (y, " 185 "si se ofrece, la franja horaria de entrega) para poder prepararlo y " 186 "entregarlo ese día. Se conserva mientras conservemos el pedido y se incluye " 187 "cuando solicitas la exportación o el borrado de tus datos personales." 188 189 #: src/Privacy/PrivacyTools.php:161 190 msgid "" 191 "The Daybound Delivery Date plugin does not send this information to its " 192 "developer or to any third party." 193 msgstr "" 194 "El plugin Daybound Delivery Date no envía esta información a su " 195 "desarrollador ni a terceros." 168 196 169 197 #: src/Util/DateValidator.php:61 src/Util/DateValidator.php:74 -
daybound-delivery-date/tags/1.0.1/languages/daybound-delivery-date.pot
r3815868 r3816016 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Daybound Delivery Date for WooCommerce 1.0. 0\n"5 "Project-Id-Version: Daybound Delivery Date for WooCommerce 1.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/daybound-delivery-date\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-11-2 1T23:32:14+01:00\n"12 "POT-Creation-Date: 2026-11-22T02:43:12+01:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 139 139 msgstr "" 140 140 141 #: src/Api/DeliveryDateExtend.php: 282141 #: src/Api/DeliveryDateExtend.php:305 142 142 msgid "You are updating the delivery date too quickly. Please wait a moment and try again." 143 143 msgstr "" … … 146 146 #: assets/build/checkout-extension.js:1 147 147 msgid "Delivery date:" 148 msgstr "" 149 150 #: src/Privacy/PrivacyTools.php:62 151 msgid "Delivery date" 152 msgstr "" 153 154 #: src/Privacy/PrivacyTools.php:63 155 msgid "Delivery time slot" 156 msgstr "" 157 158 #: src/Privacy/PrivacyTools.php:160 159 msgid "When you place an order, we store the delivery date you choose (and, if offered, the delivery time slot) with your order, so we can prepare and deliver it on that day. It is kept for as long as we keep the order and is included when you request an export or erasure of your personal data." 160 msgstr "" 161 162 #: src/Privacy/PrivacyTools.php:161 163 msgid "The Daybound Delivery Date plugin does not send this information to its developer or to any third party." 148 164 msgstr "" 149 165 -
daybound-delivery-date/tags/1.0.1/readme.txt
r3815868 r3816016 7 7 WC requires at least: 8.3 8 8 WC tested up to: 11.3 9 Stable tag: 1.0. 09 Stable tag: 1.0.1 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 80 80 == Changelog == 81 81 82 = 1.0.1 = 83 * Privacy: delivery dates and time slots are now included in WooCommerce's personal data export and removed when an order is anonymized (Tools → Erase Personal Data, or order retention). 84 * Privacy: suggested text for your privacy policy (Settings → Privacy → Policy Guide). 85 * Deleting the plugin now removes its settings (orders keep their delivery dates). 86 * Security hardening: the delivery date is only saved when the order is actually placed, not while the checkout draft is being updated. 87 82 88 = 1.0.0 = 83 89 * Initial public release. … … 95 101 == Upgrade Notice == 96 102 103 = 1.0.1 = 104 Privacy tools integration (export/erase personal data), clean uninstall and a security hardening of the checkout. Recommended for all stores. 105 97 106 = 1.0.0 = 98 107 First public release. Requires WooCommerce 8.3+ with the block checkout, WordPress 6.6+, and PHP 8.0+. -
daybound-delivery-date/tags/1.0.1/src/Api/DeliveryDateExtend.php
r3815868 r3816016 164 164 165 165 /** 166 * Whether a checkout request is the actual order placement. 167 * 168 * WooCommerce fires the same "update order from request" hook for `PUT /checkout`, 169 * which only refreshes the draft order and takes no payment. Writing the date there 170 * would let anyone book delivery days without buying (filling the Pro daily capacity) 171 * and would clear the shopper's session date before they actually order. 172 * 173 * @param mixed $request The checkout request (a WP_REST_Request). 174 * @return bool False only for a request that is clearly not a POST. 175 */ 176 public static function is_order_placement( $request ): bool { 177 if ( ! is_object( $request ) || ! method_exists( $request, 'get_method' ) ) { 178 return true; 179 } 180 181 return 'POST' === strtoupper( (string) $request->get_method() ); 182 } 183 184 /** 166 185 * Persist the session delivery date onto the order during checkout. 167 186 * … … 178 197 */ 179 198 public function save_delivery_date_to_order( $order, $request ): void { 180 unset( $request ); // Date is sourced from the session, not the request body. 199 // The date itself comes from the session, never from the request body. The request 200 // only tells us whether this is the real order placement (see is_order_placement()). 201 if ( ! self::is_order_placement( $request ) ) { 202 return; 203 } 181 204 182 205 try { -
daybound-delivery-date/tags/1.0.1/src/Plugin.php
r3815868 r3816016 13 13 use Daybound\Admin\OrderMeta; 14 14 use Daybound\Frontend\OrderDisplay; 15 use Daybound\Privacy\PrivacyTools; 15 16 16 17 /** … … 69 70 // Shopper-facing display of the saved date (order confirmation, account, emails). 70 71 ( new OrderDisplay() )->register(); 72 73 // Personal data export/erasure + privacy policy text. Not admin-only: erasure 74 // can also run from WooCommerce's scheduled order-retention cleanup. 75 ( new PrivacyTools() )->register(); 71 76 72 77 // Admin surfaces (Settings page + order column/detail). Registered only in the -
daybound-delivery-date/trunk/CHANGELOG.md
r3815868 r3816016 3 3 All notable changes to Daybound Delivery Date for WooCommerce are documented here. 4 4 The format is based on [Keep a Changelog](https://keepachangelog.com/). 5 6 ## [1.0.1] - 2026-11-21 7 8 ### Added 9 - Privacy: delivery date and time slot meta are part of WooCommerce's personal data export and are erased when WooCommerce anonymizes an order (`src/Privacy/PrivacyTools.php`, filter `daybound_privacy_meta_keys`). 10 - Privacy: suggested privacy policy text. 11 - `uninstall.php`: deleting the plugin removes every `daybound_` option and transient (single site and multisite). Order data is kept. 12 13 ### Security 14 - The delivery date is saved only on the real order placement (`POST /wc/store/v1/checkout`), not on `PUT` draft updates. 15 - Pro: only committed orders (processing, completed, on-hold) count toward the daily capacity, so drafts or unpaid orders can no longer fill a day (filter `daybound_capacity_counted_statuses`). 16 - Pro: CSV export written as strict RFC 4180, closing a formula-injection bypass with backslash-quote payloads. 5 17 6 18 ## [1.0.0] - 2026-06-05 -
daybound-delivery-date/trunk/daybound-delivery-date.php
r3815868 r3816016 4 4 * Plugin Name: Daybound Delivery Date for WooCommerce 5 5 * Description: Smart delivery date picker that lives inside the WooCommerce block checkout via the official Block Checkout Integration API. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: Edinson Moreno 8 8 * License: GPL-2.0+ … … 42 42 * Plugin version (kept in sync with the header). 43 43 */ 44 const DAYBOUND_VERSION = '1.0. 0';44 const DAYBOUND_VERSION = '1.0.1'; 45 45 46 46 /** -
daybound-delivery-date/trunk/languages/daybound-delivery-date-es_CO.po
r3815868 r3816016 3 3 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/daybound-delivery-" 4 4 "date\n" 5 "POT-Creation-Date: 2026-11-2 1T23:32:14+01:00\n"5 "POT-Creation-Date: 2026-11-22T02:43:12+01:00\n" 6 6 "Language: es_CO\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" … … 155 155 msgstr "Ocurrió un error inesperado. Inténtalo de nuevo." 156 156 157 #: src/Api/DeliveryDateExtend.php: 282157 #: src/Api/DeliveryDateExtend.php:305 158 158 msgid "" 159 159 "You are updating the delivery date too quickly. Please wait a moment and try " … … 166 166 msgid "Delivery date:" 167 167 msgstr "Fecha de entrega:" 168 169 #: src/Privacy/PrivacyTools.php:62 170 msgid "Delivery date" 171 msgstr "Fecha de entrega" 172 173 #: src/Privacy/PrivacyTools.php:63 174 msgid "Delivery time slot" 175 msgstr "Franja horaria de entrega" 176 177 #: src/Privacy/PrivacyTools.php:160 178 msgid "" 179 "When you place an order, we store the delivery date you choose (and, if " 180 "offered, the delivery time slot) with your order, so we can prepare and " 181 "deliver it on that day. It is kept for as long as we keep the order and is " 182 "included when you request an export or erasure of your personal data." 183 msgstr "" 184 "Cuando haces un pedido, guardamos con él la fecha de entrega que eliges (y, " 185 "si se ofrece, la franja horaria de entrega) para poder prepararlo y " 186 "entregarlo ese día. Se conserva mientras conservemos el pedido y se incluye " 187 "cuando solicitas la exportación o el borrado de tus datos personales." 188 189 #: src/Privacy/PrivacyTools.php:161 190 msgid "" 191 "The Daybound Delivery Date plugin does not send this information to its " 192 "developer or to any third party." 193 msgstr "" 194 "El plugin Daybound Delivery Date no envía esta información a su " 195 "desarrollador ni a terceros." 168 196 169 197 #: src/Util/DateValidator.php:61 src/Util/DateValidator.php:74 -
daybound-delivery-date/trunk/languages/daybound-delivery-date-es_ES.po
r3815868 r3816016 3 3 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/daybound-delivery-" 4 4 "date\n" 5 "POT-Creation-Date: 2026-11-2 1T23:32:14+01:00\n"5 "POT-Creation-Date: 2026-11-22T02:43:12+01:00\n" 6 6 "Language: es_ES\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" … … 155 155 msgstr "Ocurrió un error inesperado. Inténtalo de nuevo." 156 156 157 #: src/Api/DeliveryDateExtend.php: 282157 #: src/Api/DeliveryDateExtend.php:305 158 158 msgid "" 159 159 "You are updating the delivery date too quickly. Please wait a moment and try " … … 166 166 msgid "Delivery date:" 167 167 msgstr "Fecha de entrega:" 168 169 #: src/Privacy/PrivacyTools.php:62 170 msgid "Delivery date" 171 msgstr "Fecha de entrega" 172 173 #: src/Privacy/PrivacyTools.php:63 174 msgid "Delivery time slot" 175 msgstr "Franja horaria de entrega" 176 177 #: src/Privacy/PrivacyTools.php:160 178 msgid "" 179 "When you place an order, we store the delivery date you choose (and, if " 180 "offered, the delivery time slot) with your order, so we can prepare and " 181 "deliver it on that day. It is kept for as long as we keep the order and is " 182 "included when you request an export or erasure of your personal data." 183 msgstr "" 184 "Cuando haces un pedido, guardamos con él la fecha de entrega que eliges (y, " 185 "si se ofrece, la franja horaria de entrega) para poder prepararlo y " 186 "entregarlo ese día. Se conserva mientras conservemos el pedido y se incluye " 187 "cuando solicitas la exportación o el borrado de tus datos personales." 188 189 #: src/Privacy/PrivacyTools.php:161 190 msgid "" 191 "The Daybound Delivery Date plugin does not send this information to its " 192 "developer or to any third party." 193 msgstr "" 194 "El plugin Daybound Delivery Date no envía esta información a su " 195 "desarrollador ni a terceros." 168 196 169 197 #: src/Util/DateValidator.php:61 src/Util/DateValidator.php:74 -
daybound-delivery-date/trunk/languages/daybound-delivery-date-es_MX.po
r3815868 r3816016 3 3 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/daybound-delivery-" 4 4 "date\n" 5 "POT-Creation-Date: 2026-11-2 1T23:32:14+01:00\n"5 "POT-Creation-Date: 2026-11-22T02:43:12+01:00\n" 6 6 "Language: es_MX\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" … … 155 155 msgstr "Ocurrió un error inesperado. Inténtalo de nuevo." 156 156 157 #: src/Api/DeliveryDateExtend.php: 282157 #: src/Api/DeliveryDateExtend.php:305 158 158 msgid "" 159 159 "You are updating the delivery date too quickly. Please wait a moment and try " … … 166 166 msgid "Delivery date:" 167 167 msgstr "Fecha de entrega:" 168 169 #: src/Privacy/PrivacyTools.php:62 170 msgid "Delivery date" 171 msgstr "Fecha de entrega" 172 173 #: src/Privacy/PrivacyTools.php:63 174 msgid "Delivery time slot" 175 msgstr "Franja horaria de entrega" 176 177 #: src/Privacy/PrivacyTools.php:160 178 msgid "" 179 "When you place an order, we store the delivery date you choose (and, if " 180 "offered, the delivery time slot) with your order, so we can prepare and " 181 "deliver it on that day. It is kept for as long as we keep the order and is " 182 "included when you request an export or erasure of your personal data." 183 msgstr "" 184 "Cuando haces un pedido, guardamos con él la fecha de entrega que eliges (y, " 185 "si se ofrece, la franja horaria de entrega) para poder prepararlo y " 186 "entregarlo ese día. Se conserva mientras conservemos el pedido y se incluye " 187 "cuando solicitas la exportación o el borrado de tus datos personales." 188 189 #: src/Privacy/PrivacyTools.php:161 190 msgid "" 191 "The Daybound Delivery Date plugin does not send this information to its " 192 "developer or to any third party." 193 msgstr "" 194 "El plugin Daybound Delivery Date no envía esta información a su " 195 "desarrollador ni a terceros." 168 196 169 197 #: src/Util/DateValidator.php:61 src/Util/DateValidator.php:74 -
daybound-delivery-date/trunk/languages/daybound-delivery-date.pot
r3815868 r3816016 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Daybound Delivery Date for WooCommerce 1.0. 0\n"5 "Project-Id-Version: Daybound Delivery Date for WooCommerce 1.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/daybound-delivery-date\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-11-2 1T23:32:14+01:00\n"12 "POT-Creation-Date: 2026-11-22T02:43:12+01:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 139 139 msgstr "" 140 140 141 #: src/Api/DeliveryDateExtend.php: 282141 #: src/Api/DeliveryDateExtend.php:305 142 142 msgid "You are updating the delivery date too quickly. Please wait a moment and try again." 143 143 msgstr "" … … 146 146 #: assets/build/checkout-extension.js:1 147 147 msgid "Delivery date:" 148 msgstr "" 149 150 #: src/Privacy/PrivacyTools.php:62 151 msgid "Delivery date" 152 msgstr "" 153 154 #: src/Privacy/PrivacyTools.php:63 155 msgid "Delivery time slot" 156 msgstr "" 157 158 #: src/Privacy/PrivacyTools.php:160 159 msgid "When you place an order, we store the delivery date you choose (and, if offered, the delivery time slot) with your order, so we can prepare and deliver it on that day. It is kept for as long as we keep the order and is included when you request an export or erasure of your personal data." 160 msgstr "" 161 162 #: src/Privacy/PrivacyTools.php:161 163 msgid "The Daybound Delivery Date plugin does not send this information to its developer or to any third party." 148 164 msgstr "" 149 165 -
daybound-delivery-date/trunk/readme.txt
r3815868 r3816016 7 7 WC requires at least: 8.3 8 8 WC tested up to: 11.3 9 Stable tag: 1.0. 09 Stable tag: 1.0.1 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 80 80 == Changelog == 81 81 82 = 1.0.1 = 83 * Privacy: delivery dates and time slots are now included in WooCommerce's personal data export and removed when an order is anonymized (Tools → Erase Personal Data, or order retention). 84 * Privacy: suggested text for your privacy policy (Settings → Privacy → Policy Guide). 85 * Deleting the plugin now removes its settings (orders keep their delivery dates). 86 * Security hardening: the delivery date is only saved when the order is actually placed, not while the checkout draft is being updated. 87 82 88 = 1.0.0 = 83 89 * Initial public release. … … 95 101 == Upgrade Notice == 96 102 103 = 1.0.1 = 104 Privacy tools integration (export/erase personal data), clean uninstall and a security hardening of the checkout. Recommended for all stores. 105 97 106 = 1.0.0 = 98 107 First public release. Requires WooCommerce 8.3+ with the block checkout, WordPress 6.6+, and PHP 8.0+. -
daybound-delivery-date/trunk/src/Api/DeliveryDateExtend.php
r3815868 r3816016 164 164 165 165 /** 166 * Whether a checkout request is the actual order placement. 167 * 168 * WooCommerce fires the same "update order from request" hook for `PUT /checkout`, 169 * which only refreshes the draft order and takes no payment. Writing the date there 170 * would let anyone book delivery days without buying (filling the Pro daily capacity) 171 * and would clear the shopper's session date before they actually order. 172 * 173 * @param mixed $request The checkout request (a WP_REST_Request). 174 * @return bool False only for a request that is clearly not a POST. 175 */ 176 public static function is_order_placement( $request ): bool { 177 if ( ! is_object( $request ) || ! method_exists( $request, 'get_method' ) ) { 178 return true; 179 } 180 181 return 'POST' === strtoupper( (string) $request->get_method() ); 182 } 183 184 /** 166 185 * Persist the session delivery date onto the order during checkout. 167 186 * … … 178 197 */ 179 198 public function save_delivery_date_to_order( $order, $request ): void { 180 unset( $request ); // Date is sourced from the session, not the request body. 199 // The date itself comes from the session, never from the request body. The request 200 // only tells us whether this is the real order placement (see is_order_placement()). 201 if ( ! self::is_order_placement( $request ) ) { 202 return; 203 } 181 204 182 205 try { -
daybound-delivery-date/trunk/src/Plugin.php
r3815868 r3816016 13 13 use Daybound\Admin\OrderMeta; 14 14 use Daybound\Frontend\OrderDisplay; 15 use Daybound\Privacy\PrivacyTools; 15 16 16 17 /** … … 69 70 // Shopper-facing display of the saved date (order confirmation, account, emails). 70 71 ( new OrderDisplay() )->register(); 72 73 // Personal data export/erasure + privacy policy text. Not admin-only: erasure 74 // can also run from WooCommerce's scheduled order-retention cleanup. 75 ( new PrivacyTools() )->register(); 71 76 72 77 // Admin surfaces (Settings page + order column/detail). Registered only in the
Note:
See TracChangeset
for help on using the changeset viewer.