Skip to content

Commit 4b06053

Browse files
arthur791004matticbot
authored andcommitted
MU WPCOM: Port the site visibility settings from Calypso to WP Admin (#42230)
* MU WPCOM: Port the site visibility setting * Render the site visibility on frontend * Handle the logic of the settings * Generate site preview link * changelog * Refine layout * Update pnpm-lock.yaml * Handle the update of the site options * Clean up variables * Display launch site button for the unlaunched sites * Display site preview link for unlaunched sites * Update the copy of the site management panel link * Fix lint * Change to use the /sites//hosting/wpcom-public-coming-soon endpoint * Fix the value of wpcom_data_sharing_opt_out * Change to use the /sites//site-visibility endpoint * Use wpcom_json_api_request_as_blog on simple sites * Show the details of the public only when the current site visibility is configured to public * Simplify the condition * Add missing class name Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/13988484555 Upstream-Ref: Automattic/jetpack@5b3eef2
1 parent 31e8fd8 commit 4b06053

File tree

18 files changed

+796
-110
lines changed

18 files changed

+796
-110
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ This is an alpha version! The changes listed here are not final.
3434
- Hide verify email launchpad task for "existing users"
3535
- Live Preview: Don't change the homepage when previewing a theme in the Site Editor
3636
- MU WPCOM: Prevent site owner from editing user's account-level fields
37+
- Site Visibility: Port the site visibility settings from Calypso to WP Admin
3738
- Theme: Clean up files that were used during the theme switch and theme preview
3839
- update composer.lock files
3940
- Updated package dependencies.

composer.lock

+32-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jetpack_vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ This is an alpha version! The changes listed here are not final.
9696
- Remove duplicate views: Enhance notices
9797
- Render the Global Styles frontend bar separately from the .com launch bar.
9898
- Restored the code that assigned global styles on personal variations and added the new experiment code
99+
- Site Visibility: Port the site visibility settings from Calypso to WP Admin
99100
- Theme: Clean up files that were used during the theme switch and theme preview
100101
- Update background pattern image
101102
- Updated /settings/general url to /sites/settings/site for classic style users
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('react', 'react-dom', 'wp-components', 'wp-compose', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'b2c7b09603290d3c31dd');

jetpack_vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-replace-site-visibility/wpcom-replace-site-visibility.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)