-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Social | Hide irrelevant UI on social admin page (#41393)
* Hide Social Notes if Social plugin is not active * Hide connection screen and pricing page for WPCOM * Hide upgrade nudge for WPCOM * Add safe fallbacks for settings selectors for WPCOM * Hide shares data on WPCOM * Hide plugin footer on WPCOM * Hide license notice for WPCOM * Hide publicize toggle on WPCOM * Hide UTM toggle for now on WPCOM * Revert "Hide UTM toggle for now on WPCOM" This reverts commit c88feecbe69c6310b4a1ebc8caa514c86c7cec8f. Settings API is fixed in #41420 * Fix unit tests * Adjust the WPCOM test and display of the toggle section. * Adjust styling and fix selector name. * Add dummy arg to avoid optimisation problems. * Create our helper function * Hide everything that's not self hosted * Move util to script data package * changelog * Clean up function * Use function in admin page * Update support doc link and general publicize help link * Fix selector to check that the module is active. * Swap to using _x rather than a dummy arg to fix the optimisation --------- Co-authored-by: Paul Bunkham <[email protected]> Co-authored-by: Gergely Juhasz <[email protected]> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/13244593460 Upstream-Ref: Automattic/jetpack@407829a
- Loading branch information
Showing
4 changed files
with
54 additions
and
54 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
jetpack_vendor/automattic/jetpack-assets/build/jetpack-script-data.asset.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<?php return array('dependencies' => array(), 'version' => '3d6b6c0a2cee025f46f3'); | ||
<?php return array('dependencies' => array(), 'version' => 'fa56169a364243ed8d42'); |
2 changes: 1 addition & 1 deletion
2
jetpack_vendor/automattic/jetpack-assets/build/jetpack-script-data.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.