Go to https://wordpress.com/settings/general/SITE_URL and enable WPCOM coming soon
Go to /wp-admin/admin.php?page=wc-settings&tab=site-visibility and enable LYS coming soon
Open the site frontend in an incognito window and confirm that the LYS coming soon page is shown
Enable WPCOM share link and use the share link to open the site in an incognito window
Confirm that the LYS coming soon page is not shown
Confirm that you can use LYS private link to bypass coming soon mode
Other information:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes, as applicable?
FOR PR REVIEWER ONLY:
[ ] I have reviewed that everything is sanitized/escaped appropriately for any SQL or XSS injection possibilities. I made sure Linting is not ignored or disabled.
Changes proposed in this Pull Request:
Closes https://github.com/Automattic/wc-calypso-bridge/issues/1499.
Add a filter to exclude LYS coming soon page for WPCOM share link
How to test the changes in this Pull Request:
https://wordpress.com/settings/general/SITE_URL
and enable WPCOM coming soon/wp-admin/admin.php?page=wc-settings&tab=site-visibility
and enable LYS coming soonOther information:
FOR PR REVIEWER ONLY: