Private - No change to LYS state, but frontend page should prompt wp-admin login
This PR doesn't sync the initial coming soon state from WPCOM. I think we need to see when WPCOM set the initial coming soon state to decide how to handle it.
[ ] This PR is a very minor change/addition and does not require testing instructions (if checked you can ignore/remove the next section).
Run wp option set launch-status unlaunched if the site is launched before
Enable LYS coming soon mode
Open site in the incognito window and confirm that the site is in coming soon mode
Go to https://wordpress.com/settings/general/SITE_URL and click on Launch site button
Confirm that the site is in live mode
Change the WPCOM site status to coming soon
Confirm that the site is in coming soon mode
Change the WPCOM site status to Live mode
Confirm that the site is in live mode
Change the WPCOM site status to private
Confirm that the site is in private mode
Other information:
[ ] 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:
Partially closes https://github.com/woocommerce/team-ghidorah/issues/344
Sync coming soon status from WPCOM to LYS.
When clicking on Launch site button in https://wordpress.com/settings/general/SITE_URL When changing the following states in https://wordpress.com/settings/general/SITE_URL:
This PR doesn't sync the initial coming soon state from WPCOM. I think we need to see when WPCOM set the initial coming soon state to decide how to handle it.
How to test the changes in this Pull Request:
wp option set launch-status unlaunched
if the site is launched beforehttps://wordpress.com/settings/general/SITE_URL
and click on Launch site buttonOther information:
FOR PR REVIEWER ONLY: