diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000000..a4829d5b4839e --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,14 @@ +{ + /** + * List of recommended extensions to use for this workspace. + * The identifier of an extension is always `${publisher}.${name}`, + * which is a part of the URL, e.g. https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint + * You can view these extensions using the command `Extensions: Show Recommended Extensions`. + */ + "recommendations": [ + "bmewburn.vscode-intelephense-client", // PHP Intelephense + "dbaeumer.vscode-eslint", // ESLint + "esbenp.prettier-vscode", // Prettier - Code formatter + "obliviousharmony.vscode-php-codesniffer" // PHP_CodeSniffer + ] +} diff --git a/.vscode/settings.dist.jsonc b/.vscode/settings.dist.jsonc index 5e14562fb29b5..ebe28cdd6b8fe 100644 --- a/.vscode/settings.dist.jsonc +++ b/.vscode/settings.dist.jsonc @@ -37,6 +37,16 @@ "**/jetpack_vendor/**", "**/vendor/**" ], + // Custom settings for PHP files. + "[php]": { + // Ensure that PHP files are formatted with PHPCS. + "editor.formatOnSave": true, + "editor.defaultFormatter": "obliviousharmony.vscode-php-codesniffer" + }, + // Run Code Actions for the editor. + "editor.codeActionsOnSave": { + "source.fixAll": "explicit" + }, // Use this wp-prettier from this path. "prettier.prettierPath": "tools/js-tools/node_modules/prettier/index.cjs" } diff --git a/projects/github-actions/test-results-to-slack/changelog/try-lossless-image-optmization-part-3 b/projects/github-actions/test-results-to-slack/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/github-actions/test-results-to-slack/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-1/results/spec-1/test-failed-1.png b/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-1/results/spec-1/test-failed-1.png index 0251582d6c47e..96aedec7db4f4 100755 Binary files a/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-1/results/spec-1/test-failed-1.png and b/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-1/results/spec-1/test-failed-1.png differ diff --git a/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-2/results/spec-1-retry-1/test-failed-1.png b/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-2/results/spec-1-retry-1/test-failed-1.png index 57143f55e3447..5be538fd8c868 100755 Binary files a/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-2/results/spec-1-retry-1/test-failed-1.png and b/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-2/results/spec-1-retry-1/test-failed-1.png differ diff --git a/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-2/results/spec-1/test-failed-1.png b/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-2/results/spec-1/test-failed-1.png index 57143f55e3447..2629503bbe274 100755 Binary files a/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-2/results/spec-1/test-failed-1.png and b/projects/github-actions/test-results-to-slack/tests/resources/playwright/suite-2/results/spec-1/test-failed-1.png differ diff --git a/projects/js-packages/ai-client/changelog/try-lossless-image-optmization-part-3 b/projects/js-packages/ai-client/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/js-packages/ai-client/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/js-packages/ai-client/src/logo-generator/assets/images/jetpack-logo.svg b/projects/js-packages/ai-client/src/logo-generator/assets/images/jetpack-logo.svg index aa0b8f87aecf4..e7d5d414d0f2b 100644 --- a/projects/js-packages/ai-client/src/logo-generator/assets/images/jetpack-logo.svg +++ b/projects/js-packages/ai-client/src/logo-generator/assets/images/jetpack-logo.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/projects/js-packages/components/changelog/try-lossless-image-optmization-part-3 b/projects/js-packages/components/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/js-packages/components/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/js-packages/components/components/dialog/stories/boost.png b/projects/js-packages/components/components/dialog/stories/boost.png index dd818e4664052..4e7cb0cec7511 100644 Binary files a/projects/js-packages/components/components/dialog/stories/boost.png and b/projects/js-packages/components/components/dialog/stories/boost.png differ diff --git a/projects/js-packages/components/components/upsell-banner/stories/jetpack-manage.svg b/projects/js-packages/components/components/upsell-banner/stories/jetpack-manage.svg index 1cbd2e8265f80..423a6860475e4 100644 --- a/projects/js-packages/components/components/upsell-banner/stories/jetpack-manage.svg +++ b/projects/js-packages/components/components/upsell-banner/stories/jetpack-manage.svg @@ -1,10 +1 @@ - - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/connection/changelog/try-lossless-image-optmization-part-3 b/projects/js-packages/connection/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/js-packages/connection/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/js-packages/licensing/changelog/try-lossless-image-optmization-part-3 b/projects/js-packages/licensing/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/js-packages/licensing/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/js-packages/licensing/components/jetpack-license-activation-with-lock.png b/projects/js-packages/licensing/components/jetpack-license-activation-with-lock.png index ea421dc01db46..bc30500273cdb 100644 Binary files a/projects/js-packages/licensing/components/jetpack-license-activation-with-lock.png and b/projects/js-packages/licensing/components/jetpack-license-activation-with-lock.png differ diff --git a/projects/js-packages/licensing/components/jetpack-license-activation-with-success.png b/projects/js-packages/licensing/components/jetpack-license-activation-with-success.png index a2562d9b7e30f..3a84fe15f0670 100644 Binary files a/projects/js-packages/licensing/components/jetpack-license-activation-with-success.png and b/projects/js-packages/licensing/components/jetpack-license-activation-with-success.png differ diff --git a/projects/js-packages/publicize-components/changelog/try-lossless-image-optmization-part-3 b/projects/js-packages/publicize-components/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/js-packages/publicize-components/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/js-packages/publicize-components/src/assets/connections-facebook.png b/projects/js-packages/publicize-components/src/assets/connections-facebook.png index de2e00744782d..88702bb1a10dd 100644 Binary files a/projects/js-packages/publicize-components/src/assets/connections-facebook.png and b/projects/js-packages/publicize-components/src/assets/connections-facebook.png differ diff --git a/projects/js-packages/publicize-components/src/assets/connections-instagram-business.png b/projects/js-packages/publicize-components/src/assets/connections-instagram-business.png index f4dedd427391a..8a9d029751212 100644 Binary files a/projects/js-packages/publicize-components/src/assets/connections-instagram-business.png and b/projects/js-packages/publicize-components/src/assets/connections-instagram-business.png differ diff --git a/projects/js-packages/publicize-components/src/assets/connections-linkedin.png b/projects/js-packages/publicize-components/src/assets/connections-linkedin.png index b7be697d0c9cb..58e58983b1811 100644 Binary files a/projects/js-packages/publicize-components/src/assets/connections-linkedin.png and b/projects/js-packages/publicize-components/src/assets/connections-linkedin.png differ diff --git a/projects/js-packages/publicize-components/src/assets/connections-nextdoor.png b/projects/js-packages/publicize-components/src/assets/connections-nextdoor.png index 28e2903d40718..48fc9877e610d 100644 Binary files a/projects/js-packages/publicize-components/src/assets/connections-nextdoor.png and b/projects/js-packages/publicize-components/src/assets/connections-nextdoor.png differ diff --git a/projects/js-packages/publicize-components/src/assets/connections-threads.png b/projects/js-packages/publicize-components/src/assets/connections-threads.png index 08af213096819..d000e12025b6d 100644 Binary files a/projects/js-packages/publicize-components/src/assets/connections-threads.png and b/projects/js-packages/publicize-components/src/assets/connections-threads.png differ diff --git a/projects/js-packages/publicize-components/src/assets/connections-tumblr.png b/projects/js-packages/publicize-components/src/assets/connections-tumblr.png index eb40c6a10cf5e..78324ad3977b6 100644 Binary files a/projects/js-packages/publicize-components/src/assets/connections-tumblr.png and b/projects/js-packages/publicize-components/src/assets/connections-tumblr.png differ diff --git a/projects/js-packages/social-logos/changelog/try-lossless-image-optmization-part-3 b/projects/js-packages/social-logos/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/js-packages/social-logos/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/js-packages/social-logos/src/react/social-logo-data.tsx b/projects/js-packages/social-logos/src/react/social-logo-data.tsx index 40c38a7995bb7..9442496e81cf4 100644 --- a/projects/js-packages/social-logos/src/react/social-logo-data.tsx +++ b/projects/js-packages/social-logos/src/react/social-logo-data.tsx @@ -6,7 +6,7 @@ export const SocialLogoData = [ }, { name: 'behance', - svg: , + svg: , }, { name: 'blogger-alt', @@ -22,7 +22,7 @@ export const SocialLogoData = [ }, { name: 'codepen', - svg: , + svg: , }, { name: 'deezer', @@ -42,7 +42,7 @@ export const SocialLogoData = [ }, { name: 'eventbrite', - svg: , + svg: , }, { name: 'facebook', @@ -50,7 +50,7 @@ export const SocialLogoData = [ }, { name: 'fediverse', - svg: , + svg: , }, { name: 'feed', @@ -62,7 +62,7 @@ export const SocialLogoData = [ }, { name: 'foursquare', - svg: , + svg: , }, { name: 'ghost', @@ -94,11 +94,11 @@ export const SocialLogoData = [ }, { name: 'instagram', - svg: , + svg: , }, { name: 'json-feed', - svg: , + svg: , }, { name: 'line', @@ -118,11 +118,11 @@ export const SocialLogoData = [ }, { name: 'mastodon', - svg: , + svg: , }, { name: 'medium-alt', - svg: , + svg: , }, { name: 'medium', @@ -138,7 +138,7 @@ export const SocialLogoData = [ }, { name: 'nextdoor', - svg: , + svg: , }, { name: 'patreon', @@ -178,7 +178,7 @@ export const SocialLogoData = [ }, { name: 'skype', - svg: , + svg: , }, { name: 'sms', @@ -214,7 +214,7 @@ export const SocialLogoData = [ }, { name: 'substack', - svg: , + svg: , }, { name: 'telegram', @@ -222,7 +222,7 @@ export const SocialLogoData = [ }, { name: 'threads', - svg: , + svg: , }, { name: 'tiktok-alt', @@ -270,7 +270,7 @@ export const SocialLogoData = [ }, { name: 'whatsapp', - svg: , + svg: , }, { name: 'woocommerce', @@ -278,7 +278,7 @@ export const SocialLogoData = [ }, { name: 'wordpress', - svg: , + svg: , }, { name: 'x', diff --git a/projects/js-packages/social-logos/src/svg/amazon.svg b/projects/js-packages/social-logos/src/svg/amazon.svg index 179f48cf04734..e2febfb43ee8f 100644 --- a/projects/js-packages/social-logos/src/svg/amazon.svg +++ b/projects/js-packages/social-logos/src/svg/amazon.svg @@ -1,21 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/behance.svg b/projects/js-packages/social-logos/src/svg/behance.svg index 96fd6f206063d..857529dcac2f6 100644 --- a/projects/js-packages/social-logos/src/svg/behance.svg +++ b/projects/js-packages/social-logos/src/svg/behance.svg @@ -1,26 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/blogger-alt.svg b/projects/js-packages/social-logos/src/svg/blogger-alt.svg index 0c962f42c5fb9..cb1133636d45b 100644 --- a/projects/js-packages/social-logos/src/svg/blogger-alt.svg +++ b/projects/js-packages/social-logos/src/svg/blogger-alt.svg @@ -1,14 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/blogger.svg b/projects/js-packages/social-logos/src/svg/blogger.svg index 07047283865bf..5efbd151fb49e 100644 --- a/projects/js-packages/social-logos/src/svg/blogger.svg +++ b/projects/js-packages/social-logos/src/svg/blogger.svg @@ -1,15 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/bluesky.svg b/projects/js-packages/social-logos/src/svg/bluesky.svg index 907311c2d9d00..2e7139ec902f2 100644 --- a/projects/js-packages/social-logos/src/svg/bluesky.svg +++ b/projects/js-packages/social-logos/src/svg/bluesky.svg @@ -1,3 +1 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/codepen.svg b/projects/js-packages/social-logos/src/svg/codepen.svg index 94fc6559f325b..8861892fef2b7 100644 --- a/projects/js-packages/social-logos/src/svg/codepen.svg +++ b/projects/js-packages/social-logos/src/svg/codepen.svg @@ -1,34 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/dribbble.svg b/projects/js-packages/social-logos/src/svg/dribbble.svg index e69250660ac96..d242cddf5e8db 100644 --- a/projects/js-packages/social-logos/src/svg/dribbble.svg +++ b/projects/js-packages/social-logos/src/svg/dribbble.svg @@ -1,19 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/dropbox.svg b/projects/js-packages/social-logos/src/svg/dropbox.svg index c92c58522af44..add6df25b7680 100644 --- a/projects/js-packages/social-logos/src/svg/dropbox.svg +++ b/projects/js-packages/social-logos/src/svg/dropbox.svg @@ -1,12 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/eventbrite.svg b/projects/js-packages/social-logos/src/svg/eventbrite.svg index 6440ffb305291..ce12ac67d07ab 100644 --- a/projects/js-packages/social-logos/src/svg/eventbrite.svg +++ b/projects/js-packages/social-logos/src/svg/eventbrite.svg @@ -1,21 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/facebook.svg b/projects/js-packages/social-logos/src/svg/facebook.svg index 3f8792f85c9ce..e034fb87a5064 100644 --- a/projects/js-packages/social-logos/src/svg/facebook.svg +++ b/projects/js-packages/social-logos/src/svg/facebook.svg @@ -1,7 +1 @@ - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/fediverse.svg b/projects/js-packages/social-logos/src/svg/fediverse.svg index 566e7da62e76f..1145195ebfe0f 100644 --- a/projects/js-packages/social-logos/src/svg/fediverse.svg +++ b/projects/js-packages/social-logos/src/svg/fediverse.svg @@ -1,17 +1 @@ - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/feed.svg b/projects/js-packages/social-logos/src/svg/feed.svg index 1c899bb366922..fe303f5621685 100644 --- a/projects/js-packages/social-logos/src/svg/feed.svg +++ b/projects/js-packages/social-logos/src/svg/feed.svg @@ -1,14 +1 @@ - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/flickr.svg b/projects/js-packages/social-logos/src/svg/flickr.svg index ca4722afd0b32..e8902bea18c33 100644 --- a/projects/js-packages/social-logos/src/svg/flickr.svg +++ b/projects/js-packages/social-logos/src/svg/flickr.svg @@ -1,11 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/foursquare.svg b/projects/js-packages/social-logos/src/svg/foursquare.svg index dd89e601e13ca..510a600ca7eda 100644 --- a/projects/js-packages/social-logos/src/svg/foursquare.svg +++ b/projects/js-packages/social-logos/src/svg/foursquare.svg @@ -1,17 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/ghost.svg b/projects/js-packages/social-logos/src/svg/ghost.svg index a55fcbd99cf56..3546099f1128d 100644 --- a/projects/js-packages/social-logos/src/svg/ghost.svg +++ b/projects/js-packages/social-logos/src/svg/ghost.svg @@ -1,11 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/github.svg b/projects/js-packages/social-logos/src/svg/github.svg index c975befe1f5fd..803cdca59fb90 100644 --- a/projects/js-packages/social-logos/src/svg/github.svg +++ b/projects/js-packages/social-logos/src/svg/github.svg @@ -1,17 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/google-alt.svg b/projects/js-packages/social-logos/src/svg/google-alt.svg index 1b73791e202e8..b0d51108ba8d3 100644 --- a/projects/js-packages/social-logos/src/svg/google-alt.svg +++ b/projects/js-packages/social-logos/src/svg/google-alt.svg @@ -1,13 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/google-plus-alt.svg b/projects/js-packages/social-logos/src/svg/google-plus-alt.svg index d4be85d01f0f8..9860fd546345a 100644 --- a/projects/js-packages/social-logos/src/svg/google-plus-alt.svg +++ b/projects/js-packages/social-logos/src/svg/google-plus-alt.svg @@ -1,12 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/google-plus.svg b/projects/js-packages/social-logos/src/svg/google-plus.svg index 0e388c61cc30a..2409c11e3ce59 100644 --- a/projects/js-packages/social-logos/src/svg/google-plus.svg +++ b/projects/js-packages/social-logos/src/svg/google-plus.svg @@ -1,14 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/google.svg b/projects/js-packages/social-logos/src/svg/google.svg index f5ccc51782e73..16db5ee5f800f 100644 --- a/projects/js-packages/social-logos/src/svg/google.svg +++ b/projects/js-packages/social-logos/src/svg/google.svg @@ -1,12 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/instagram.svg b/projects/js-packages/social-logos/src/svg/instagram.svg index 0b6fb9d96a371..bf181b1b0f426 100644 --- a/projects/js-packages/social-logos/src/svg/instagram.svg +++ b/projects/js-packages/social-logos/src/svg/instagram.svg @@ -1,27 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/json-feed.svg b/projects/js-packages/social-logos/src/svg/json-feed.svg index 4e0663e7a7763..39d5deeb52761 100644 --- a/projects/js-packages/social-logos/src/svg/json-feed.svg +++ b/projects/js-packages/social-logos/src/svg/json-feed.svg @@ -1,14 +1 @@ - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/link.svg b/projects/js-packages/social-logos/src/svg/link.svg index f10afa09df4ed..61867e529b0b7 100644 --- a/projects/js-packages/social-logos/src/svg/link.svg +++ b/projects/js-packages/social-logos/src/svg/link.svg @@ -1,13 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/linkedin.svg b/projects/js-packages/social-logos/src/svg/linkedin.svg index a75bc82d69b00..2e51c1c507543 100644 --- a/projects/js-packages/social-logos/src/svg/linkedin.svg +++ b/projects/js-packages/social-logos/src/svg/linkedin.svg @@ -1,14 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/mail.svg b/projects/js-packages/social-logos/src/svg/mail.svg index d287d4ce4e232..e2f7f1e0808e1 100644 --- a/projects/js-packages/social-logos/src/svg/mail.svg +++ b/projects/js-packages/social-logos/src/svg/mail.svg @@ -1,11 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/mastodon.svg b/projects/js-packages/social-logos/src/svg/mastodon.svg index a4e7dd27645a1..03478d98e5023 100644 --- a/projects/js-packages/social-logos/src/svg/mastodon.svg +++ b/projects/js-packages/social-logos/src/svg/mastodon.svg @@ -1,6 +1 @@ - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/medium-alt.svg b/projects/js-packages/social-logos/src/svg/medium-alt.svg index 4898f3565f002..2d895ff271990 100644 --- a/projects/js-packages/social-logos/src/svg/medium-alt.svg +++ b/projects/js-packages/social-logos/src/svg/medium-alt.svg @@ -1,7 +1 @@ - - - medium-alt - - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/medium.svg b/projects/js-packages/social-logos/src/svg/medium.svg index 19cf83eb0b907..c01678ad9fe28 100644 --- a/projects/js-packages/social-logos/src/svg/medium.svg +++ b/projects/js-packages/social-logos/src/svg/medium.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/microblog.svg b/projects/js-packages/social-logos/src/svg/microblog.svg index 933085c547498..b71fe7f6aaca1 100644 --- a/projects/js-packages/social-logos/src/svg/microblog.svg +++ b/projects/js-packages/social-logos/src/svg/microblog.svg @@ -1,22 +1 @@ - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/nextdoor.svg b/projects/js-packages/social-logos/src/svg/nextdoor.svg index aa9b19e1bdfdf..04980e648fd22 100644 --- a/projects/js-packages/social-logos/src/svg/nextdoor.svg +++ b/projects/js-packages/social-logos/src/svg/nextdoor.svg @@ -1,9 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/patreon.svg b/projects/js-packages/social-logos/src/svg/patreon.svg index 283bd6801b061..ec1ba69f14efe 100644 --- a/projects/js-packages/social-logos/src/svg/patreon.svg +++ b/projects/js-packages/social-logos/src/svg/patreon.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/pinterest-alt.svg b/projects/js-packages/social-logos/src/svg/pinterest-alt.svg index 11dda7c40bf6a..691cf3a9c4c14 100644 --- a/projects/js-packages/social-logos/src/svg/pinterest-alt.svg +++ b/projects/js-packages/social-logos/src/svg/pinterest-alt.svg @@ -1,16 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/pinterest.svg b/projects/js-packages/social-logos/src/svg/pinterest.svg index 5bcd6b02ef5c5..1f8b1c0b40598 100644 --- a/projects/js-packages/social-logos/src/svg/pinterest.svg +++ b/projects/js-packages/social-logos/src/svg/pinterest.svg @@ -1,17 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/pocket.svg b/projects/js-packages/social-logos/src/svg/pocket.svg index fa20873e5a2ae..7f86c472225e3 100644 --- a/projects/js-packages/social-logos/src/svg/pocket.svg +++ b/projects/js-packages/social-logos/src/svg/pocket.svg @@ -1,17 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/polldaddy.svg b/projects/js-packages/social-logos/src/svg/polldaddy.svg index 7d081f51b0f39..a13a96287e4b1 100644 --- a/projects/js-packages/social-logos/src/svg/polldaddy.svg +++ b/projects/js-packages/social-logos/src/svg/polldaddy.svg @@ -1,32 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/print.svg b/projects/js-packages/social-logos/src/svg/print.svg index 688539c01e570..8010a327f9eb8 100644 --- a/projects/js-packages/social-logos/src/svg/print.svg +++ b/projects/js-packages/social-logos/src/svg/print.svg @@ -1,12 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/reddit.svg b/projects/js-packages/social-logos/src/svg/reddit.svg index 222c495009204..3bd10232418d4 100644 --- a/projects/js-packages/social-logos/src/svg/reddit.svg +++ b/projects/js-packages/social-logos/src/svg/reddit.svg @@ -1,26 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/share.svg b/projects/js-packages/social-logos/src/svg/share.svg index 055f7f8792c68..d7fd5945e634e 100644 --- a/projects/js-packages/social-logos/src/svg/share.svg +++ b/projects/js-packages/social-logos/src/svg/share.svg @@ -1,17 +1 @@ - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/skype.svg b/projects/js-packages/social-logos/src/svg/skype.svg index 360d429ef14ac..8180cbfc233fc 100644 --- a/projects/js-packages/social-logos/src/svg/skype.svg +++ b/projects/js-packages/social-logos/src/svg/skype.svg @@ -1,27 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/spotify.svg b/projects/js-packages/social-logos/src/svg/spotify.svg index 908f5d491ee9b..959ad31634dfd 100644 --- a/projects/js-packages/social-logos/src/svg/spotify.svg +++ b/projects/js-packages/social-logos/src/svg/spotify.svg @@ -1,16 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/squarespace.svg b/projects/js-packages/social-logos/src/svg/squarespace.svg index 2af2fe5e526c9..91fb952e3b760 100644 --- a/projects/js-packages/social-logos/src/svg/squarespace.svg +++ b/projects/js-packages/social-logos/src/svg/squarespace.svg @@ -1,19 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/stackexchange.svg b/projects/js-packages/social-logos/src/svg/stackexchange.svg index 0d6aee1f3c59b..3bd334fe56d5e 100644 --- a/projects/js-packages/social-logos/src/svg/stackexchange.svg +++ b/projects/js-packages/social-logos/src/svg/stackexchange.svg @@ -1,9 +1 @@ - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/stackoverflow.svg b/projects/js-packages/social-logos/src/svg/stackoverflow.svg index 10aab0cb967af..d1a1f2e979575 100644 --- a/projects/js-packages/social-logos/src/svg/stackoverflow.svg +++ b/projects/js-packages/social-logos/src/svg/stackoverflow.svg @@ -1,20 +1 @@ - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/stumbleupon.svg b/projects/js-packages/social-logos/src/svg/stumbleupon.svg index faaba96d203f6..07564ce0eefaf 100644 --- a/projects/js-packages/social-logos/src/svg/stumbleupon.svg +++ b/projects/js-packages/social-logos/src/svg/stumbleupon.svg @@ -1,14 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/substack.svg b/projects/js-packages/social-logos/src/svg/substack.svg index 9ae8fc32b7cb3..e554b9de8a5d4 100644 --- a/projects/js-packages/social-logos/src/svg/substack.svg +++ b/projects/js-packages/social-logos/src/svg/substack.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/telegram.svg b/projects/js-packages/social-logos/src/svg/telegram.svg index 983ce801cea08..564518478d788 100644 --- a/projects/js-packages/social-logos/src/svg/telegram.svg +++ b/projects/js-packages/social-logos/src/svg/telegram.svg @@ -1,13 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/threads.svg b/projects/js-packages/social-logos/src/svg/threads.svg index c82a1d3c91cc9..ba3aef259b0c2 100644 --- a/projects/js-packages/social-logos/src/svg/threads.svg +++ b/projects/js-packages/social-logos/src/svg/threads.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/tiktok-alt.svg b/projects/js-packages/social-logos/src/svg/tiktok-alt.svg index 46d8d097471f7..a1742364056ca 100644 --- a/projects/js-packages/social-logos/src/svg/tiktok-alt.svg +++ b/projects/js-packages/social-logos/src/svg/tiktok-alt.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/tiktok.svg b/projects/js-packages/social-logos/src/svg/tiktok.svg index 85ca8271aa06b..1f8de8a474af0 100644 --- a/projects/js-packages/social-logos/src/svg/tiktok.svg +++ b/projects/js-packages/social-logos/src/svg/tiktok.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/tripadvisor.svg b/projects/js-packages/social-logos/src/svg/tripadvisor.svg index 5092cefc7aa0b..5bd1c22073acb 100644 --- a/projects/js-packages/social-logos/src/svg/tripadvisor.svg +++ b/projects/js-packages/social-logos/src/svg/tripadvisor.svg @@ -1,36 +1 @@ - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/tumblr-alt.svg b/projects/js-packages/social-logos/src/svg/tumblr-alt.svg index 5ec153afbf3c4..8acd903e63878 100644 --- a/projects/js-packages/social-logos/src/svg/tumblr-alt.svg +++ b/projects/js-packages/social-logos/src/svg/tumblr-alt.svg @@ -1,12 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/tumblr.svg b/projects/js-packages/social-logos/src/svg/tumblr.svg index df2cf1159b772..4cbe354ec2978 100644 --- a/projects/js-packages/social-logos/src/svg/tumblr.svg +++ b/projects/js-packages/social-logos/src/svg/tumblr.svg @@ -1,13 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/twitch.svg b/projects/js-packages/social-logos/src/svg/twitch.svg index e649f4b5d3b8d..9d338c2dfc174 100644 --- a/projects/js-packages/social-logos/src/svg/twitch.svg +++ b/projects/js-packages/social-logos/src/svg/twitch.svg @@ -1,11 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/twitter-alt.svg b/projects/js-packages/social-logos/src/svg/twitter-alt.svg index e5e44fb1d9c36..e3ae78d596e5d 100644 --- a/projects/js-packages/social-logos/src/svg/twitter-alt.svg +++ b/projects/js-packages/social-logos/src/svg/twitter-alt.svg @@ -1,16 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/twitter.svg b/projects/js-packages/social-logos/src/svg/twitter.svg index ab9f37d312d88..b8b9b84f79d40 100644 --- a/projects/js-packages/social-logos/src/svg/twitter.svg +++ b/projects/js-packages/social-logos/src/svg/twitter.svg @@ -1,17 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/vimeo.svg b/projects/js-packages/social-logos/src/svg/vimeo.svg index b389993c322c8..0ed7a93f79a94 100644 --- a/projects/js-packages/social-logos/src/svg/vimeo.svg +++ b/projects/js-packages/social-logos/src/svg/vimeo.svg @@ -1,17 +1 @@ - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/whatsapp.svg b/projects/js-packages/social-logos/src/svg/whatsapp.svg index 372bce8770e2e..0932e94d3c6a9 100644 --- a/projects/js-packages/social-logos/src/svg/whatsapp.svg +++ b/projects/js-packages/social-logos/src/svg/whatsapp.svg @@ -1,22 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/woocommerce.svg b/projects/js-packages/social-logos/src/svg/woocommerce.svg index c3e3748b1502b..bb345547fc4ff 100644 --- a/projects/js-packages/social-logos/src/svg/woocommerce.svg +++ b/projects/js-packages/social-logos/src/svg/woocommerce.svg @@ -1,11 +1 @@ - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/wordpress.svg b/projects/js-packages/social-logos/src/svg/wordpress.svg index cb69363bd0361..cbd7793bdd215 100644 --- a/projects/js-packages/social-logos/src/svg/wordpress.svg +++ b/projects/js-packages/social-logos/src/svg/wordpress.svg @@ -1,20 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/x.svg b/projects/js-packages/social-logos/src/svg/x.svg index ca3bd7b8f2395..6d306bc2c4493 100644 --- a/projects/js-packages/social-logos/src/svg/x.svg +++ b/projects/js-packages/social-logos/src/svg/x.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/xanga.svg b/projects/js-packages/social-logos/src/svg/xanga.svg index 9909d4aafd297..8f86ecd9e8c25 100644 --- a/projects/js-packages/social-logos/src/svg/xanga.svg +++ b/projects/js-packages/social-logos/src/svg/xanga.svg @@ -1,10 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/social-logos/src/svg/youtube.svg b/projects/js-packages/social-logos/src/svg/youtube.svg index 90bb051ef2a36..fedc71921c486 100644 --- a/projects/js-packages/social-logos/src/svg/youtube.svg +++ b/projects/js-packages/social-logos/src/svg/youtube.svg @@ -1,14 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/js-packages/storybook/changelog/try-lossless-image-optmization-part-3 b/projects/js-packages/storybook/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/js-packages/storybook/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/js-packages/storybook/public/connect-right.png b/projects/js-packages/storybook/public/connect-right.png index 66f8710ac0634..4779757259f45 100644 Binary files a/projects/js-packages/storybook/public/connect-right.png and b/projects/js-packages/storybook/public/connect-right.png differ diff --git a/projects/packages/assets/changelog/update-i18n-loader-footer b/projects/packages/assets/changelog/update-i18n-loader-footer new file mode 100644 index 0000000000000..9de80af7f94de --- /dev/null +++ b/projects/packages/assets/changelog/update-i18n-loader-footer @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +i18n loader script & React JSX runtime: load scripts in the footer. diff --git a/projects/packages/assets/src/class-assets.php b/projects/packages/assets/src/class-assets.php index 303c9459282d7..3177ab69573b6 100644 --- a/projects/packages/assets/src/class-assets.php +++ b/projects/packages/assets/src/class-assets.php @@ -510,24 +510,31 @@ public static function wp_default_scripts_hook( $wp_scripts ) { } $url = self::normalize_path( plugins_url( $path, __FILE__ ) ); $url = add_query_arg( 'minify', 'true', $url ); - $wp_scripts->add( 'wp-jp-i18n-loader', $url, $asset['dependencies'], $asset['version'] ); + + $handle = 'wp-jp-i18n-loader'; + + $wp_scripts->add( $handle, $url, $asset['dependencies'], $asset['version'] ); + + // Ensure the script is loaded in the footer and deferred. + $wp_scripts->add_data( $handle, 'group', 1 ); + if ( ! is_array( $data ) || ! isset( $data['baseUrl'] ) || ! ( is_string( $data['baseUrl'] ) || false === $data['baseUrl'] ) || ! isset( $data['locale'] ) || ! is_string( $data['locale'] ) || ! isset( $data['domainMap'] ) || ! is_array( $data['domainMap'] ) || ! isset( $data['domainPaths'] ) || ! is_array( $data['domainPaths'] ) ) { - $wp_scripts->add_inline_script( 'wp-jp-i18n-loader', 'console.warn( "I18n state deleted by jetpack_i18n_state hook" );' ); + $wp_scripts->add_inline_script( $handle, 'console.warn( "I18n state deleted by jetpack_i18n_state hook" );' ); } elseif ( ! $data['baseUrl'] ) { - $wp_scripts->add_inline_script( 'wp-jp-i18n-loader', 'console.warn( "Failed to determine languages base URL. Is WP_LANG_DIR in the WordPress root?" );' ); + $wp_scripts->add_inline_script( $handle, 'console.warn( "Failed to determine languages base URL. Is WP_LANG_DIR in the WordPress root?" );' ); } else { $data['domainMap'] = (object) $data['domainMap']; // Ensure it becomes a json object. $data['domainPaths'] = (object) $data['domainPaths']; // Ensure it becomes a json object. - $wp_scripts->add_inline_script( 'wp-jp-i18n-loader', 'wp.jpI18nLoader.state = ' . wp_json_encode( $data, JSON_UNESCAPED_SLASHES ) . ';' ); + $wp_scripts->add_inline_script( $handle, 'wp.jpI18nLoader.state = ' . wp_json_encode( $data, JSON_UNESCAPED_SLASHES ) . ';' ); } // Deprecated state module: Depend on wp-i18n to ensure global `wp` exists and because anything needing this will need that too. - $wp_scripts->add( 'wp-jp-i18n-state', false, array( 'wp-deprecated', 'wp-jp-i18n-loader' ) ); + $wp_scripts->add( 'wp-jp-i18n-state', false, array( 'wp-deprecated', $handle ) ); $wp_scripts->add_inline_script( 'wp-jp-i18n-state', 'wp.deprecated( "wp-jp-i18n-state", { alternative: "wp-jp-i18n-loader" } );' ); $wp_scripts->add_inline_script( 'wp-jp-i18n-state', 'wp.jpI18nState = wp.jpI18nLoader.state;' ); @@ -535,6 +542,7 @@ public static function wp_default_scripts_hook( $wp_scripts ) { // @todo Remove this when we drop support for WordPress 6.5, as well as the script inclusion in test_wp_default_scripts_hook. $jsx_url = self::normalize_path( plugins_url( '../build/react-jsx-runtime.js', __FILE__ ) ); $wp_scripts->add( 'react-jsx-runtime', $jsx_url, array( 'react' ), '18.3.1', true ); + $wp_scripts->add_data( 'react-jsx-runtime', 'group', 1 ); } // endregion . diff --git a/projects/packages/assets/tests/php/test-assets.php b/projects/packages/assets/tests/php/test-assets.php index c3a53b0660fa0..426fea7dc6cb0 100644 --- a/projects/packages/assets/tests/php/test-assets.php +++ b/projects/packages/assets/tests/php/test-assets.php @@ -729,7 +729,7 @@ function ( $v ) { // @phan-suppress-next-line PhanDeprecatedFunction -- Keep using setMethods until we drop PHP 7.0 support. $mock = $this->getMockBuilder( \stdClass::class ) - ->setMethods( array( 'add', 'add_inline_script' ) ) + ->setMethods( array( 'add', 'add_inline_script', 'add_data' ) ) ->getMock(); // Unfortunately PHPUnit deprecated withConsecutive with no replacement, so we have to roll our own version. @@ -785,6 +785,13 @@ function ( $value ) use ( $value_sets, $i ) { array( 'wp-jp-i18n-state', 'wp.jpI18nState = wp.jpI18nLoader.state;' ) ) ); + $mock->expects( $this->exactly( 2 ) )->method( 'add_data' ) + ->with( + ...$with_consecutive( + array( 'wp-jp-i18n-loader', 'group', 1 ), + array( 'react-jsx-runtime', 'group', 1 ) + ) + ); // @phan-suppress-next-line PhanTypeMismatchArgument -- We don't have a WP_Scripts definition to create a mock from. 🤷 Assets::wp_default_scripts_hook( $mock ); diff --git a/projects/packages/backup/changelog/try-lossless-image-optmization-part-3 b/projects/packages/backup/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/backup/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/backup/src/js/components/backup-video-section/images/jetpack-backup-video-thumbnail.png b/projects/packages/backup/src/js/components/backup-video-section/images/jetpack-backup-video-thumbnail.png index 5491d784db63f..8c0c261498930 100644 Binary files a/projects/packages/backup/src/js/components/backup-video-section/images/jetpack-backup-video-thumbnail.png and b/projects/packages/backup/src/js/components/backup-video-section/images/jetpack-backup-video-thumbnail.png differ diff --git a/projects/packages/backup/src/js/components/icons/autorenew.svg b/projects/packages/backup/src/js/components/icons/autorenew.svg index 2cd1085193500..d10d4d2366262 100644 --- a/projects/packages/backup/src/js/components/icons/autorenew.svg +++ b/projects/packages/backup/src/js/components/icons/autorenew.svg @@ -1,9 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/backup-animation-1.svg b/projects/packages/backup/src/js/components/icons/backup-animation-1.svg index 08c42d96ae09a..1b2c04b93f18d 100644 --- a/projects/packages/backup/src/js/components/icons/backup-animation-1.svg +++ b/projects/packages/backup/src/js/components/icons/backup-animation-1.svg @@ -1,33 +1 @@ - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/backup-animation-2.svg b/projects/packages/backup/src/js/components/icons/backup-animation-2.svg index 414816b607cad..ff98a38e445e7 100644 --- a/projects/packages/backup/src/js/components/icons/backup-animation-2.svg +++ b/projects/packages/backup/src/js/components/icons/backup-animation-2.svg @@ -1,33 +1 @@ - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/backup-animation-3.svg b/projects/packages/backup/src/js/components/icons/backup-animation-3.svg index eb3ff3a2e0c7f..efab4463f2517 100644 --- a/projects/packages/backup/src/js/components/icons/backup-animation-3.svg +++ b/projects/packages/backup/src/js/components/icons/backup-animation-3.svg @@ -1,42 +1 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/cloud-alert.svg b/projects/packages/backup/src/js/components/icons/cloud-alert.svg index 9440bdd0a5789..a50bf13951cb8 100644 --- a/projects/packages/backup/src/js/components/icons/cloud-alert.svg +++ b/projects/packages/backup/src/js/components/icons/cloud-alert.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/cloud-done.svg b/projects/packages/backup/src/js/components/icons/cloud-done.svg index 9c87bf5e06ccb..eefaac173cc3d 100644 --- a/projects/packages/backup/src/js/components/icons/cloud-done.svg +++ b/projects/packages/backup/src/js/components/icons/cloud-done.svg @@ -1,9 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/group-work.svg b/projects/packages/backup/src/js/components/icons/group-work.svg index cbbd24794a9a6..5e9ab36c4e822 100644 --- a/projects/packages/backup/src/js/components/icons/group-work.svg +++ b/projects/packages/backup/src/js/components/icons/group-work.svg @@ -1,9 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/history.svg b/projects/packages/backup/src/js/components/icons/history.svg index 0aef040c18791..2b23974a547fe 100644 --- a/projects/packages/backup/src/js/components/icons/history.svg +++ b/projects/packages/backup/src/js/components/icons/history.svg @@ -1,9 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/plugins.svg b/projects/packages/backup/src/js/components/icons/plugins.svg index 22419452e03a7..e8954ea9d4539 100644 --- a/projects/packages/backup/src/js/components/icons/plugins.svg +++ b/projects/packages/backup/src/js/components/icons/plugins.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/posts.svg b/projects/packages/backup/src/js/components/icons/posts.svg index 9299c527385f0..3cbe962127dc5 100644 --- a/projects/packages/backup/src/js/components/icons/posts.svg +++ b/projects/packages/backup/src/js/components/icons/posts.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/packages/backup/src/js/components/icons/warning.svg b/projects/packages/backup/src/js/components/icons/warning.svg index 1420a3e6e97b9..759183339d4c5 100644 --- a/projects/packages/backup/src/js/components/icons/warning.svg +++ b/projects/packages/backup/src/js/components/icons/warning.svg @@ -1 +1 @@ - + \ No newline at end of file diff --git a/projects/packages/backup/src/js/hooks/assets/ben-giordano-testimonial.png b/projects/packages/backup/src/js/hooks/assets/ben-giordano-testimonial.png index c6e3794192004..ce8c8d0f1ed26 100644 Binary files a/projects/packages/backup/src/js/hooks/assets/ben-giordano-testimonial.png and b/projects/packages/backup/src/js/hooks/assets/ben-giordano-testimonial.png differ diff --git a/projects/packages/backup/src/js/hooks/assets/connect-backup.png b/projects/packages/backup/src/js/hooks/assets/connect-backup.png index 8713c5abac51b..4787d6c77b0bd 100644 Binary files a/projects/packages/backup/src/js/hooks/assets/connect-backup.png and b/projects/packages/backup/src/js/hooks/assets/connect-backup.png differ diff --git a/projects/packages/backup/src/js/hooks/assets/connect-right.png b/projects/packages/backup/src/js/hooks/assets/connect-right.png index 66f8710ac0634..4779757259f45 100644 Binary files a/projects/packages/backup/src/js/hooks/assets/connect-right.png and b/projects/packages/backup/src/js/hooks/assets/connect-right.png differ diff --git a/projects/packages/backup/src/js/hooks/assets/tim-ferriss-testimonial.png b/projects/packages/backup/src/js/hooks/assets/tim-ferriss-testimonial.png index 170f2c5fe5efc..39f78d9684a46 100644 Binary files a/projects/packages/backup/src/js/hooks/assets/tim-ferriss-testimonial.png and b/projects/packages/backup/src/js/hooks/assets/tim-ferriss-testimonial.png differ diff --git a/projects/packages/classic-theme-helper/changelog/fix-social-menus-svg b/projects/packages/classic-theme-helper/changelog/fix-social-menus-svg new file mode 100644 index 0000000000000..ae249aa23d6b0 --- /dev/null +++ b/projects/packages/classic-theme-helper/changelog/fix-social-menus-svg @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Social Menus: fix SVG format. diff --git a/projects/packages/classic-theme-helper/changelog/try-lossless-image-optmization-part-3 b/projects/packages/classic-theme-helper/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/classic-theme-helper/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/classic-theme-helper/src/social-menu/social-menu.svg b/projects/packages/classic-theme-helper/src/social-menu/social-menu.svg index 6d68732322fd8..9d51b1ad99267 100644 --- a/projects/packages/classic-theme-helper/src/social-menu/social-menu.svg +++ b/projects/packages/classic-theme-helper/src/social-menu/social-menu.svg @@ -1,192 +1,257 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/projects/packages/forms/assets/images/ai-forms.png b/projects/packages/forms/assets/images/ai-forms.png index 9037ceac78cc4..48b1a8e1ca229 100644 Binary files a/projects/packages/forms/assets/images/ai-forms.png and b/projects/packages/forms/assets/images/ai-forms.png differ diff --git a/projects/packages/forms/assets/images/contact-form.png b/projects/packages/forms/assets/images/contact-form.png index 0adbb4fa96121..072e4797dc5ab 100644 Binary files a/projects/packages/forms/assets/images/contact-form.png and b/projects/packages/forms/assets/images/contact-form.png differ diff --git a/projects/packages/forms/assets/images/feedback-form.png b/projects/packages/forms/assets/images/feedback-form.png index 5509e66ff852a..fa0891cf932b7 100644 Binary files a/projects/packages/forms/assets/images/feedback-form.png and b/projects/packages/forms/assets/images/feedback-form.png differ diff --git a/projects/packages/forms/assets/images/google-sheets-icon.png b/projects/packages/forms/assets/images/google-sheets-icon.png index b855baf3e7b7c..8ffc4499f4696 100644 Binary files a/projects/packages/forms/assets/images/google-sheets-icon.png and b/projects/packages/forms/assets/images/google-sheets-icon.png differ diff --git a/projects/packages/forms/assets/images/registration-form.png b/projects/packages/forms/assets/images/registration-form.png index b916e2e1f50be..469c8eaf8a34a 100644 Binary files a/projects/packages/forms/assets/images/registration-form.png and b/projects/packages/forms/assets/images/registration-form.png differ diff --git a/projects/packages/forms/assets/images/responses-inbox-wp-com.png b/projects/packages/forms/assets/images/responses-inbox-wp-com.png index 6ce4831669af7..ffb940baea286 100644 Binary files a/projects/packages/forms/assets/images/responses-inbox-wp-com.png and b/projects/packages/forms/assets/images/responses-inbox-wp-com.png differ diff --git a/projects/packages/forms/assets/images/responses-inbox.png b/projects/packages/forms/assets/images/responses-inbox.png index 423ffa2afba49..490e09e169a2d 100644 Binary files a/projects/packages/forms/assets/images/responses-inbox.png and b/projects/packages/forms/assets/images/responses-inbox.png differ diff --git a/projects/packages/forms/assets/images/salesforce-icon.png b/projects/packages/forms/assets/images/salesforce-icon.png index 16b2f8128fc2a..c8dc8a581c42b 100644 Binary files a/projects/packages/forms/assets/images/salesforce-icon.png and b/projects/packages/forms/assets/images/salesforce-icon.png differ diff --git a/projects/packages/forms/changelog/try-lossless-image-optmization-part-3 b/projects/packages/forms/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/forms/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/forms/src/contact-form/images/blank-screen-akismet.png b/projects/packages/forms/src/contact-form/images/blank-screen-akismet.png index a4ba1e2d68b34..29cfe93ac954c 100644 Binary files a/projects/packages/forms/src/contact-form/images/blank-screen-akismet.png and b/projects/packages/forms/src/contact-form/images/blank-screen-akismet.png differ diff --git a/projects/packages/forms/src/contact-form/images/blank-screen-button.png b/projects/packages/forms/src/contact-form/images/blank-screen-button.png index 58dfa26b6c96f..47d2fc0449ec0 100644 Binary files a/projects/packages/forms/src/contact-form/images/blank-screen-button.png and b/projects/packages/forms/src/contact-form/images/blank-screen-button.png differ diff --git a/projects/packages/forms/src/contact-form/images/grunion-form-2x.png b/projects/packages/forms/src/contact-form/images/grunion-form-2x.png index 824d85a316c69..20c28754ca24e 100644 Binary files a/projects/packages/forms/src/contact-form/images/grunion-form-2x.png and b/projects/packages/forms/src/contact-form/images/grunion-form-2x.png differ diff --git a/projects/packages/forms/src/contact-form/images/grunion-form.png b/projects/packages/forms/src/contact-form/images/grunion-form.png index f4a0cc1d64f87..35e0b6ae6c1b1 100644 Binary files a/projects/packages/forms/src/contact-form/images/grunion-form.png and b/projects/packages/forms/src/contact-form/images/grunion-form.png differ diff --git a/projects/packages/forms/src/contact-form/images/grunion-remove-field-2x.png b/projects/packages/forms/src/contact-form/images/grunion-remove-field-2x.png index bfbca5edfde9b..261de1e22bd50 100644 Binary files a/projects/packages/forms/src/contact-form/images/grunion-remove-field-2x.png and b/projects/packages/forms/src/contact-form/images/grunion-remove-field-2x.png differ diff --git a/projects/packages/forms/src/contact-form/images/grunion-remove-field-hover-2x.png b/projects/packages/forms/src/contact-form/images/grunion-remove-field-hover-2x.png index dca39da947524..c870243518067 100644 Binary files a/projects/packages/forms/src/contact-form/images/grunion-remove-field-hover-2x.png and b/projects/packages/forms/src/contact-form/images/grunion-remove-field-hover-2x.png differ diff --git a/projects/packages/forms/src/contact-form/images/grunion-remove-option-2x.png b/projects/packages/forms/src/contact-form/images/grunion-remove-option-2x.png index 4272442c51396..2ea0273f0d6a1 100644 Binary files a/projects/packages/forms/src/contact-form/images/grunion-remove-option-2x.png and b/projects/packages/forms/src/contact-form/images/grunion-remove-option-2x.png differ diff --git a/projects/packages/forms/src/contact-form/images/grunion-remove-option-hover-2x.png b/projects/packages/forms/src/contact-form/images/grunion-remove-option-hover-2x.png index 210de1b315e95..74f2d392a1b1b 100644 Binary files a/projects/packages/forms/src/contact-form/images/grunion-remove-option-hover-2x.png and b/projects/packages/forms/src/contact-form/images/grunion-remove-option-hover-2x.png differ diff --git a/projects/packages/forms/src/contact-form/images/grunion-remove-option-hover.gif b/projects/packages/forms/src/contact-form/images/grunion-remove-option-hover.gif index 9098b0656b758..e7b24f78823f3 100644 Binary files a/projects/packages/forms/src/contact-form/images/grunion-remove-option-hover.gif and b/projects/packages/forms/src/contact-form/images/grunion-remove-option-hover.gif differ diff --git a/projects/packages/forms/src/contact-form/images/grunion-remove-option.gif b/projects/packages/forms/src/contact-form/images/grunion-remove-option.gif index ec4916634a0db..d9637bf6e5ab4 100644 Binary files a/projects/packages/forms/src/contact-form/images/grunion-remove-option.gif and b/projects/packages/forms/src/contact-form/images/grunion-remove-option.gif differ diff --git a/projects/packages/forms/src/contact-form/images/twitter-dark.png b/projects/packages/forms/src/contact-form/images/twitter-dark.png index 0bab6b4f8b7ad..7582bd7f2dfe2 100644 Binary files a/projects/packages/forms/src/contact-form/images/twitter-dark.png and b/projects/packages/forms/src/contact-form/images/twitter-dark.png differ diff --git a/projects/packages/image-cdn/changelog/try-lossless-image-optmization-part-3 b/projects/packages/image-cdn/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/image-cdn/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/image-cdn/src/class-image-cdn.php b/projects/packages/image-cdn/src/class-image-cdn.php index 2b9108b7ed17a..e75ffc4149ec6 100644 --- a/projects/packages/image-cdn/src/class-image-cdn.php +++ b/projects/packages/image-cdn/src/class-image-cdn.php @@ -12,7 +12,7 @@ */ final class Image_CDN { - const PACKAGE_VERSION = '0.4.4'; + const PACKAGE_VERSION = '0.4.5-alpha'; /** * Singleton. diff --git a/projects/packages/image-cdn/tests/php/sample-content/test-image-medium.png b/projects/packages/image-cdn/tests/php/sample-content/test-image-medium.png index 5c890bf297a79..2053dedfcec2e 100644 Binary files a/projects/packages/image-cdn/tests/php/sample-content/test-image-medium.png and b/projects/packages/image-cdn/tests/php/sample-content/test-image-medium.png differ diff --git a/projects/packages/jetpack-mu-wpcom/changelog/atomic-default-profile b/projects/packages/jetpack-mu-wpcom/changelog/atomic-default-profile new file mode 100644 index 0000000000000..6892d5ad4e7cf --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/atomic-default-profile @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Site Level User Profile: expose all relevant fields on profile.php diff --git a/projects/packages/jetpack-mu-wpcom/changelog/try-lossless-image-optmization-part-3 b/projects/packages/jetpack-mu-wpcom/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/block-picker.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/block-picker.svg index a7fe75f9d393e..ef4423b1ee767 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/block-picker.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/block-picker.svg @@ -1,39 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/draft-post.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/draft-post.svg index cf24d89ced98a..43217d104652a 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/draft-post.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/draft-post.svg @@ -1,20 +1 @@ - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/editor.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/editor.svg index b3f080ffd46fd..c99666eebd428 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/editor.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/editor.svg @@ -1,21 +1 @@ - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/illo-share.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/illo-share.svg index 41b457cb64585..26bd9809dc10a 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/illo-share.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/illo-share.svg @@ -1,24 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/post-published.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/post-published.svg index 3b55263b209af..5770e685d3532 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/post-published.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/post-published.svg @@ -1,15 +1 @@ - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/preview.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/preview.svg index 120e144993c70..b9aff1ce2d0aa 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/preview.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/preview.svg @@ -1,16 +1 @@ - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/private.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/private.svg index 6603602512258..7a8dc7e9b6e07 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/private.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/private.svg @@ -1,26 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/product-published.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/product-published.svg index 258f49c3780c7..573d5dfdefbe2 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/product-published.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/product-published.svg @@ -1,37 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/assets/images/video-success.svg b/projects/packages/jetpack-mu-wpcom/src/assets/images/video-success.svg index 038f9f732ade2..45e87b85238b1 100644 --- a/projects/packages/jetpack-mu-wpcom/src/assets/images/video-success.svg +++ b/projects/packages/jetpack-mu-wpcom/src/assets/images/video-success.svg @@ -1,56 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/image.svg b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/image.svg index 741a14bd9bfd9..813d8eb4f9787 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/image.svg +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/image.svg @@ -1,38 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-plugins/images/wpcom-logo.svg b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-plugins/images/wpcom-logo.svg index f3c41ebe726fc..8d1a26ea7d6f1 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-plugins/images/wpcom-logo.svg +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-plugins/images/wpcom-logo.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-link-to-wpcom.php b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-link-to-wpcom.php index b4f8c6b3b463f..f6c74c7a93d50 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-link-to-wpcom.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-link-to-wpcom.php @@ -8,16 +8,16 @@ use Automattic\Jetpack\Jetpack_Mu_Wpcom; /** - * Check if the site is a WordPress.com Simple site. + * Check if the site is a WordPress.com Atomic site. * * @return bool */ -function is_wpcom_simple() { +function is_woa_site() { if ( ! class_exists( 'Automattic\Jetpack\Status\Host' ) ) { return false; } $host = new Automattic\Jetpack\Status\Host(); - return $host->is_wpcom_simple(); + return $host->is_woa_site(); } /** @@ -33,7 +33,7 @@ function wpcom_profile_settings_add_links_to_wpcom() { true ); - $is_wpcom_simple = is_wpcom_simple(); + $is_wpcom_atomic_classic = is_woa_site() && get_option( 'wpcom_admin_interface' ) === 'wp-admin'; // Temporarily point to wpcalypso.wordpress.com for testing purposes. $wpcom_host = 'https://wordpress.com'; @@ -45,19 +45,19 @@ function wpcom_profile_settings_add_links_to_wpcom() { 'wpcom-profile-settings-link-to-wpcom', 'wpcomProfileSettingsLinkToWpcom', array( - 'synced' => array( + 'synced' => array( 'link' => esc_url( $wpcom_host . '/me' ), 'text' => __( 'You can manage your profile on WordPress.com Profile settings (First / Last / Display Names, Website, and Biographical Info)', 'jetpack-mu-wpcom' ), ), - 'email' => array( + 'email' => array( 'link' => esc_url( $wpcom_host . '/me/account' ), 'text' => __( 'Your WordPress.com email is managed on WordPress.com Account settings', 'jetpack-mu-wpcom' ), ), - 'password' => array( + 'password' => array( 'link' => esc_url( $wpcom_host . '/me/security' ), 'text' => __( 'Your WordPress.com password is managed on WordPress.com Security settings', 'jetpack-mu-wpcom' ), ), - 'isWpcomSimple' => $is_wpcom_simple, + 'isWpcomAtomicClassic' => $is_wpcom_atomic_classic, ) ); } diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-link-to-wpcom.ts b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-link-to-wpcom.ts index 50d96c63d7af6..011860cf9649a 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-link-to-wpcom.ts +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-link-to-wpcom.ts @@ -1,8 +1,8 @@ /** - * Disable the email field on Simple sites. + * Disable the email field except on Atomic Classic sites. */ const wpcom_profile_settings_disable_email_field = () => { - if ( ! window.wpcomProfileSettingsLinkToWpcom?.isWpcomSimple ) { + if ( window.wpcomProfileSettingsLinkToWpcom?.isWpcomAtomicClassic ) { return; } const emailField = document.getElementById( 'email' ) as HTMLInputElement; @@ -25,8 +25,8 @@ const wpcom_profile_settings_add_links_to_wpcom = () => { userSessionSection?.remove(); - // Simple sites cannot set a password in wp-admin. - if ( window.wpcomProfileSettingsLinkToWpcom?.isWpcomSimple && newPasswordSection ) { + // We cannot set a password in wp-admin except on Atomic Classic sites. + if ( ! window.wpcomProfileSettingsLinkToWpcom?.isWpcomAtomicClassic && newPasswordSection ) { newPasswordSection.innerHTML = ''; } diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/types.d.ts b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/types.d.ts index f4b741a905177..550cadaa47b70 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/types.d.ts +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/types.d.ts @@ -9,7 +9,7 @@ declare global { link: string; text: string; }; - isWpcomSimple: boolean; + isWpcomAtomicClassic: boolean; }; } } diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-themes/images/wpcom-logo.svg b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-themes/images/wpcom-logo.svg index fb7e425d5605b..2a02a6f70ff5c 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-themes/images/wpcom-logo.svg +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-themes/images/wpcom-logo.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/projects/packages/jitm/changelog/try-lossless-image-optmization-part-3 b/projects/packages/jitm/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/jitm/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/jitm/src/class-jitm.php b/projects/packages/jitm/src/class-jitm.php index 0141c3ca848d0..49442d9a35d5d 100644 --- a/projects/packages/jitm/src/class-jitm.php +++ b/projects/packages/jitm/src/class-jitm.php @@ -20,7 +20,7 @@ */ class JITM { - const PACKAGE_VERSION = '3.1.16'; + const PACKAGE_VERSION = '3.1.17-alpha'; /** * The configuration method that is called from the jetpack-config package. diff --git a/projects/packages/jitm/src/images/background.png b/projects/packages/jitm/src/images/background.png index c2d50e1b7c025..07ae0ef447c60 100644 Binary files a/projects/packages/jitm/src/images/background.png and b/projects/packages/jitm/src/images/background.png differ diff --git a/projects/packages/masterbar/changelog/atomic-default-profile b/projects/packages/masterbar/changelog/atomic-default-profile new file mode 100644 index 0000000000000..2f3bb177a6fb1 --- /dev/null +++ b/projects/packages/masterbar/changelog/atomic-default-profile @@ -0,0 +1,4 @@ +Significance: minor +Type: changed + +Site Level User Profile: expose all relevant fields on profile.php diff --git a/projects/packages/masterbar/changelog/try-lossless-image-optmization-part-3 b/projects/packages/masterbar/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/masterbar/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/masterbar/composer.json b/projects/packages/masterbar/composer.json index 6961045716711..e2ce1656beaac 100644 --- a/projects/packages/masterbar/composer.json +++ b/projects/packages/masterbar/composer.json @@ -63,7 +63,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.6.x-dev" + "dev-trunk": "0.7.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-masterbar/compare/v${old}...v${new}" diff --git a/projects/packages/masterbar/package.json b/projects/packages/masterbar/package.json index d6a2358731837..b9747c22c9488 100644 --- a/projects/packages/masterbar/package.json +++ b/projects/packages/masterbar/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-masterbar", - "version": "0.6.1-alpha", + "version": "0.7.0-alpha", "description": "The WordPress.com Toolbar feature replaces the default admin bar and offers quick links to the Reader, all your sites, your WordPress.com profile, and notifications.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/masterbar/#readme", "bugs": { diff --git a/projects/packages/masterbar/src/admin-menu/class-atomic-admin-menu.php b/projects/packages/masterbar/src/admin-menu/class-atomic-admin-menu.php index 1bca10c709fd5..b163593062c98 100644 --- a/projects/packages/masterbar/src/admin-menu/class-atomic-admin-menu.php +++ b/projects/packages/masterbar/src/admin-menu/class-atomic-admin-menu.php @@ -137,10 +137,11 @@ public function add_users_menu() { // // @phan-suppress-next-line PhanTypeMismatchArgumentProbablyReal -- Core should ideally document null for no-callback arg. https://core.trac.wordpress.org/ticket/52539. add_submenu_page( 'users.php', esc_attr__( 'Subscribers', 'jetpack-masterbar' ), __( 'Subscribers', 'jetpack-masterbar' ), 'list_users', 'https://wordpress.com/subscribers/' . $this->domain, null ); - // When the interface is not set to wp-admin, we replace the Profile submenu. - remove_submenu_page( 'users.php', 'profile.php' ); - // @phan-suppress-next-line PhanTypeMismatchArgumentProbablyReal -- Core should ideally document null for no-callback arg. https://core.trac.wordpress.org/ticket/52539. - add_submenu_page( 'users.php', esc_attr__( 'My Profile', 'jetpack-masterbar' ), __( 'My Profile', 'jetpack-masterbar' ), 'read', 'https://wordpress.com/me/', null ); + if ( empty( get_option( 'wpcom_site_level_user_profile' ) ) ) { + remove_submenu_page( 'users.php', 'profile.php' ); + // @phan-suppress-next-line PhanTypeMismatchArgumentProbablyReal -- Core should ideally document null for no-callback arg. https://core.trac.wordpress.org/ticket/52539. + add_submenu_page( 'users.php', esc_attr__( 'My Profile', 'jetpack-masterbar' ), __( 'My Profile', 'jetpack-masterbar' ), 'read', 'https://wordpress.com/me/', null ); + } } // Users who can't 'list_users' will see "Profile" menu & "Profile > Account Settings" as submenu. diff --git a/projects/packages/masterbar/src/admin-menu/globe-icon.svg b/projects/packages/masterbar/src/admin-menu/globe-icon.svg index 03db8b4dd7a53..42a8c5aa6406d 100644 --- a/projects/packages/masterbar/src/admin-menu/globe-icon.svg +++ b/projects/packages/masterbar/src/admin-menu/globe-icon.svg @@ -1 +1 @@ -Globe \ No newline at end of file + \ No newline at end of file diff --git a/projects/packages/masterbar/src/class-main.php b/projects/packages/masterbar/src/class-main.php index 7254ab887e104..0a41cf088bbc0 100644 --- a/projects/packages/masterbar/src/class-main.php +++ b/projects/packages/masterbar/src/class-main.php @@ -14,7 +14,7 @@ */ class Main { - const PACKAGE_VERSION = '0.6.1-alpha'; + const PACKAGE_VERSION = '0.7.0-alpha'; /** * Initializer. diff --git a/projects/packages/masterbar/src/inline-help/gridicon-help.svg b/projects/packages/masterbar/src/inline-help/gridicon-help.svg index f85fe9e17f14d..86ae32418c642 100644 --- a/projects/packages/masterbar/src/inline-help/gridicon-help.svg +++ b/projects/packages/masterbar/src/inline-help/gridicon-help.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/packages/masterbar/src/profile-edit/bootstrap.php b/projects/packages/masterbar/src/profile-edit/bootstrap.php index 11cf49b27a270..46ecee1904b85 100644 --- a/projects/packages/masterbar/src/profile-edit/bootstrap.php +++ b/projects/packages/masterbar/src/profile-edit/bootstrap.php @@ -9,7 +9,6 @@ use Automattic\Jetpack\Connection\Manager as Connection_Manager; -require_once __DIR__ . '/profile-edit.php'; require_once __DIR__ . '/class-wpcom-user-profile-fields-revert.php'; /** diff --git a/projects/packages/my-jetpack/.phan/baseline.php b/projects/packages/my-jetpack/.phan/baseline.php index 9158438791ca1..dd9d2bb32018e 100644 --- a/projects/packages/my-jetpack/.phan/baseline.php +++ b/projects/packages/my-jetpack/.phan/baseline.php @@ -24,11 +24,12 @@ // PhanTypeMismatchArgumentProbablyReal : 2 occurrences // PhanPluginMixedKeyNoKey : 1 occurrence // PhanTypeMismatchArgumentNullableInternal : 1 occurrence + // PhanUndeclaredClassMethod : 1 occurrence // Currently, file_suppressions and directory_suppressions are the only supported suppressions 'file_suppressions' => [ 'src/class-activitylog.php' => ['PhanTypeMismatchArgumentProbablyReal'], - 'src/class-initializer.php' => ['PhanImpossibleCondition', 'PhanNoopNew', 'PhanRedundantCondition', 'PhanTypeMismatchReturn', 'PhanTypeMismatchReturnNullable'], + 'src/class-initializer.php' => ['PhanImpossibleCondition', 'PhanNoopNew', 'PhanRedundantCondition', 'PhanTypeMismatchReturn', 'PhanTypeMismatchReturnNullable', 'PhanUndeclaredClassMethod'], 'src/class-jetpack-manage.php' => ['PhanTypeMismatchArgumentProbablyReal'], 'src/class-products.php' => ['PhanNonClassMethodCall'], 'src/class-rest-products.php' => ['PhanParamTooMany', 'PhanPluginMixedKeyNoKey', 'PhanTypeMismatchReturn', 'PhanTypeMismatchReturnProbablyReal'], diff --git a/projects/packages/my-jetpack/_inc/components/connection-screen/apple.svg b/projects/packages/my-jetpack/_inc/components/connection-screen/apple.svg index 478fcfd956a02..2bad767906c9f 100644 --- a/projects/packages/my-jetpack/_inc/components/connection-screen/apple.svg +++ b/projects/packages/my-jetpack/_inc/components/connection-screen/apple.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/connection-screen/connect.png b/projects/packages/my-jetpack/_inc/components/connection-screen/connect.png index 66f8710ac0634..4779757259f45 100644 Binary files a/projects/packages/my-jetpack/_inc/components/connection-screen/connect.png and b/projects/packages/my-jetpack/_inc/components/connection-screen/connect.png differ diff --git a/projects/packages/my-jetpack/_inc/components/connection-screen/github.svg b/projects/packages/my-jetpack/_inc/components/connection-screen/github.svg index e7ae694ec4465..0696dc442d1f9 100644 --- a/projects/packages/my-jetpack/_inc/components/connection-screen/github.svg +++ b/projects/packages/my-jetpack/_inc/components/connection-screen/github.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/connection-screen/google.svg b/projects/packages/my-jetpack/_inc/components/connection-screen/google.svg index 5794583d353c1..8f408032666ae 100644 --- a/projects/packages/my-jetpack/_inc/components/connection-screen/google.svg +++ b/projects/packages/my-jetpack/_inc/components/connection-screen/google.svg @@ -1 +1 @@ - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/connection-status-card/cloud.svg b/projects/packages/my-jetpack/_inc/components/connection-status-card/cloud.svg index a033545d7b8a7..7b4cff9079bfb 100644 --- a/projects/packages/my-jetpack/_inc/components/connection-status-card/cloud.svg +++ b/projects/packages/my-jetpack/_inc/components/connection-status-card/cloud.svg @@ -1,12 +1 @@ - - - - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/connection-status-card/empty-avatar.svg b/projects/packages/my-jetpack/_inc/components/connection-status-card/empty-avatar.svg index d648cc8730689..ca50b7ea881a3 100644 --- a/projects/packages/my-jetpack/_inc/components/connection-status-card/empty-avatar.svg +++ b/projects/packages/my-jetpack/_inc/components/connection-status-card/empty-avatar.svg @@ -1,40 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/connection-status-card/jetpack-gray.svg b/projects/packages/my-jetpack/_inc/components/connection-status-card/jetpack-gray.svg index 5a2a8b5f378c2..577b5282924c8 100644 --- a/projects/packages/my-jetpack/_inc/components/connection-status-card/jetpack-gray.svg +++ b/projects/packages/my-jetpack/_inc/components/connection-status-card/jetpack-gray.svg @@ -1,23 +1 @@ - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/connection-status-card/jetpack.svg b/projects/packages/my-jetpack/_inc/components/connection-status-card/jetpack.svg index f8dbeb9115fbc..8608c084c18e0 100644 --- a/projects/packages/my-jetpack/_inc/components/connection-status-card/jetpack.svg +++ b/projects/packages/my-jetpack/_inc/components/connection-status-card/jetpack.svg @@ -1,23 +1 @@ - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/jetpack-manage-banner/jetpack-manage.svg b/projects/packages/my-jetpack/_inc/components/jetpack-manage-banner/jetpack-manage.svg index 1cbd2e8265f80..423a6860475e4 100644 --- a/projects/packages/my-jetpack/_inc/components/jetpack-manage-banner/jetpack-manage.svg +++ b/projects/packages/my-jetpack/_inc/components/jetpack-manage-banner/jetpack-manage.svg @@ -1,10 +1 @@ - - - - - - - - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-inactive.svg b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-inactive.svg index 5afa85d0f3108..ffce74af32025 100644 --- a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-inactive.svg +++ b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-inactive.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-off.svg b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-off.svg index e1f7f232bc396..36067e6831696 100644 --- a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-off.svg +++ b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-off.svg @@ -1,5 +1 @@ - - - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-partial.svg b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-partial.svg index 03b09674fdade..c93c65ca27c3d 100644 --- a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-partial.svg +++ b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-partial.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-success.svg b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-success.svg index 0f3ebeca1048d..91f64780c7f89 100644 --- a/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-success.svg +++ b/projects/packages/my-jetpack/_inc/components/product-cards-section/protect-card/assets/shield-success.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/boost.png b/projects/packages/my-jetpack/_inc/components/product-interstitial/boost.png index dd818e4664052..4e7cb0cec7511 100644 Binary files a/projects/packages/my-jetpack/_inc/components/product-interstitial/boost.png and b/projects/packages/my-jetpack/_inc/components/product-interstitial/boost.png differ diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/crm.png b/projects/packages/my-jetpack/_inc/components/product-interstitial/crm.png index cfec3eed7beab..3984395b68047 100644 Binary files a/projects/packages/my-jetpack/_inc/components/product-interstitial/crm.png and b/projects/packages/my-jetpack/_inc/components/product-interstitial/crm.png differ diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/extras.png b/projects/packages/my-jetpack/_inc/components/product-interstitial/extras.png index d4d49627137b5..934353751547e 100644 Binary files a/projects/packages/my-jetpack/_inc/components/product-interstitial/extras.png and b/projects/packages/my-jetpack/_inc/components/product-interstitial/extras.png differ diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/index.jsx b/projects/packages/my-jetpack/_inc/components/product-interstitial/index.jsx index 2976976baf40a..294b0a5838a71 100644 --- a/projects/packages/my-jetpack/_inc/components/product-interstitial/index.jsx +++ b/projects/packages/my-jetpack/_inc/components/product-interstitial/index.jsx @@ -131,10 +131,6 @@ export default function ProductInterstitial( { const clickHandler = useCallback( ( checkout, product, tier ) => { - let postCheckoutUrl = product?.postCheckoutUrl - ? product?.postCheckoutUrl - : myJetpackCheckoutUri; - ctaCallback?.( { slug, product, tier } ); if ( product?.isBundle || directCheckout ) { @@ -146,10 +142,8 @@ export default function ProductInterstitial( { activate( { productId: slug }, { - onSettled: ( { productId: activatedProduct } ) => { - postCheckoutUrl = activatedProduct?.post_checkout_url - ? activatedProduct.post_checkout_url - : myJetpackCheckoutUri; + onSettled: activatedProduct => { + const postCheckoutUrl = activatedProduct?.post_checkout_url || myJetpackCheckoutUri; // there is a separate hasRequiredTier, but it is not implemented const hasPaidPlanForProduct = product?.hasPaidPlanForProduct; const isFree = tier diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/jetpack-ai.png b/projects/packages/my-jetpack/_inc/components/product-interstitial/jetpack-ai.png index bff62ed531177..b77ec6b9a18cb 100644 Binary files a/projects/packages/my-jetpack/_inc/components/product-interstitial/jetpack-ai.png and b/projects/packages/my-jetpack/_inc/components/product-interstitial/jetpack-ai.png differ diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/search.png b/projects/packages/my-jetpack/_inc/components/product-interstitial/search.png index 0f77309b19f77..a5d1e8d71d33e 100644 Binary files a/projects/packages/my-jetpack/_inc/components/product-interstitial/search.png and b/projects/packages/my-jetpack/_inc/components/product-interstitial/search.png differ diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/social.png b/projects/packages/my-jetpack/_inc/components/product-interstitial/social.png index ed91b93e0341a..00d8ac9d5c6b2 100644 Binary files a/projects/packages/my-jetpack/_inc/components/product-interstitial/social.png and b/projects/packages/my-jetpack/_inc/components/product-interstitial/social.png differ diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/stats.png b/projects/packages/my-jetpack/_inc/components/product-interstitial/stats.png index 0c6ae45e79001..bd003303cb954 100644 Binary files a/projects/packages/my-jetpack/_inc/components/product-interstitial/stats.png and b/projects/packages/my-jetpack/_inc/components/product-interstitial/stats.png differ diff --git a/projects/packages/my-jetpack/_inc/components/product-interstitial/videopress.png b/projects/packages/my-jetpack/_inc/components/product-interstitial/videopress.png index 9a8f1dfb23c1f..f38227dcccf3e 100644 Binary files a/projects/packages/my-jetpack/_inc/components/product-interstitial/videopress.png and b/projects/packages/my-jetpack/_inc/components/product-interstitial/videopress.png differ diff --git a/projects/packages/my-jetpack/_inc/components/welcome-banner/assets/images/site-cards.png b/projects/packages/my-jetpack/_inc/components/welcome-banner/assets/images/site-cards.png index ac5b998146619..83e562ede663c 100644 Binary files a/projects/packages/my-jetpack/_inc/components/welcome-banner/assets/images/site-cards.png and b/projects/packages/my-jetpack/_inc/components/welcome-banner/assets/images/site-cards.png differ diff --git a/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/evaluation-blank.png b/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/evaluation-blank.png index c0eec2f7164f3..99ef267160cb6 100644 Binary files a/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/evaluation-blank.png and b/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/evaluation-blank.png differ diff --git a/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/evaluation-selected.png b/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/evaluation-selected.png index 5b7de17018047..1ff0ab37806ca 100644 Binary files a/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/evaluation-selected.png and b/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/evaluation-selected.png differ diff --git a/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/site-cards.png b/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/site-cards.png index ac5b998146619..83e562ede663c 100644 Binary files a/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/site-cards.png and b/projects/packages/my-jetpack/_inc/components/welcome-flow/assets/images/site-cards.png differ diff --git a/projects/packages/my-jetpack/changelog/fix-my-jetpack-post-checkout-urls b/projects/packages/my-jetpack/changelog/fix-my-jetpack-post-checkout-urls new file mode 100644 index 0000000000000..a91aaa758c235 --- /dev/null +++ b/projects/packages/my-jetpack/changelog/fix-my-jetpack-post-checkout-urls @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +My Jetpack: ensure product screens redirect to the correct post-checkout URLs. diff --git a/projects/packages/my-jetpack/changelog/fix-notice-my-jetpack-bubble b/projects/packages/my-jetpack/changelog/fix-notice-my-jetpack-bubble new file mode 100644 index 0000000000000..36869084ff889 --- /dev/null +++ b/projects/packages/my-jetpack/changelog/fix-notice-my-jetpack-bubble @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Notification bubbles: avoid PHP warning when information is missing. diff --git a/projects/packages/my-jetpack/changelog/try-lossless-image-optmization-part-3 b/projects/packages/my-jetpack/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/my-jetpack/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/my-jetpack/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/packages/my-jetpack/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..b843dc36d200a --- /dev/null +++ b/projects/packages/my-jetpack/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Removed unnecessary WAF dependency in My Jetpack. diff --git a/projects/packages/my-jetpack/composer.json b/projects/packages/my-jetpack/composer.json index 2a4a36e052827..5761a341a83e0 100644 --- a/projects/packages/my-jetpack/composer.json +++ b/projects/packages/my-jetpack/composer.json @@ -18,8 +18,7 @@ "automattic/jetpack-plans": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-protect-status": "@dev", - "automattic/jetpack-waf": "@dev" + "automattic/jetpack-protect-status": "@dev" }, "require-dev": { "yoast/phpunit-polyfills": "1.1.0", diff --git a/projects/packages/my-jetpack/src/class-initializer.php b/projects/packages/my-jetpack/src/class-initializer.php index 3670a0ff82433..60da4d45310b3 100644 --- a/projects/packages/my-jetpack/src/class-initializer.php +++ b/projects/packages/my-jetpack/src/class-initializer.php @@ -219,6 +219,11 @@ public static function enqueue_scripts() { $scan_data = Protect_Status::get_status(); self::update_historically_active_jetpack_modules(); + $waf_config = array(); + if ( class_exists( 'Automattic\Jetpack\Waf\Waf_Runner' ) ) { + $waf_config = Waf_Runner::get_config(); + } + wp_localize_script( 'my_jetpack_main_app', 'myJetpackInitialState', @@ -273,7 +278,7 @@ public static function enqueue_scripts() { 'protect' => array( 'scanData' => $scan_data, 'wafConfig' => array_merge( - Waf_Runner::get_config(), + $waf_config, array( 'blocked_logins' => (int) get_site_option( 'jetpack_protect_blocked_attempts', 0 ) ) ), ), @@ -768,7 +773,7 @@ public static function maybe_show_red_bubble() { self::get_red_bubble_alerts(), function ( $alert ) { // We don't want to show silent alerts - return ! $alert['is_silent']; + return empty( $alert['is_silent'] ); } ); diff --git a/projects/packages/sync/changelog/add-filter-for-filtered-order-data b/projects/packages/sync/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..dced1a28c0acf --- /dev/null +++ b/projects/packages/sync/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Synced Order Data: adds filtering to the filtered order data diff --git a/projects/packages/sync/composer.json b/projects/packages/sync/composer.json index 423bc092a5cc5..9b9f03f5ec738 100644 --- a/projects/packages/sync/composer.json +++ b/projects/packages/sync/composer.json @@ -59,7 +59,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/packages/sync/src/class-package-version.php b/projects/packages/sync/src/class-package-version.php index bea1c23cfe552..d4222b1f84770 100644 --- a/projects/packages/sync/src/class-package-version.php +++ b/projects/packages/sync/src/class-package-version.php @@ -12,7 +12,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '3.6.0'; + const PACKAGE_VERSION = '3.7.0-alpha'; const PACKAGE_SLUG = 'sync'; diff --git a/projects/packages/sync/src/modules/class-woocommerce-hpos-orders.php b/projects/packages/sync/src/modules/class-woocommerce-hpos-orders.php index d3abc38330079..413b9d4e7e0da 100644 --- a/projects/packages/sync/src/modules/class-woocommerce-hpos-orders.php +++ b/projects/packages/sync/src/modules/class-woocommerce-hpos-orders.php @@ -303,7 +303,15 @@ private function filter_order_data( $order_object ) { } $filtered_order_data['status'] = $this->get_wc_order_status_with_prefix( $filtered_order_data['status'] ); - return $filtered_order_data; + /** + * Filter the order data before syncing. + * + * @since $$next-version$$ + * + * @param array $filtered_order_data The Filtered order data. + * @param \WC_Abstract_Order $order_object The Order object. + */ + return apply_filters( 'jetpack_sync_filtered_hpos_order_data', $filtered_order_data, $order_object ); } /** diff --git a/projects/packages/videopress/changelog/try-lossless-image-optmization-part-3 b/projects/packages/videopress/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/packages/videopress/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-01.png b/projects/packages/videopress/src/client/admin/mock/assets/poster-01.png index f202e42dcaadd..c3518b2e5e810 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-01.png and b/projects/packages/videopress/src/client/admin/mock/assets/poster-01.png differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-02.png b/projects/packages/videopress/src/client/admin/mock/assets/poster-02.png index 761b680c2a602..c2a58765f76bd 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-02.png and b/projects/packages/videopress/src/client/admin/mock/assets/poster-02.png differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-03.png b/projects/packages/videopress/src/client/admin/mock/assets/poster-03.png index 6f36017710bb9..c946837727b87 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-03.png and b/projects/packages/videopress/src/client/admin/mock/assets/poster-03.png differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-04.png b/projects/packages/videopress/src/client/admin/mock/assets/poster-04.png index 820296854d032..1d2999ecf782f 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-04.png and b/projects/packages/videopress/src/client/admin/mock/assets/poster-04.png differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-05.png b/projects/packages/videopress/src/client/admin/mock/assets/poster-05.png index 5f42f74df3463..9bb13930d48eb 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-05.png and b/projects/packages/videopress/src/client/admin/mock/assets/poster-05.png differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-06.png b/projects/packages/videopress/src/client/admin/mock/assets/poster-06.png index bf000390b7a45..363afe9ff3d80 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-06.png and b/projects/packages/videopress/src/client/admin/mock/assets/poster-06.png differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-01.jpg b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-01.jpg index fbcf2405a7cdd..934666d854639 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-01.jpg and b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-01.jpg differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-02.jpg b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-02.jpg index 3723e8b939819..b083d462b8b3e 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-02.jpg and b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-02.jpg differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-03.jpg b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-03.jpg index 2dcfbc72191e2..d8276efe50438 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-03.jpg and b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-03.jpg differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-04.jpg b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-04.jpg index bf0fda1f04c0a..22ee7c797e5e8 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-04.jpg and b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-04.jpg differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-05.jpg b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-05.jpg index 73194870f7cd5..e310edc9f3a78 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-05.jpg and b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-05.jpg differ diff --git a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-06.jpg b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-06.jpg index 40ee484cedb05..a6a8772efa807 100644 Binary files a/projects/packages/videopress/src/client/admin/mock/assets/poster-square-06.jpg and b/projects/packages/videopress/src/client/admin/mock/assets/poster-square-06.jpg differ diff --git a/projects/packages/videopress/src/client/block-editor/blocks/video/components/color-panel/dynamic-colors.png b/projects/packages/videopress/src/client/block-editor/blocks/video/components/color-panel/dynamic-colors.png index 5339b62b6f47c..1c4bb970b55e6 100644 Binary files a/projects/packages/videopress/src/client/block-editor/blocks/video/components/color-panel/dynamic-colors.png and b/projects/packages/videopress/src/client/block-editor/blocks/video/components/color-panel/dynamic-colors.png differ diff --git a/projects/packages/videopress/src/client/block-editor/blocks/video/videopress-block-example-image.jpg b/projects/packages/videopress/src/client/block-editor/blocks/video/videopress-block-example-image.jpg index 077782375e8d1..56ae5aa8c1062 100644 Binary files a/projects/packages/videopress/src/client/block-editor/blocks/video/videopress-block-example-image.jpg and b/projects/packages/videopress/src/client/block-editor/blocks/video/videopress-block-example-image.jpg differ diff --git a/projects/plugins/automattic-for-agencies-client/changelog/add-filter-for-filtered-order-data b/projects/plugins/automattic-for-agencies-client/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/automattic-for-agencies-client/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/automattic-for-agencies-client/composer.lock b/projects/plugins/automattic-for-agencies-client/composer.lock index 98da44f08bc11..d31d861fbf4a8 100644 --- a/projects/plugins/automattic-for-agencies-client/composer.lock +++ b/projects/plugins/automattic-for-agencies-client/composer.lock @@ -862,7 +862,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -895,7 +895,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/backup/.w.org-assets/banner-772x250.png b/projects/plugins/backup/.w.org-assets/banner-772x250.png index 44acad0a1d11e..f2067bb071d3f 100644 Binary files a/projects/plugins/backup/.w.org-assets/banner-772x250.png and b/projects/plugins/backup/.w.org-assets/banner-772x250.png differ diff --git a/projects/plugins/backup/changelog/add-filter-for-filtered-order-data b/projects/plugins/backup/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/backup/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/backup/changelog/try-lossless-image-optmization-part-3 b/projects/plugins/backup/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/plugins/backup/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/plugins/backup/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/backup/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..59c80f69574e5 --- /dev/null +++ b/projects/plugins/backup/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update composer lock file diff --git a/projects/plugins/backup/composer.lock b/projects/plugins/backup/composer.lock index c337bacffe681..1f1aab1d8837f 100644 --- a/projects/plugins/backup/composer.lock +++ b/projects/plugins/backup/composer.lock @@ -1160,7 +1160,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1177,7 +1177,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -1741,7 +1740,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1774,7 +1773,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ @@ -1809,128 +1808,6 @@ "transport-options": { "relative": true } - }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "6e2fd903a4dc024db95b51904989506f65013e0e" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "php": ">=7.0", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.18.x-dev" - } - }, - "autoload": { - "files": [ - "cli.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": [ - "ahocorasick", - "matcher" - ], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" } ], "packages-dev": [ diff --git a/projects/plugins/boost/.w.org-assets/icon-256x256.png b/projects/plugins/boost/.w.org-assets/icon-256x256.png index 69b3507b6de2a..d34b60f04a068 100644 Binary files a/projects/plugins/boost/.w.org-assets/icon-256x256.png and b/projects/plugins/boost/.w.org-assets/icon-256x256.png differ diff --git a/projects/plugins/boost/changelog/add-filter-for-filtered-order-data b/projects/plugins/boost/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/boost/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/boost/changelog/try-lossless-image-optmization-part-3 b/projects/plugins/boost/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/plugins/boost/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/plugins/boost/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/boost/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..59c80f69574e5 --- /dev/null +++ b/projects/plugins/boost/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update composer lock file diff --git a/projects/plugins/boost/composer.lock b/projects/plugins/boost/composer.lock index 5a7a51bbad014..3284aeb48a445 100644 --- a/projects/plugins/boost/composer.lock +++ b/projects/plugins/boost/composer.lock @@ -1079,7 +1079,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1096,7 +1096,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -1725,7 +1724,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1758,7 +1757,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ @@ -1794,77 +1793,6 @@ "relative": true } }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "6e2fd903a4dc024db95b51904989506f65013e0e" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "php": ">=7.0", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.18.x-dev" - } - }, - "autoload": { - "files": [ - "cli.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, { "name": "automattic/jetpack-wp-js-data-sync", "version": "dev-trunk", @@ -2112,57 +2040,6 @@ "source": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port" }, "time": "2018-01-15T15:26:51+00:00" - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": [ - "ahocorasick", - "matcher" - ], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" } ], "packages-dev": [ diff --git a/projects/plugins/crm/changelog/try-lossless-image-optmization-part-3 b/projects/plugins/crm/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/plugins/crm/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/plugins/crm/css/img/sprite-orange.png b/projects/plugins/crm/css/img/sprite-orange.png index 28307e6e3768a..d4658d2555e66 100644 Binary files a/projects/plugins/crm/css/img/sprite-orange.png and b/projects/plugins/crm/css/img/sprite-orange.png differ diff --git a/projects/plugins/crm/i/Email.png b/projects/plugins/crm/i/Email.png index 6db6af4f160bf..4a2ee3c551465 100644 Binary files a/projects/plugins/crm/i/Email.png and b/projects/plugins/crm/i/Email.png differ diff --git a/projects/plugins/crm/i/ext/aweber.png b/projects/plugins/crm/i/ext/aweber.png index e9ca68e9e2f14..3e484627fef87 100755 Binary files a/projects/plugins/crm/i/ext/aweber.png and b/projects/plugins/crm/i/ext/aweber.png differ diff --git a/projects/plugins/crm/i/ext/client-password-manager.png b/projects/plugins/crm/i/ext/client-password-manager.png index e4027ad44cb72..048b1856feae1 100755 Binary files a/projects/plugins/crm/i/ext/client-password-manager.png and b/projects/plugins/crm/i/ext/client-password-manager.png differ diff --git a/projects/plugins/crm/i/ext/client-portal-pro.png b/projects/plugins/crm/i/ext/client-portal-pro.png index 51fff1582c647..0691e441ba482 100755 Binary files a/projects/plugins/crm/i/ext/client-portal-pro.png and b/projects/plugins/crm/i/ext/client-portal-pro.png differ diff --git a/projects/plugins/crm/i/ext/invoicing-pro.png b/projects/plugins/crm/i/ext/invoicing-pro.png index 8c1aed6d19078..9c257cd360714 100755 Binary files a/projects/plugins/crm/i/ext/invoicing-pro.png and b/projects/plugins/crm/i/ext/invoicing-pro.png differ diff --git a/projects/plugins/crm/i/ext/mail-campaigns-1.png b/projects/plugins/crm/i/ext/mail-campaigns-1.png index f250e29968f0f..f781a754a1ced 100755 Binary files a/projects/plugins/crm/i/ext/mail-campaigns-1.png and b/projects/plugins/crm/i/ext/mail-campaigns-1.png differ diff --git a/projects/plugins/crm/i/ext/mailchip.png b/projects/plugins/crm/i/ext/mailchip.png index cd109de24bc91..110ec26be57cd 100755 Binary files a/projects/plugins/crm/i/ext/mailchip.png and b/projects/plugins/crm/i/ext/mailchip.png differ diff --git a/projects/plugins/crm/i/ext/paypal.png b/projects/plugins/crm/i/ext/paypal.png index 01f9d3bcc1dc6..df966bcb74e2a 100755 Binary files a/projects/plugins/crm/i/ext/paypal.png and b/projects/plugins/crm/i/ext/paypal.png differ diff --git a/projects/plugins/crm/i/ext/twillo.png b/projects/plugins/crm/i/ext/twillo.png index ed106b98567eb..8f05ef9394a17 100755 Binary files a/projects/plugins/crm/i/ext/twillo.png and b/projects/plugins/crm/i/ext/twillo.png differ diff --git a/projects/plugins/crm/i/givewp.png b/projects/plugins/crm/i/givewp.png index 81d44d88cff66..7b5d7298b2c7e 100644 Binary files a/projects/plugins/crm/i/givewp.png and b/projects/plugins/crm/i/givewp.png differ diff --git a/projects/plugins/crm/i/sms.png b/projects/plugins/crm/i/sms.png index e7061850cd0bd..5124651ce5a44 100644 Binary files a/projects/plugins/crm/i/sms.png and b/projects/plugins/crm/i/sms.png differ diff --git a/projects/plugins/jetpack/_inc/client/components/jetpack-notices/index.jsx b/projects/plugins/jetpack/_inc/client/components/jetpack-notices/index.jsx index 85686df8191d0..8cfbb00b895ee 100644 --- a/projects/plugins/jetpack/_inc/client/components/jetpack-notices/index.jsx +++ b/projects/plugins/jetpack/_inc/client/components/jetpack-notices/index.jsx @@ -193,12 +193,19 @@ class JetpackNotices extends React.Component { 'jetpack_deprecate_dismissed[jetpack-ga-admin-removal-notice]' ) && '1' === cookieParsed[ 'jetpack_deprecate_dismissed[jetpack-ga-admin-removal-notice]' ], + isMasterbarNoticeDismissed: + cookieParsed && + cookieParsed.hasOwnProperty( + 'jetpack_deprecate_dismissed[jetpack-masterbar-admin-removal-notice]' + ) && + '1' === + cookieParsed[ 'jetpack_deprecate_dismissed[jetpack-masterbar-admin-removal-notice]' ], }; - - this.dismissGoogleAnalyticsNotice = this.dismissGoogleAnalyticsNotice.bind( this ); } - dismissGoogleAnalyticsNotice() { + dismissGoogleAnalyticsNotice = () => { + this.setState( { isGoogleAnalyticsNoticeDismissed: true } ); + document.cookie = cookie.serialize( 'jetpack_deprecate_dismissed[jetpack-ga-admin-removal-notice]', '1', @@ -208,8 +215,21 @@ class JetpackNotices extends React.Component { SameSite: 'None', } ); - this.setState( { isGoogleAnalyticsNoticeDismissed: true } ); - } + }; + + dismissMasterbarNotice = () => { + this.setState( { isMasterbarNoticeDismissed: true } ); + + document.cookie = cookie.serialize( + 'jetpack_deprecate_dismissed[jetpack-masterbar-admin-removal-notice]', + '1', + { + path: '/', + maxAge: 365 * 24 * 60 * 60, + SameSite: 'None', + } + ); + }; render() { const siteDataErrors = this.props.siteDataErrors.filter( error => @@ -220,6 +240,9 @@ class JetpackNotices extends React.Component { const showGoogleAnalyticsNotice = this.props.showGoogleAnalyticsNotice && ! this.state.isGoogleAnalyticsNoticeDismissed; + const showMasterbarNotice = + this.props.showMasterbarNotice && ! this.state.isMasterbarNoticeDismissed; + return (
@@ -292,6 +315,23 @@ class JetpackNotices extends React.Component { ) } + { showMasterbarNotice && ( + +
+ { __( "Jetpack's WordPress.com Toolbar feature has been removed.", 'jetpack' ) } +
+ + { __( + 'To find out more about what this means for you, please refer to this document', + 'jetpack' + ) } + +
+ ) }
); } @@ -330,6 +370,7 @@ export default connect( state, 'jetpack-legacy-google-analytics/jetpack-legacy-google-analytics.php' ), + showMasterbarNotice: window.Initial_State?.isMasterbarActive && ! isWoASite( state ), }; }, dispatch => { diff --git a/projects/plugins/jetpack/_inc/client/writing/index.jsx b/projects/plugins/jetpack/_inc/client/writing/index.jsx index 0ba27d6ca320d..9906411e838d2 100644 --- a/projects/plugins/jetpack/_inc/client/writing/index.jsx +++ b/projects/plugins/jetpack/_inc/client/writing/index.jsx @@ -15,7 +15,6 @@ import { isModuleFound } from 'state/search'; import { getSettings } from 'state/settings'; import Composing from './composing'; import CustomContentTypes from './custom-content-types'; -import { Masterbar } from './masterbar'; import PostByEmail from './post-by-email'; import ThemeEnhancements from './theme-enhancements'; import Widgets from './widgets'; @@ -92,9 +91,6 @@ export class Writing extends React.Component { userCanManageModules={ this.props.userCanManageModules } /> ) } - { this.props.isModuleFound( 'masterbar' ) && ! this.props.masterbarIsAlwaysActive && ( - - ) } { ! showComposing && ! showPostByEmail && ( { __( diff --git a/projects/plugins/jetpack/_inc/client/writing/masterbar.jsx b/projects/plugins/jetpack/_inc/client/writing/masterbar.jsx deleted file mode 100644 index 5fd9cd9c154d1..0000000000000 --- a/projects/plugins/jetpack/_inc/client/writing/masterbar.jsx +++ /dev/null @@ -1,65 +0,0 @@ -import { getRedirectUrl } from '@automattic/jetpack-components'; -import { __, _x } from '@wordpress/i18n'; -import ConnectUserBar from 'components/connect-user-bar'; -import { withModuleSettingsFormHelpers } from 'components/module-settings/with-module-settings-form-helpers'; -import { ModuleToggle } from 'components/module-toggle'; -import SettingsCard from 'components/settings-card'; -import SettingsGroup from 'components/settings-group'; -import React, { Component } from 'react'; - -export const Masterbar = withModuleSettingsFormHelpers( - class extends Component { - render() { - const isActive = this.props.getOptionValue( 'masterbar' ), - unavailableInOfflineMode = this.props.isUnavailableInOfflineMode( 'masterbar' ); - - return ( - - -

- { __( - 'The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.', - 'jetpack' - ) } -

- - - { __( 'Enable the WordPress.com toolbar', 'jetpack' ) } - - -
- - { ! this.props.isUnavailableInOfflineMode( 'masterbar' ) && ! this.props.isLinked && ( - - ) } -
- ); - } - } -); diff --git a/projects/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php b/projects/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php index f7a4dba2ca5fb..31b87c1dfddfe 100644 --- a/projects/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php +++ b/projects/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php @@ -249,6 +249,7 @@ public static function get_initial_state() { 'newsletterDateExample' => gmdate( get_option( 'date_format' ), time() ), 'subscriptionSiteEditSupported' => $current_theme->is_block_theme(), 'isGoogleAnalyticsActive' => ( new Modules() )->is_active( 'google-analytics', false ), + 'isMasterbarActive' => ( new Modules() )->is_active( 'masterbar', false ), ); } diff --git a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-admin-menu.php b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-admin-menu.php index 75885fee98be1..d157eb2f3e222 100644 --- a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-admin-menu.php +++ b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-admin-menu.php @@ -6,8 +6,6 @@ * @since 9.1.0 */ -use Automattic\Jetpack\Status\Host; - /** * Class WPCOM_REST_API_V2_Endpoint_Admin_Menu */ @@ -85,9 +83,6 @@ public function get_item_permissions_check( $request ) { // phpcs:ignore Generic * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ public function get_item( $request ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter, VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable - if ( ! ( new Host() )->is_wpcom_platform() && get_option( 'wpcom_admin_interface' ) !== 'wp-admin' ) { - require_once JETPACK__PLUGIN_DIR . 'jetpack_vendor/automattic/jetpack-masterbar/src/admin-menu/load.php'; - } // All globals need to be declared for menu items to properly register. global $admin_page_hooks, $menu, $menu_order, $submenu, $_wp_menu_nopriv, $_wp_submenu_nopriv; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable @@ -119,7 +114,9 @@ private function hide_customizer_menu_on_block_theme() { remove_action( 'customize_register', array( 'Jetpack_Fonts_Typekit', 'maybe_override_for_advanced_mode' ), 20 ); - remove_action( 'customize_register', 'Automattic\Jetpack\Masterbar\register_css_nudge_control' ); + if ( class_exists( 'Automattic\Jetpack\Masterbar' ) ) { + remove_action( 'customize_register', 'Automattic\Jetpack\Masterbar\register_css_nudge_control' ); + } remove_action( 'customize_register', array( 'Jetpack_Custom_CSS_Enhancements', 'customize_register' ) ); } diff --git a/projects/plugins/jetpack/changelog/add-filter-for-filtered-order-data b/projects/plugins/jetpack/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..a1c1831fa1ef7 --- /dev/null +++ b/projects/plugins/jetpack/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Updated composer.lock. + + diff --git a/projects/plugins/jetpack/changelog/atomic-default-profile b/projects/plugins/jetpack/changelog/atomic-default-profile new file mode 100644 index 0000000000000..a1c1831fa1ef7 --- /dev/null +++ b/projects/plugins/jetpack/changelog/atomic-default-profile @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Updated composer.lock. + + diff --git a/projects/plugins/jetpack/changelog/fix-social-icons-wrong-path b/projects/plugins/jetpack/changelog/fix-social-icons-wrong-path new file mode 100644 index 0000000000000..3c31d74139486 --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-social-icons-wrong-path @@ -0,0 +1,4 @@ +Significance: patch +Type: bugfix + +Social Icons Widget: ensure the social network icons are displayed properly. diff --git a/projects/plugins/jetpack/changelog/fix-social-menus-svg b/projects/plugins/jetpack/changelog/fix-social-menus-svg new file mode 100644 index 0000000000000..d3e6f589fb003 --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-social-menus-svg @@ -0,0 +1,4 @@ +Significance: patch +Type: bugfix + +Social Menus: ensure the SVG can be displayed properly. diff --git a/projects/plugins/jetpack/changelog/remove-masterbar-feature-jetpack b/projects/plugins/jetpack/changelog/remove-masterbar-feature-jetpack new file mode 100644 index 0000000000000..62e4cd1a3448a --- /dev/null +++ b/projects/plugins/jetpack/changelog/remove-masterbar-feature-jetpack @@ -0,0 +1,4 @@ +Significance: minor +Type: compat + +WordPress.com Toolbar: Removed feature from Jetpack self-hosted sites. diff --git a/projects/plugins/jetpack/changelog/site-is-a4a-dev-site b/projects/plugins/jetpack/changelog/site-is-a4a-dev-site new file mode 100644 index 0000000000000..c4263011c9598 --- /dev/null +++ b/projects/plugins/jetpack/changelog/site-is-a4a-dev-site @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Add a4a_is_dev_site attribute to Sites API response. diff --git a/projects/plugins/jetpack/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/jetpack/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..f4e2f149d1e82 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Update lock file diff --git a/projects/plugins/jetpack/changelog/update-sharing-block-check-content b/projects/plugins/jetpack/changelog/update-sharing-block-check-content new file mode 100644 index 0000000000000..c31d0572f2db6 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-sharing-block-check-content @@ -0,0 +1,4 @@ +Significance: patch +Type: compat + +Sharing Block: improve performance when hooking the block into single post templates. diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index 75d74bdadebf4..2ce6fee251893 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -1665,7 +1665,7 @@ "dist": { "type": "path", "url": "../../packages/masterbar", - "reference": "9f21b1d7607b21df7becfcdb49002d310d891440" + "reference": "39a207e6ee97aa176b4198439f5b7e8bc911ef87" }, "require": { "automattic/jetpack-assets": "@dev", @@ -1693,7 +1693,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.6.x-dev" + "dev-trunk": "0.7.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-masterbar/compare/v${old}...v${new}" @@ -1744,7 +1744,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1761,7 +1761,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -2684,7 +2683,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -2717,7 +2716,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/jetpack/extensions/blocks/sharing-button/sharing-button.php b/projects/plugins/jetpack/extensions/blocks/sharing-button/sharing-button.php index 776f6568a4b84..5c9e6dd8cad0c 100644 --- a/projects/plugins/jetpack/extensions/blocks/sharing-button/sharing-button.php +++ b/projects/plugins/jetpack/extensions/blocks/sharing-button/sharing-button.php @@ -269,12 +269,6 @@ function add_block_to_single_posts_template( $hooked_block_types, $relative_posi return $hooked_block_types; } - $content = $context->content ?? ''; - // Check if the block is already in the template. If so, abort. - if ( false !== strpos( $content, 'wp:' . PARENT_BLOCK_NAME ) ) { - return $hooked_block_types; - } - $hooked_block_types[] = PARENT_BLOCK_NAME; return $hooked_block_types; } diff --git a/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php b/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php index 22dd84e279459..42b541afa2440 100644 --- a/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php +++ b/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php @@ -85,6 +85,7 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint { 'wpcom_site_setup' => '(string) The WP.com site setup identifier.', 'is_deleted' => '(bool) If the site flagged as deleted.', 'is_a4a_client' => '(bool) If the site is an A4A client site.', + 'is_a4a_dev_site' => '(bool) If the site is an A4A dev site.', ); /** @@ -120,6 +121,7 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint { 'is_wpcom_staging_site', 'is_deleted', 'is_a4a_client', + 'is_a4a_dev_site', ); /** @@ -612,6 +614,9 @@ protected function render_response_key( $key, &$response, $is_user_logged_in ) { case 'is_a4a_client': $response[ $key ] = $this->site->is_a4a_client(); break; + case 'is_a4a_dev_site': + $response[ $key ] = $this->site->is_a4a_dev_site(); + break; } do_action( 'post_render_site_response_key', $key ); diff --git a/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php b/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php index bb1f734d82881..0b21388d1e6ce 100644 --- a/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php +++ b/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php @@ -79,6 +79,7 @@ class WPCOM_JSON_API_GET_Site_V1_2_Endpoint extends WPCOM_JSON_API_GET_Site_Endp 'was_hosting_trial' => '(bool) If the site ever used a hosting trial.', 'is_deleted' => '(bool) If the site flagged as deleted.', 'is_a4a_client' => '(bool) If the site is an A4A client site.', + 'is_a4a_dev_site' => '(bool) If the site is an A4A dev site.', ); /** diff --git a/projects/plugins/jetpack/modules/masterbar.php b/projects/plugins/jetpack/modules/masterbar.php index d5493b8714c7f..62e0a5e3c1578 100644 --- a/projects/plugins/jetpack/modules/masterbar.php +++ b/projects/plugins/jetpack/modules/masterbar.php @@ -14,6 +14,11 @@ * @package automattic/jetpack */ -use Automattic\Jetpack\Masterbar\Main as Jetpack_Masterbar; - -Jetpack_Masterbar::init(); +/** + * Remove Masterbar from the old Module list. + * Available at wp-admin/admin.php?page=jetpack_modules + * We only need this function and module file until the Masterbar is fully removed from Jetpack including notices). + * + * @param array $items Array of Jetpack modules. + * @return array + */ diff --git a/projects/plugins/jetpack/modules/theme-tools/social-menu/social-menu.svg b/projects/plugins/jetpack/modules/theme-tools/social-menu/social-menu.svg index 5beac331dd9fe..9d51b1ad99267 100644 --- a/projects/plugins/jetpack/modules/theme-tools/social-menu/social-menu.svg +++ b/projects/plugins/jetpack/modules/theme-tools/social-menu/social-menu.svg @@ -1 +1,257 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/projects/plugins/jetpack/modules/widgets/social-icons.php b/projects/plugins/jetpack/modules/widgets/social-icons.php index 79cda62197aa6..940b52e2a71a7 100644 --- a/projects/plugins/jetpack/modules/widgets/social-icons.php +++ b/projects/plugins/jetpack/modules/widgets/social-icons.php @@ -116,10 +116,10 @@ public function render_admin_js() { public function include_svg_icons() { // Define SVG sprite file in Jetpack. $svg_icons = dirname( __DIR__ ) . '/theme-tools/social-menu/social-menu.svg'; - $svg_icons = class_exists( 'Automattic\Jetpack\Classic_Theme_Helper\Main' ) ? JETPACK__PLUGIN_DIR . 'jetpack-vendor/automattic/jetpack-classic-theme-helper/src/social-menu/social-menu.svg' : dirname( __DIR__ ) . '/theme-tools/social-menu/social-menu.svg'; + $svg_icons = class_exists( 'Automattic\Jetpack\Classic_Theme_Helper\Main' ) ? JETPACK__PLUGIN_DIR . 'jetpack_vendor/automattic/jetpack-classic-theme-helper/src/social-menu/social-menu.svg' : dirname( __DIR__ ) . '/theme-tools/social-menu/social-menu.svg'; // Define SVG sprite file in WPCOM. if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { - $svg_icons = class_exists( 'Automattic\Jetpack\Classic_Theme_Helper\Main' ) ? JETPACK__PLUGIN_DIR . 'jetpack-vendor/automattic/jetpack-classic-theme-helper/src/social-menu/social-menu.svg' : dirname( __DIR__ ) . '/social-menu/social-menu.svg'; + $svg_icons = class_exists( 'Automattic\Jetpack\Classic_Theme_Helper\Main' ) ? JETPACK__PLUGIN_DIR . 'jetpack_vendor/automattic/jetpack-classic-theme-helper/src/social-menu/social-menu.svg' : dirname( __DIR__ ) . '/social-menu/social-menu.svg'; } // If it exists, include it. diff --git a/projects/plugins/jetpack/sal/class.json-api-site-base.php b/projects/plugins/jetpack/sal/class.json-api-site-base.php index 40925db17215e..8109037452d83 100644 --- a/projects/plugins/jetpack/sal/class.json-api-site-base.php +++ b/projects/plugins/jetpack/sal/class.json-api-site-base.php @@ -423,6 +423,18 @@ abstract public function is_deleted(); */ abstract public function is_a4a_client(); + /** + * Indicates that a site is an A4A dev site. + * + * @return bool + */ + public function is_a4a_dev_site() { + if ( function_exists( 'has_blog_sticker' ) ) { + return has_blog_sticker( 'a4a-is-dev-site' ); + } + return false; + } + /** * Return the user interactions with a site. Not used in Jetpack. * diff --git a/projects/plugins/jetpack/src/class-deprecate.php b/projects/plugins/jetpack/src/class-deprecate.php index 4a106f6bcb206..8837c02e30a4c 100644 --- a/projects/plugins/jetpack/src/class-deprecate.php +++ b/projects/plugins/jetpack/src/class-deprecate.php @@ -31,6 +31,7 @@ private function __construct() { add_action( 'admin_notices', array( $this, 'render_admin_notices' ) ); add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) ); add_filter( 'my_jetpack_red_bubble_notification_slugs', array( $this, 'add_my_jetpack_red_bubbles' ) ); + add_filter( 'jetpack_modules_list_table_items', array( $this, 'remove_masterbar_module_list' ) ); } /** @@ -70,7 +71,7 @@ public function enqueue_admin_scripts() { } /** - * Render Google Analytics deprecation notice. + * Render deprecation notices for relevant features. * * @return void */ @@ -84,6 +85,15 @@ public function render_admin_notices() { . ' ' . esc_html__( 'To keep tracking visits and more information on this change, please refer to this document', 'jetpack' ) . '.' ); } + if ( $this->show_masterbar_notice() ) { + $support_url = Redirect::get_url( 'jetpack-support-masterbar' ); + + $this->render_notice( + 'jetpack-masterbar-admin-removal-notice', + esc_html__( "Jetpack's WordPress.com Toolbar feature has been removed.", 'jetpack' ) + . ' ' . esc_html__( 'To find out more about what this means for you, please refer to this document', 'jetpack' ) . '.' + ); + } } /** @@ -106,6 +116,18 @@ public function add_my_jetpack_red_bubbles( $slugs ) { ), ); } + if ( $this->show_masterbar_notice() ) { + $slugs['jetpack-masterbar-deprecate-feature'] = array( + 'data' => array( + 'text' => __( "Jetpack's WordPress.com Toolbar feature has been removed.", 'jetpack' ), + 'link' => array( + 'label' => esc_html__( 'See documentation', 'jetpack' ), + 'url' => Redirect::get_url( 'jetpack-support-masterbar' ), + ), + 'id' => 'jetpack-masterbar-admin-removal-notice', + ), + ); + } return $slugs; } @@ -151,7 +173,7 @@ private function render_notice( $id, $text, $params = array() ) { * @return bool */ private function has_notices() { - return $this->show_ga_notice(); + return ( $this->show_ga_notice() || $this->show_masterbar_notice() ); } /** @@ -165,4 +187,30 @@ private function show_ga_notice() { && ! ( new Host() )->is_woa_site() && empty( $_COOKIE['jetpack_deprecate_dismissed']['jetpack-ga-admin-removal-notice'] ); } + + /** + * Check if Masterbar notice should show up. + * + * @return bool + */ + private function show_masterbar_notice() { + return ( new Modules() )->is_active( 'masterbar', false ) + && ! ( new Host() )->is_woa_site() + && empty( $_COOKIE['jetpack_deprecate_dismissed']['jetpack-masterbar-admin-removal-notice'] ); + } + + /** + * Remove Masterbar from the old Module list. + * Available at wp-admin/admin.php?page=jetpack_modules + * We only need this function until the Masterbar is fully removed from Jetpack (including notices). + * + * @param array $items Array of Jetpack modules. + * @return array + */ + public function remove_masterbar_module_list( $items ) { + if ( isset( $items['masterbar'] ) && get_option( 'wpcom_admin_interface' ) !== 'wp-admin' ) { + unset( $items['masterbar'] ); + } + return $items; + } } diff --git a/projects/plugins/migration/changelog/add-filter-for-filtered-order-data b/projects/plugins/migration/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/migration/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/migration/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/migration/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..59c80f69574e5 --- /dev/null +++ b/projects/plugins/migration/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update composer lock file diff --git a/projects/plugins/migration/composer.lock b/projects/plugins/migration/composer.lock index 6069f7243a6aa..83b08ff4e171d 100644 --- a/projects/plugins/migration/composer.lock +++ b/projects/plugins/migration/composer.lock @@ -1160,7 +1160,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1177,7 +1177,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -1741,7 +1740,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1774,7 +1773,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ @@ -1809,128 +1808,6 @@ "transport-options": { "relative": true } - }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "6e2fd903a4dc024db95b51904989506f65013e0e" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "php": ">=7.0", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.18.x-dev" - } - }, - "autoload": { - "files": [ - "cli.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": [ - "ahocorasick", - "matcher" - ], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" } ], "packages-dev": [ diff --git a/projects/plugins/mu-wpcom-plugin/changelog/add-filter-for-filtered-order-data b/projects/plugins/mu-wpcom-plugin/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/mu-wpcom-plugin/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/mu-wpcom-plugin/changelog/atomic-default-profile b/projects/plugins/mu-wpcom-plugin/changelog/atomic-default-profile new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/mu-wpcom-plugin/changelog/atomic-default-profile @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/mu-wpcom-plugin/composer.lock b/projects/plugins/mu-wpcom-plugin/composer.lock index d78c95da25044..c24fbd19b039f 100644 --- a/projects/plugins/mu-wpcom-plugin/composer.lock +++ b/projects/plugins/mu-wpcom-plugin/composer.lock @@ -926,7 +926,7 @@ "dist": { "type": "path", "url": "../../packages/masterbar", - "reference": "9f21b1d7607b21df7becfcdb49002d310d891440" + "reference": "39a207e6ee97aa176b4198439f5b7e8bc911ef87" }, "require": { "automattic/jetpack-assets": "@dev", @@ -954,7 +954,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.6.x-dev" + "dev-trunk": "0.7.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-masterbar/compare/v${old}...v${new}" @@ -1506,7 +1506,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1539,7 +1539,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/protect/.phan/baseline.php b/projects/plugins/protect/.phan/baseline.php index d7eb69a5f7082..fba380eb870a7 100644 --- a/projects/plugins/protect/.phan/baseline.php +++ b/projects/plugins/protect/.phan/baseline.php @@ -19,7 +19,6 @@ 'jetpack-protect.php' => ['PhanNoopNew'], 'src/class-credentials.php' => ['PhanPluginDuplicateConditionalNullCoalescing', 'PhanTypeMismatchReturnProbablyReal'], 'src/class-rest-controller.php' => ['PhanParamTooMany'], - 'src/class-threats.php' => ['PhanParamTooMany'], ], // 'directory_suppressions' => ['src/directory_name' => ['PhanIssueName1', 'PhanIssueName2']] can be manually added if needed. // (directory_suppressions will currently be ignored by subsequent calls to --save-baseline, but may be preserved in future Phan releases) diff --git a/projects/plugins/protect/.w.org-assets/screenshot-2.png b/projects/plugins/protect/.w.org-assets/screenshot-2.png index c06d4e02cde45..7bc75fdad17e9 100644 Binary files a/projects/plugins/protect/.w.org-assets/screenshot-2.png and b/projects/plugins/protect/.w.org-assets/screenshot-2.png differ diff --git a/projects/plugins/protect/changelog/add-filter-for-filtered-order-data b/projects/plugins/protect/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/protect/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/protect/changelog/add-protect-hide-autofix-col b/projects/plugins/protect/changelog/add-protect-hide-autofix-col new file mode 100644 index 0000000000000..4273dddc0151c --- /dev/null +++ b/projects/plugins/protect/changelog/add-protect-hide-autofix-col @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Protect Threat History: remove auto-fix column as it is not applicable to history. + + diff --git a/projects/plugins/protect/changelog/fix-protect-delete-relevant-options-on-deactivation b/projects/plugins/protect/changelog/fix-protect-delete-relevant-options-on-deactivation new file mode 100644 index 0000000000000..0516b98097e45 --- /dev/null +++ b/projects/plugins/protect/changelog/fix-protect-delete-relevant-options-on-deactivation @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Delete relevant Protect options on deactivation diff --git a/projects/plugins/protect/changelog/try-lossless-image-optmization-part-3 b/projects/plugins/protect/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/plugins/protect/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/plugins/protect/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/protect/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..59c80f69574e5 --- /dev/null +++ b/projects/plugins/protect/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update composer lock file diff --git a/projects/plugins/protect/composer.lock b/projects/plugins/protect/composer.lock index 91794382c7784..8302711f79c69 100644 --- a/projects/plugins/protect/composer.lock +++ b/projects/plugins/protect/composer.lock @@ -1073,7 +1073,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1090,7 +1090,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -1654,7 +1653,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1687,7 +1686,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/protect/src/class-jetpack-protect.php b/projects/plugins/protect/src/class-jetpack-protect.php index ff0aaa9581158..300886a9bed03 100644 --- a/projects/plugins/protect/src/class-jetpack-protect.php +++ b/projects/plugins/protect/src/class-jetpack-protect.php @@ -24,6 +24,8 @@ use Automattic\Jetpack\Protect\Scan_History; use Automattic\Jetpack\Protect\Site_Health; use Automattic\Jetpack\Protect_Status\Plan; +use Automattic\Jetpack\Protect_Status\Protect_Status; +use Automattic\Jetpack\Protect_Status\Scan_Status; use Automattic\Jetpack\Protect_Status\Status; use Automattic\Jetpack\Status as Jetpack_Status; use Automattic\Jetpack\Sync\Functions as Sync_Functions; @@ -296,7 +298,9 @@ public static function plugin_deactivation() { $manager = new Connection_Manager( 'jetpack-protect' ); $manager->remove_connection(); - Status::delete_option(); + Protect_Status::delete_option(); + Scan_Status::delete_option(); + Scan_History::delete_option(); } /** diff --git a/projects/plugins/protect/src/class-threats.php b/projects/plugins/protect/src/class-threats.php index f2a80999f65f9..db71aaa75ef68 100644 --- a/projects/plugins/protect/src/class-threats.php +++ b/projects/plugins/protect/src/class-threats.php @@ -44,7 +44,7 @@ private static function get_api_base() { * @return bool */ public static function update_threat( $threat_id, $updates ) { - $api_base = self::get_api_base( $threat_id ); + $api_base = self::get_api_base(); if ( is_wp_error( $api_base ) ) { return false; } diff --git a/projects/plugins/protect/src/js/components/paid-accordion/index.jsx b/projects/plugins/protect/src/js/components/paid-accordion/index.jsx index adfc8ddad213c..5264208ed34e8 100644 --- a/projects/plugins/protect/src/js/components/paid-accordion/index.jsx +++ b/projects/plugins/protect/src/js/components/paid-accordion/index.jsx @@ -70,6 +70,7 @@ export const PaidAccordionItem = ( { fixedOn, onOpen, status, + hideAutoFixColumn = false, } ) => { const accordionData = useContext( PaidAccordionContext ); const open = accordionData?.open === id; @@ -117,18 +118,20 @@ export const PaidAccordionItem = ( {
-
- { fixable && ( - <> - { threatsAreFixing.indexOf( id ) >= 0 ? ( - - ) : ( - - ) } - { isSmall && { __( 'Auto-fix', 'jetpack-protect' ) } } - - ) } -
+ { ! hideAutoFixColumn && ( +
+ { fixable && ( + <> + { threatsAreFixing.indexOf( id ) >= 0 ? ( + + ) : ( + + ) } + { isSmall && { __( 'Auto-fix', 'jetpack-protect' ) } } + + ) } +
+ ) }
diff --git a/projects/plugins/protect/src/js/components/threats-list/paid-list.jsx b/projects/plugins/protect/src/js/components/threats-list/paid-list.jsx index 10ecb1781f8f4..24cbd217c74d8 100644 --- a/projects/plugins/protect/src/js/components/threats-list/paid-list.jsx +++ b/projects/plugins/protect/src/js/components/threats-list/paid-list.jsx @@ -27,6 +27,7 @@ const ThreatAccordionItem = ( { type, severity, status, + hideAutoFixColumn = false, } ) => { const threatsAreFixing = useSelect( select => select( STORE_ID ).getThreatsAreFixing() ); const { setModal } = useDispatch( STORE_ID ); @@ -87,6 +88,7 @@ const ThreatAccordionItem = ( { } recordEvent( `jetpack_protect_${ type }_threat_open` ); }, [ recordEvent, type ] ) } + hideAutoFixColumn={ hideAutoFixColumn } > { description && (
@@ -135,39 +137,41 @@ const ThreatAccordionItem = ( {
) } { ! description &&
{ learnMoreButton }
} -
- { 'ignored' === status && ( - - ) } - { 'current' === status && ( - <> + { [ 'ignored', 'current' ].includes( status ) && ( +
+ { 'ignored' === status && ( - { fixable && ( - - ) } - - ) } -
+ { fixable && ( + + ) } + + ) } +
+ ) } ); }; -const PaidList = ( { list } ) => { +const PaidList = ( { list, hideAutoFixColumn = false } ) => { const [ isSmall ] = useBreakpointMatch( [ 'sm', 'lg' ], [ null, '<' ] ); return ( @@ -176,7 +180,7 @@ const PaidList = ( { list } ) => {
{ __( 'Details', 'jetpack-protect' ) } { __( 'Severity', 'jetpack-protect' ) } - { __( 'Auto-fix', 'jetpack-protect' ) } + { ! hideAutoFixColumn && { __( 'Auto-fix', 'jetpack-protect' ) } }
) } @@ -224,6 +228,7 @@ const PaidList = ( { list } ) => { type={ type } version={ version } status={ status } + hideAutoFixColumn={ hideAutoFixColumn } /> ) ) } diff --git a/projects/plugins/protect/src/js/routes/firewall/index.jsx b/projects/plugins/protect/src/js/routes/firewall/index.jsx index 17a8289537664..4af9d28a64ddb 100644 --- a/projects/plugins/protect/src/js/routes/firewall/index.jsx +++ b/projects/plugins/protect/src/js/routes/firewall/index.jsx @@ -708,19 +708,12 @@ const FirewallPage = () => { onChange={ handleChange } disabled={ ! canEditFirewallSettings || ! ipBlockListEnabled } /> - - { __( - 'By adding their IP addresses, you ensure they will never access your site.', - 'jetpack-protect' - ) } - ) } { ipBlockListEnabled && (
- + ) : ( <> diff --git a/projects/plugins/search/changelog/add-filter-for-filtered-order-data b/projects/plugins/search/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/search/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/search/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/search/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..59c80f69574e5 --- /dev/null +++ b/projects/plugins/search/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update composer lock file diff --git a/projects/plugins/search/composer.lock b/projects/plugins/search/composer.lock index 6fcf265a304f2..7b3759662a2e6 100644 --- a/projects/plugins/search/composer.lock +++ b/projects/plugins/search/composer.lock @@ -1016,7 +1016,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1033,7 +1033,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -1746,7 +1745,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1779,7 +1778,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ @@ -1814,128 +1813,6 @@ "transport-options": { "relative": true } - }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "6e2fd903a4dc024db95b51904989506f65013e0e" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "php": ">=7.0", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.18.x-dev" - } - }, - "autoload": { - "files": [ - "cli.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": [ - "ahocorasick", - "matcher" - ], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" } ], "packages-dev": [ diff --git a/projects/plugins/social/changelog/add-filter-for-filtered-order-data b/projects/plugins/social/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/social/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/social/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/social/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..59c80f69574e5 --- /dev/null +++ b/projects/plugins/social/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update composer lock file diff --git a/projects/plugins/social/composer.lock b/projects/plugins/social/composer.lock index f2bcd31f74bc9..71a8cec7c7221 100644 --- a/projects/plugins/social/composer.lock +++ b/projects/plugins/social/composer.lock @@ -1016,7 +1016,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1033,7 +1033,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -1737,7 +1736,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1770,7 +1769,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ @@ -1805,128 +1804,6 @@ "transport-options": { "relative": true } - }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "6e2fd903a4dc024db95b51904989506f65013e0e" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "php": ">=7.0", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.18.x-dev" - } - }, - "autoload": { - "files": [ - "cli.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": [ - "ahocorasick", - "matcher" - ], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" } ], "packages-dev": [ diff --git a/projects/plugins/starter-plugin/changelog/add-filter-for-filtered-order-data b/projects/plugins/starter-plugin/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/starter-plugin/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/starter-plugin/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/starter-plugin/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..59c80f69574e5 --- /dev/null +++ b/projects/plugins/starter-plugin/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update composer lock file diff --git a/projects/plugins/starter-plugin/composer.lock b/projects/plugins/starter-plugin/composer.lock index 541a185a2fd8c..d3e18dd6ae524 100644 --- a/projects/plugins/starter-plugin/composer.lock +++ b/projects/plugins/starter-plugin/composer.lock @@ -1016,7 +1016,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1033,7 +1033,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -1597,7 +1596,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1630,7 +1629,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ @@ -1665,128 +1664,6 @@ "transport-options": { "relative": true } - }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "6e2fd903a4dc024db95b51904989506f65013e0e" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "php": ">=7.0", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.18.x-dev" - } - }, - "autoload": { - "files": [ - "cli.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": [ - "ahocorasick", - "matcher" - ], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" } ], "packages-dev": [ diff --git a/projects/plugins/super-cache/.w.org-assets/banner-1544x500.png b/projects/plugins/super-cache/.w.org-assets/banner-1544x500.png index d9be6f8b277ad..f70052f328ff1 100644 Binary files a/projects/plugins/super-cache/.w.org-assets/banner-1544x500.png and b/projects/plugins/super-cache/.w.org-assets/banner-1544x500.png differ diff --git a/projects/plugins/super-cache/.w.org-assets/banner-772x250.png b/projects/plugins/super-cache/.w.org-assets/banner-772x250.png index 78116be2c0b30..87927d0f634e5 100644 Binary files a/projects/plugins/super-cache/.w.org-assets/banner-772x250.png and b/projects/plugins/super-cache/.w.org-assets/banner-772x250.png differ diff --git a/projects/plugins/super-cache/.w.org-assets/icon-128x128.png b/projects/plugins/super-cache/.w.org-assets/icon-128x128.png index 30f3c65c1dacc..69890897d48c6 100644 Binary files a/projects/plugins/super-cache/.w.org-assets/icon-128x128.png and b/projects/plugins/super-cache/.w.org-assets/icon-128x128.png differ diff --git a/projects/plugins/super-cache/.w.org-assets/icon-256x256.png b/projects/plugins/super-cache/.w.org-assets/icon-256x256.png index 495ed8c03405e..a8f950ead2149 100644 Binary files a/projects/plugins/super-cache/.w.org-assets/icon-256x256.png and b/projects/plugins/super-cache/.w.org-assets/icon-256x256.png differ diff --git a/projects/plugins/super-cache/assets/automattic-airline.svg b/projects/plugins/super-cache/assets/automattic-airline.svg index f092fca286c7a..7142a47aeadb5 100644 --- a/projects/plugins/super-cache/assets/automattic-airline.svg +++ b/projects/plugins/super-cache/assets/automattic-airline.svg @@ -1,10 +1 @@ - - - - - - - - - - + \ No newline at end of file diff --git a/projects/plugins/super-cache/assets/boost-install-card-main-2x.png b/projects/plugins/super-cache/assets/boost-install-card-main-2x.png index 44282711022d7..7c4faa6dba38e 100644 Binary files a/projects/plugins/super-cache/assets/boost-install-card-main-2x.png and b/projects/plugins/super-cache/assets/boost-install-card-main-2x.png differ diff --git a/projects/plugins/super-cache/assets/boost-install-card-main.png b/projects/plugins/super-cache/assets/boost-install-card-main.png index 9734ff0d0f3c7..7a925d93a787a 100644 Binary files a/projects/plugins/super-cache/assets/boost-install-card-main.png and b/projects/plugins/super-cache/assets/boost-install-card-main.png differ diff --git a/projects/plugins/super-cache/assets/jetpack-colors.svg b/projects/plugins/super-cache/assets/jetpack-colors.svg index 2b4b45f483cb1..74eced3b128ec 100644 --- a/projects/plugins/super-cache/assets/jetpack-colors.svg +++ b/projects/plugins/super-cache/assets/jetpack-colors.svg @@ -1,14 +1 @@ - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/plugins/super-cache/assets/jetpack-logo.svg b/projects/plugins/super-cache/assets/jetpack-logo.svg index af8a87cb549db..4ad3e67989baf 100644 --- a/projects/plugins/super-cache/assets/jetpack-logo.svg +++ b/projects/plugins/super-cache/assets/jetpack-logo.svg @@ -1,17 +1 @@ - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/plugins/super-cache/assets/super-cache-icon.png b/projects/plugins/super-cache/assets/super-cache-icon.png index 495ed8c03405e..a8f950ead2149 100644 Binary files a/projects/plugins/super-cache/assets/super-cache-icon.png and b/projects/plugins/super-cache/assets/super-cache-icon.png differ diff --git a/projects/plugins/super-cache/changelog/try-lossless-image-optmization-part-3 b/projects/plugins/super-cache/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/plugins/super-cache/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/plugins/vaultpress/.w.org-assets/banner-1544x500.png b/projects/plugins/vaultpress/.w.org-assets/banner-1544x500.png index d55352206f5d9..c122469999123 100644 Binary files a/projects/plugins/vaultpress/.w.org-assets/banner-1544x500.png and b/projects/plugins/vaultpress/.w.org-assets/banner-1544x500.png differ diff --git a/projects/plugins/vaultpress/.w.org-assets/icon-128x128.png b/projects/plugins/vaultpress/.w.org-assets/icon-128x128.png index 325274e89ec20..449252c345c73 100644 Binary files a/projects/plugins/vaultpress/.w.org-assets/icon-128x128.png and b/projects/plugins/vaultpress/.w.org-assets/icon-128x128.png differ diff --git a/projects/plugins/vaultpress/.w.org-assets/icon-256x256.png b/projects/plugins/vaultpress/.w.org-assets/icon-256x256.png index 70c6e044d31b2..9f832af9adf6a 100644 Binary files a/projects/plugins/vaultpress/.w.org-assets/icon-256x256.png and b/projects/plugins/vaultpress/.w.org-assets/icon-256x256.png differ diff --git a/projects/plugins/vaultpress/.w.org-assets/icon.svg b/projects/plugins/vaultpress/.w.org-assets/icon.svg index 21c83aad5244b..6e6691439980e 100644 --- a/projects/plugins/vaultpress/.w.org-assets/icon.svg +++ b/projects/plugins/vaultpress/.w.org-assets/icon.svg @@ -1,20 +1 @@ - - - - Square Avatar 02 - Created with Sketch. - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/plugins/vaultpress/changelog/try-lossless-image-optmization-part-3 b/projects/plugins/vaultpress/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/plugins/vaultpress/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/plugins/vaultpress/fonts/vaultpress-regular.svg b/projects/plugins/vaultpress/fonts/vaultpress-regular.svg index 7cf2d86537bd3..52f5d1273f333 100755 --- a/projects/plugins/vaultpress/fonts/vaultpress-regular.svg +++ b/projects/plugins/vaultpress/fonts/vaultpress-regular.svg @@ -1,12 +1 @@ - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/projects/plugins/vaultpress/images/automattic.svg b/projects/plugins/vaultpress/images/automattic.svg index 312799fc8ae80..369955e7cd969 100644 --- a/projects/plugins/vaultpress/images/automattic.svg +++ b/projects/plugins/vaultpress/images/automattic.svg @@ -1,7 +1 @@ - + \ No newline at end of file diff --git a/projects/plugins/vaultpress/images/dashboard-icon-sprite-2x.png b/projects/plugins/vaultpress/images/dashboard-icon-sprite-2x.png index de1d7c3bf7be1..25527b860d0d9 100644 Binary files a/projects/plugins/vaultpress/images/dashboard-icon-sprite-2x.png and b/projects/plugins/vaultpress/images/dashboard-icon-sprite-2x.png differ diff --git a/projects/plugins/vaultpress/images/logo_plugin-notice.png b/projects/plugins/vaultpress/images/logo_plugin-notice.png index 9c9b13f40df5b..18079b65d0c11 100644 Binary files a/projects/plugins/vaultpress/images/logo_plugin-notice.png and b/projects/plugins/vaultpress/images/logo_plugin-notice.png differ diff --git a/projects/plugins/vaultpress/images/security.svg b/projects/plugins/vaultpress/images/security.svg index a790c607372ae..5bbdaa2188ac6 100644 --- a/projects/plugins/vaultpress/images/security.svg +++ b/projects/plugins/vaultpress/images/security.svg @@ -1 +1 @@ -security & backups image + \ No newline at end of file diff --git a/projects/plugins/vaultpress/images/vaultpress.svg b/projects/plugins/vaultpress/images/vaultpress.svg index cb72276adb83f..ca8e7d3249092 100644 --- a/projects/plugins/vaultpress/images/vaultpress.svg +++ b/projects/plugins/vaultpress/images/vaultpress.svg @@ -1 +1 @@ - + \ No newline at end of file diff --git a/projects/plugins/vaultpress/images/vp-icon-sprite-2x.png b/projects/plugins/vaultpress/images/vp-icon-sprite-2x.png index 36846c21b0183..f0dc0db5b528a 100644 Binary files a/projects/plugins/vaultpress/images/vp-icon-sprite-2x.png and b/projects/plugins/vaultpress/images/vp-icon-sprite-2x.png differ diff --git a/projects/plugins/vaultpress/images/vp-icon-sprite.png b/projects/plugins/vaultpress/images/vp-icon-sprite.png index e525eaecb8b76..78c717e572beb 100644 Binary files a/projects/plugins/vaultpress/images/vp-icon-sprite.png and b/projects/plugins/vaultpress/images/vp-icon-sprite.png differ diff --git a/projects/plugins/vaultpress/images/vp-toolbar-icon-trans-2x.png b/projects/plugins/vaultpress/images/vp-toolbar-icon-trans-2x.png index 0cb57e6156b82..c7455ce619f2a 100644 Binary files a/projects/plugins/vaultpress/images/vp-toolbar-icon-trans-2x.png and b/projects/plugins/vaultpress/images/vp-toolbar-icon-trans-2x.png differ diff --git a/projects/plugins/vaultpress/images/vp-toolbar-icon-trans.png b/projects/plugins/vaultpress/images/vp-toolbar-icon-trans.png index 757b0bb402b4b..8007395d4b4cb 100644 Binary files a/projects/plugins/vaultpress/images/vp-toolbar-icon-trans.png and b/projects/plugins/vaultpress/images/vp-toolbar-icon-trans.png differ diff --git a/projects/plugins/videopress/.w.org-assets/banner-1544x500.png b/projects/plugins/videopress/.w.org-assets/banner-1544x500.png index 76435009e73bc..5da9393331eeb 100644 Binary files a/projects/plugins/videopress/.w.org-assets/banner-1544x500.png and b/projects/plugins/videopress/.w.org-assets/banner-1544x500.png differ diff --git a/projects/plugins/videopress/.w.org-assets/banner-772-250.png b/projects/plugins/videopress/.w.org-assets/banner-772-250.png index d44ba36c86735..af15fb9f0fccc 100644 Binary files a/projects/plugins/videopress/.w.org-assets/banner-772-250.png and b/projects/plugins/videopress/.w.org-assets/banner-772-250.png differ diff --git a/projects/plugins/videopress/.w.org-assets/icon-128x128.png b/projects/plugins/videopress/.w.org-assets/icon-128x128.png index 30de260d48c1d..0d6da28c70d7c 100644 Binary files a/projects/plugins/videopress/.w.org-assets/icon-128x128.png and b/projects/plugins/videopress/.w.org-assets/icon-128x128.png differ diff --git a/projects/plugins/videopress/.w.org-assets/icon-256x256.png b/projects/plugins/videopress/.w.org-assets/icon-256x256.png index 8c2d7db95f3d9..bcbdf2be26279 100644 Binary files a/projects/plugins/videopress/.w.org-assets/icon-256x256.png and b/projects/plugins/videopress/.w.org-assets/icon-256x256.png differ diff --git a/projects/plugins/videopress/.w.org-assets/icon.svg b/projects/plugins/videopress/.w.org-assets/icon.svg index 512722f49f968..7fbb8b64c2239 100644 --- a/projects/plugins/videopress/.w.org-assets/icon.svg +++ b/projects/plugins/videopress/.w.org-assets/icon.svg @@ -1,14 +1 @@ - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/projects/plugins/videopress/.w.org-assets/screenshot-1.png b/projects/plugins/videopress/.w.org-assets/screenshot-1.png index 781a56383b4ae..094f3fefdb273 100644 Binary files a/projects/plugins/videopress/.w.org-assets/screenshot-1.png and b/projects/plugins/videopress/.w.org-assets/screenshot-1.png differ diff --git a/projects/plugins/videopress/.w.org-assets/screenshot-2.png b/projects/plugins/videopress/.w.org-assets/screenshot-2.png index 56c3f2e090758..0b54c4d546bab 100644 Binary files a/projects/plugins/videopress/.w.org-assets/screenshot-2.png and b/projects/plugins/videopress/.w.org-assets/screenshot-2.png differ diff --git a/projects/plugins/videopress/.w.org-assets/screenshot-3.png b/projects/plugins/videopress/.w.org-assets/screenshot-3.png index 02525710fd8f4..87732a17e5589 100644 Binary files a/projects/plugins/videopress/.w.org-assets/screenshot-3.png and b/projects/plugins/videopress/.w.org-assets/screenshot-3.png differ diff --git a/projects/plugins/videopress/.w.org-assets/screenshot-4.png b/projects/plugins/videopress/.w.org-assets/screenshot-4.png index cff1d64420b8d..9f8bc71fbfc81 100644 Binary files a/projects/plugins/videopress/.w.org-assets/screenshot-4.png and b/projects/plugins/videopress/.w.org-assets/screenshot-4.png differ diff --git a/projects/plugins/videopress/changelog/add-filter-for-filtered-order-data b/projects/plugins/videopress/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/videopress/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/videopress/changelog/try-lossless-image-optmization-part-3 b/projects/plugins/videopress/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/plugins/videopress/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/plugins/videopress/changelog/update-my-jetpack-protect-card-waf-dependency b/projects/plugins/videopress/changelog/update-my-jetpack-protect-card-waf-dependency new file mode 100644 index 0000000000000..59c80f69574e5 --- /dev/null +++ b/projects/plugins/videopress/changelog/update-my-jetpack-protect-card-waf-dependency @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update composer lock file diff --git a/projects/plugins/videopress/composer.lock b/projects/plugins/videopress/composer.lock index 8ce280a149990..2828923ed7187 100644 --- a/projects/plugins/videopress/composer.lock +++ b/projects/plugins/videopress/composer.lock @@ -1016,7 +1016,7 @@ "dist": { "type": "path", "url": "../../packages/my-jetpack", - "reference": "2c06449483ed175f949e69ba407e6e92363c3b84" + "reference": "661b9575e9a137bbfa69319abe670453181a1449" }, "require": { "automattic/jetpack-admin-ui": "@dev", @@ -1033,7 +1033,6 @@ "automattic/jetpack-redirect": "@dev", "automattic/jetpack-status": "@dev", "automattic/jetpack-sync": "@dev", - "automattic/jetpack-waf": "@dev", "php": ">=7.0" }, "require-dev": { @@ -1597,7 +1596,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1630,7 +1629,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ @@ -1745,128 +1744,6 @@ "transport-options": { "relative": true } - }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "6e2fd903a4dc024db95b51904989506f65013e0e" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "php": ">=7.0", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.18.x-dev" - } - }, - "autoload": { - "files": [ - "cli.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": [ - "ahocorasick", - "matcher" - ], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" } ], "packages-dev": [ diff --git a/projects/plugins/wpcomsh/changelog/add-filter-for-filtered-order-data b/projects/plugins/wpcomsh/changelog/add-filter-for-filtered-order-data new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/add-filter-for-filtered-order-data @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/wpcomsh/changelog/atomic-default-profile b/projects/plugins/wpcomsh/changelog/atomic-default-profile new file mode 100644 index 0000000000000..2f3bb177a6fb1 --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/atomic-default-profile @@ -0,0 +1,4 @@ +Significance: minor +Type: changed + +Site Level User Profile: expose all relevant fields on profile.php diff --git a/projects/plugins/wpcomsh/changelog/atomic-default-profile#2 b/projects/plugins/wpcomsh/changelog/atomic-default-profile#2 new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/atomic-default-profile#2 @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/wpcomsh/changelog/try-lossless-image-optmization-part-3 b/projects/plugins/wpcomsh/changelog/try-lossless-image-optmization-part-3 new file mode 100644 index 0000000000000..cf77a8b55bb43 --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/try-lossless-image-optmization-part-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Lossless image optimization for images (should improve performance with no visible changes). diff --git a/projects/plugins/wpcomsh/composer.json b/projects/plugins/wpcomsh/composer.json index 29b4419008739..3c952e5920f60 100644 --- a/projects/plugins/wpcomsh/composer.json +++ b/projects/plugins/wpcomsh/composer.json @@ -128,7 +128,7 @@ "composer/installers": true, "roots/wordpress-core-installer": true }, - "autoloader-suffix": "26841ac2064774301cbe06d174833bfc_wpcomshⓥ5_4_1_alpha" + "autoloader-suffix": "26841ac2064774301cbe06d174833bfc_wpcomshⓥ5_5_0_alpha" }, "extra": { "mirror-repo": "Automattic/wpcom-site-helper", diff --git a/projects/plugins/wpcomsh/composer.lock b/projects/plugins/wpcomsh/composer.lock index 1f2498e56c198..79de7949878d2 100644 --- a/projects/plugins/wpcomsh/composer.lock +++ b/projects/plugins/wpcomsh/composer.lock @@ -1063,7 +1063,7 @@ "dist": { "type": "path", "url": "../../packages/masterbar", - "reference": "9f21b1d7607b21df7becfcdb49002d310d891440" + "reference": "39a207e6ee97aa176b4198439f5b7e8bc911ef87" }, "require": { "automattic/jetpack-assets": "@dev", @@ -1091,7 +1091,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.6.x-dev" + "dev-trunk": "0.7.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-masterbar/compare/v${old}...v${new}" @@ -1705,7 +1705,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "1647bd686ed11800513f14aa1c93956e16a3b7f5" + "reference": "5d71e613ed54856799d620de9336ba8dfe795382" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1738,7 +1738,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.6.x-dev" + "dev-trunk": "3.7.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/wpcomsh/custom-colors/images/colors-screenshot.png b/projects/plugins/wpcomsh/custom-colors/images/colors-screenshot.png index 1b9cd67f52bf4..f95b1a74331a5 100644 Binary files a/projects/plugins/wpcomsh/custom-colors/images/colors-screenshot.png and b/projects/plugins/wpcomsh/custom-colors/images/colors-screenshot.png differ diff --git a/projects/plugins/wpcomsh/custom-colors/images/pattern-default.png b/projects/plugins/wpcomsh/custom-colors/images/pattern-default.png index ba2c7cd979aee..fb0c406a98c17 100644 Binary files a/projects/plugins/wpcomsh/custom-colors/images/pattern-default.png and b/projects/plugins/wpcomsh/custom-colors/images/pattern-default.png differ diff --git a/projects/plugins/wpcomsh/custom-colors/images/selected.png b/projects/plugins/wpcomsh/custom-colors/images/selected.png index e80cb3890f9bb..f7da30f2387b5 100644 Binary files a/projects/plugins/wpcomsh/custom-colors/images/selected.png and b/projects/plugins/wpcomsh/custom-colors/images/selected.png differ diff --git a/projects/plugins/wpcomsh/custom-colors/images/tile-horizontally.png b/projects/plugins/wpcomsh/custom-colors/images/tile-horizontally.png index 3da469d92b015..8b068186d5de8 100644 Binary files a/projects/plugins/wpcomsh/custom-colors/images/tile-horizontally.png and b/projects/plugins/wpcomsh/custom-colors/images/tile-horizontally.png differ diff --git a/projects/plugins/wpcomsh/custom-colors/images/tile-none.png b/projects/plugins/wpcomsh/custom-colors/images/tile-none.png index dd9765e9c0e7c..5e244797364a2 100644 Binary files a/projects/plugins/wpcomsh/custom-colors/images/tile-none.png and b/projects/plugins/wpcomsh/custom-colors/images/tile-none.png differ diff --git a/projects/plugins/wpcomsh/custom-colors/images/tile-vertically.png b/projects/plugins/wpcomsh/custom-colors/images/tile-vertically.png index f81c5be618ef6..d75f8626c327e 100644 Binary files a/projects/plugins/wpcomsh/custom-colors/images/tile-vertically.png and b/projects/plugins/wpcomsh/custom-colors/images/tile-vertically.png differ diff --git a/projects/plugins/wpcomsh/custom-colors/images/unavailable.png b/projects/plugins/wpcomsh/custom-colors/images/unavailable.png index 7f337485a0340..e432dda60af19 100644 Binary files a/projects/plugins/wpcomsh/custom-colors/images/unavailable.png and b/projects/plugins/wpcomsh/custom-colors/images/unavailable.png differ diff --git a/projects/plugins/wpcomsh/feature-plugins/masterbar.php b/projects/plugins/wpcomsh/feature-plugins/masterbar.php index cb6d739e42a6f..316a57600ba3e 100644 --- a/projects/plugins/wpcomsh/feature-plugins/masterbar.php +++ b/projects/plugins/wpcomsh/feature-plugins/masterbar.php @@ -108,7 +108,7 @@ function wpcomsh_admin_color_scheme_picker_disabled() { **/ function wpcomsh_hide_color_schemes() { // Do nothing if the admin interface is wp-admin. - if ( get_option( 'wpcom_admin_interface' ) === 'wp-admin' ) { + if ( get_option( 'wpcom_admin_interface' ) === 'wp-admin' || ! empty( get_option( 'wpcom_site_level_user_profile' ) ) ) { return false; } @@ -333,7 +333,7 @@ function wpcomsh_get_wpcom_admin_interface_option() { * from wp-admin going forward. */ function wpcomsh_unsync_color_schemes_on_save() { - if ( get_option( 'wpcom_admin_interface' ) !== 'wp-admin' ) { + if ( get_option( 'wpcom_admin_interface' ) !== 'wp-admin' && empty( get_option( 'wpcom_site_level_user_profile' ) ) ) { return; } diff --git a/projects/plugins/wpcomsh/frontend-notices/gifting-banner/images/gridicons-help-outline.svg b/projects/plugins/wpcomsh/frontend-notices/gifting-banner/images/gridicons-help-outline.svg index 5a7cc556d195d..4fd6794223ccb 100644 --- a/projects/plugins/wpcomsh/frontend-notices/gifting-banner/images/gridicons-help-outline.svg +++ b/projects/plugins/wpcomsh/frontend-notices/gifting-banner/images/gridicons-help-outline.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/plugins/wpcomsh/package.json b/projects/plugins/wpcomsh/package.json index 6dc4c6fd56ea2..193d5be54c834 100644 --- a/projects/plugins/wpcomsh/package.json +++ b/projects/plugins/wpcomsh/package.json @@ -3,7 +3,7 @@ "name": "@automattic/jetpack-wpcomsh", "description": "A helper for connecting WordPress.com sites to external host infrastructure.", "homepage": "https://jetpack.com", - "version": "5.4.1-alpha", + "version": "5.5.0-alpha", "bugs": { "url": "https://github.com/Automattic/jetpack/labels/[Plugin] Wpcomsh" }, diff --git a/projects/plugins/wpcomsh/wpcomsh.php b/projects/plugins/wpcomsh/wpcomsh.php index 032216a833ad1..8f864f446e661 100644 --- a/projects/plugins/wpcomsh/wpcomsh.php +++ b/projects/plugins/wpcomsh/wpcomsh.php @@ -2,14 +2,14 @@ /** * Plugin Name: WordPress.com Site Helper * Description: A helper for connecting WordPress.com sites to external host infrastructure. - * Version: 5.4.1-alpha + * Version: 5.5.0-alpha * Author: Automattic * Author URI: http://automattic.com/ * * @package wpcomsh */ -define( 'WPCOMSH_VERSION', '5.4.1-alpha' ); +define( 'WPCOMSH_VERSION', '5.5.0-alpha' ); // If true, Typekit fonts will be available in addition to Google fonts add_filter( 'jetpack_fonts_enable_typekit', '__return_true' );