v3.4.161
Recovers and ports into git several bug fixes that had been applied directly on the production server and were never committed:
- Consolidate three duplicate
is_resource_retired()implementations intoWGDP_Product_Meta::is_resource_retired(). - Reuse the existing
account_idwhen reconnecting a previously-seen Google account, instead of minting a new one and orphaning existing product/entitlement references. - Throttled admin alert when the retry/backfill cron is stuck skipping rows for a disconnected Google account.
- Lock product/variation release latches to prevent a race that could double-fire release hooks (and double-email customers).
- New reminder email: when a product's release gate opens, customers with orders still missing a recipient are asked to submit their Google account.
- Admin alert + order note when the sales counter can't be incremented due to a disconnected account.