Closed claudiulodro closed 3 months ago
Thanks for the quick review! I'll merge this Sunday night or something so there's no risk of a Friday afternoon deploy :)
:tada: This PR is included in version 4.3.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
All Submissions:
Changes proposed in this Pull Request:
Fixes an issue we run into occasionally where a clone/staging site will pollute live ESP data because there are multiple sites connected to the same ESP and syncing data.
Note: This is a hotfix.
How to test the changes in this Pull Request:
newspackstaging.com
sites, but you can also actually test on one of those sites.Locally:
get option wc_subscriptions_siteurl
should return something likehttp://newspack_[wc_subscriptions_siteurl]_dev.local
(with your local site URL and that thing in the middle of it). Update it to some other URL (keep the thing in the middle of it). This will automatically put WC Subscriptions into staging mode.NP_Membership Status
data synced up to the ESP.define( 'NEWSPACK_FORCE_ALLOW_ESP_SYNC', true );
to your wp-config. Update a subscription status again and observe the change IS reflected at the ESP.Other information: