Changeset 3238118
- Timestamp:
- 02/10/2025 06:32:31 PM (10 months ago)
- Location:
- google-site-kit
- Files:
-
- 100 added
- 96 deleted
- 24 edited
- 1 copied
-
tags/1.146.0 (copied) (copied from google-site-kit/trunk)
-
tags/1.146.0/dist/assets/css/googlesitekit-admin-css-0167cbd9e2a4e951c2c2.min.css (deleted)
-
tags/1.146.0/dist/assets/css/googlesitekit-admin-css-1a1b3dd6836e74847e00.min.css (added)
-
tags/1.146.0/dist/assets/js/33-aea26aaf32eda28b5b03.js (added)
-
tags/1.146.0/dist/assets/js/33-cb81424f70352173937d.js (deleted)
-
tags/1.146.0/dist/assets/js/34-965775fce6fa9e3670cf.js (deleted)
-
tags/1.146.0/dist/assets/js/34-c8e37ae42d451696b8b7.js (added)
-
tags/1.146.0/dist/assets/js/35-153ac97e5e5caf4acf51.js (deleted)
-
tags/1.146.0/dist/assets/js/35-f5127b73ed0693fc91a5.js (added)
-
tags/1.146.0/dist/assets/js/36-a4d4f2adc3b533f252a8.js (deleted)
-
tags/1.146.0/dist/assets/js/36-e7a6de830eea07d009af.js (added)
-
tags/1.146.0/dist/assets/js/37-19b401e9a1e883d25fdb.js (added)
-
tags/1.146.0/dist/assets/js/37-718cef57fa7d90296b51.js (deleted)
-
tags/1.146.0/dist/assets/js/38-61d72bb83fa9d81c52d0.js (added)
-
tags/1.146.0/dist/assets/js/38-942fe4fbb20a18012159.js (deleted)
-
tags/1.146.0/dist/assets/js/39-3b8a9e15e996253cae30.js (added)
-
tags/1.146.0/dist/assets/js/39-b5ca1b280e8846039515.js (deleted)
-
tags/1.146.0/dist/assets/js/40-950b80c126fcb029b477.js (deleted)
-
tags/1.146.0/dist/assets/js/40-97373ec8cb29426a5082.js (added)
-
tags/1.146.0/dist/assets/js/41-c84e4fe5b232dcceae09.js (deleted)
-
tags/1.146.0/dist/assets/js/41-d98585dc8a1a6d27b38d.js (added)
-
tags/1.146.0/dist/assets/js/42-15292e65ed66384e4c3f.js (added)
-
tags/1.146.0/dist/assets/js/42-69ebbca9a74beb868455.js (deleted)
-
tags/1.146.0/dist/assets/js/43-5ff78007cd0d8239997a.js (deleted)
-
tags/1.146.0/dist/assets/js/43-8c7878a4639b343b6ce6.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-activation-0ff4bb4905875a3af96d.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-activation-859303eb6e15c09c3a50.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-ad-blocking-recovery-1bc5a979d40644f428b9.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-ad-blocking-recovery-ff4f4fe3cc2fc49e0dda.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-adminbar-3eb079e3b867b0628d63.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-adminbar-9ee6cdb0be43ea55ded4.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-api-56127018cb7e490cef83.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-api-9f1616f40adbca43e6b8.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-components-gm2-7945eb0cdbd7dc3a89c2.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-components-gm2-cd1b1b91f7b0b537fb1c.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-components-gm3-8508ed7feed06dfd7cea.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-components-gm3-f995cfcb85091ab1e560.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-data-0a0301705fe2a7e3ea13.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-data-590b288a64d1660dbc11.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-forms-38cfea41da192d1bc108.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-forms-c2f63f0c0adfa5c1bb08.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-location-2a54fd2f0e87dc2c9475.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-location-4bd0ca7dbf15fff9fb97.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-site-dc7146f24a9f4d40e709.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-site-f7b7542d42fef36c823b.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-ui-1bf7f3343b392b9d3d36.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-ui-7db934d367461124f5b8.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-user-1542da3bbef03cd01780.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-datastore-user-7de58a4f6164bf6e0b50.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-entity-dashboard-41ce7126b0d8da211ca8.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-entity-dashboard-b0eeab16b25065093d82.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-main-dashboard-4da8f8cf7c833e75c20b.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-main-dashboard-a4bcd8e2d49c8c193c4e.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-metric-selection-3ee8a23dcaf39401f05a.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-metric-selection-70ed1134dac53010fa40.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-1a2ef4f5ec6f6f1b060c.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-3149aa67bd387f1e1ecc.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-ads-23c0496d89342f02d84d.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-ads-eda91d5656699d965a11.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-adsense-4c9f3e82ede5101a7eec.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-adsense-60e0039459ccbf52f2dc.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-analytics-4-481b89c2cd44559a7bb4.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-analytics-4-e7215bb257eaff98a241.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-pagespeed-insights-682896da4133e08c66ab.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-pagespeed-insights-7e61c64f50cba689589c.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-reader-revenue-manager-7ec25dde6792354d0eba.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-reader-revenue-manager-c83637e628e0caaef7d4.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-search-console-1c6864fceeeff7358e12.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-search-console-ee6b9d229e6d6c34c65c.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-sign-in-with-google-0c7629ea71e0e833b0c2.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-sign-in-with-google-ee4e9dd0a0285290e10e.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-tagmanager-b2f7e90981d1eabf1a0c.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-modules-tagmanager-c8b6022c7b86c9ad9742.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-notifications-576ef786c988dd3d308a.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-notifications-b81ae6975e8afcf98876.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-polyfills-37387dc58c34dd8ec319.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-polyfills-48e8493ea0e91c0facb6.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-settings-0c4ffef12bd5de9a413b.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-settings-f0011b69cd7c80cd340a.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-splash-0e6568b993910dcbfb85.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-splash-e5aa53e206c5c1ddcc14.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-user-input-4af8721f3482ada06493.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-user-input-77dfa9da5c9848070722.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-vendor-0e5fcb2614a2df8b4141.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-vendor-55f6d4109c59b75ef2bd.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-widgets-9f86e66067a4d5d6be4f.js (deleted)
-
tags/1.146.0/dist/assets/js/googlesitekit-widgets-c8a23c2f9e2b270ac4c9.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-wp-dashboard-80711a59677604d769b2.js (added)
-
tags/1.146.0/dist/assets/js/googlesitekit-wp-dashboard-c774dda1d72e62c09f79.js (deleted)
-
tags/1.146.0/dist/assets/js/runtime-7900ebf0cb27fa989ac7.js (deleted)
-
tags/1.146.0/dist/assets/js/runtime-cafb5a04ad2af33b7709.js (added)
-
tags/1.146.0/dist/manifest.php (modified) (1 diff)
-
tags/1.146.0/google-site-kit.php (modified) (2 diffs)
-
tags/1.146.0/includes/Core/Storage/Meta_Interface.php (added)
-
tags/1.146.0/includes/Core/Storage/Meta_Setting_Trait.php (added)
-
tags/1.146.0/includes/Core/Storage/Post_Meta.php (modified) (1 diff)
-
tags/1.146.0/includes/Core/Storage/Post_Meta_Interface.php (deleted)
-
tags/1.146.0/includes/Core/Storage/Post_Meta_Setting.php (deleted)
-
tags/1.146.0/includes/Core/Storage/Term_Meta.php (added)
-
tags/1.146.0/includes/Core/Tags/First_Party_Mode/First_Party_Mode.php (modified) (1 diff)
-
tags/1.146.0/includes/Core/Util/Reset.php (modified) (3 diffs)
-
tags/1.146.0/includes/Modules/Reader_Revenue_Manager.php (modified) (4 diffs)
-
tags/1.146.0/includes/Modules/Reader_Revenue_Manager/Post_Product_ID.php (modified) (4 diffs)
-
tags/1.146.0/includes/Modules/Reader_Revenue_Manager/Synchronize_OnboardingState.php (deleted)
-
tags/1.146.0/includes/Modules/Reader_Revenue_Manager/Synchronize_Publication.php (added)
-
tags/1.146.0/includes/Modules/Reader_Revenue_Manager/Term_Product_ID.php (added)
-
tags/1.146.0/includes/Modules/Sign_In_With_Google.php (modified) (11 diffs)
-
tags/1.146.0/includes/Modules/Sign_In_With_Google/Authenticator.php (modified) (2 diffs)
-
tags/1.146.0/includes/Modules/Sign_In_With_Google/WooCommerce_Authenticator.php (modified) (2 diffs)
-
tags/1.146.0/includes/vendor/composer/autoload_classmap.php (modified) (3 diffs)
-
tags/1.146.0/readme.txt (modified) (2 diffs)
-
trunk/dist/assets/css/googlesitekit-admin-css-0167cbd9e2a4e951c2c2.min.css (deleted)
-
trunk/dist/assets/css/googlesitekit-admin-css-1a1b3dd6836e74847e00.min.css (added)
-
trunk/dist/assets/js/33-aea26aaf32eda28b5b03.js (added)
-
trunk/dist/assets/js/33-cb81424f70352173937d.js (deleted)
-
trunk/dist/assets/js/34-965775fce6fa9e3670cf.js (deleted)
-
trunk/dist/assets/js/34-c8e37ae42d451696b8b7.js (added)
-
trunk/dist/assets/js/35-153ac97e5e5caf4acf51.js (deleted)
-
trunk/dist/assets/js/35-f5127b73ed0693fc91a5.js (added)
-
trunk/dist/assets/js/36-a4d4f2adc3b533f252a8.js (deleted)
-
trunk/dist/assets/js/36-e7a6de830eea07d009af.js (added)
-
trunk/dist/assets/js/37-19b401e9a1e883d25fdb.js (added)
-
trunk/dist/assets/js/37-718cef57fa7d90296b51.js (deleted)
-
trunk/dist/assets/js/38-61d72bb83fa9d81c52d0.js (added)
-
trunk/dist/assets/js/38-942fe4fbb20a18012159.js (deleted)
-
trunk/dist/assets/js/39-3b8a9e15e996253cae30.js (added)
-
trunk/dist/assets/js/39-b5ca1b280e8846039515.js (deleted)
-
trunk/dist/assets/js/40-950b80c126fcb029b477.js (deleted)
-
trunk/dist/assets/js/40-97373ec8cb29426a5082.js (added)
-
trunk/dist/assets/js/41-c84e4fe5b232dcceae09.js (deleted)
-
trunk/dist/assets/js/41-d98585dc8a1a6d27b38d.js (added)
-
trunk/dist/assets/js/42-15292e65ed66384e4c3f.js (added)
-
trunk/dist/assets/js/42-69ebbca9a74beb868455.js (deleted)
-
trunk/dist/assets/js/43-5ff78007cd0d8239997a.js (deleted)
-
trunk/dist/assets/js/43-8c7878a4639b343b6ce6.js (added)
-
trunk/dist/assets/js/googlesitekit-activation-0ff4bb4905875a3af96d.js (deleted)
-
trunk/dist/assets/js/googlesitekit-activation-859303eb6e15c09c3a50.js (added)
-
trunk/dist/assets/js/googlesitekit-ad-blocking-recovery-1bc5a979d40644f428b9.js (deleted)
-
trunk/dist/assets/js/googlesitekit-ad-blocking-recovery-ff4f4fe3cc2fc49e0dda.js (added)
-
trunk/dist/assets/js/googlesitekit-adminbar-3eb079e3b867b0628d63.js (deleted)
-
trunk/dist/assets/js/googlesitekit-adminbar-9ee6cdb0be43ea55ded4.js (added)
-
trunk/dist/assets/js/googlesitekit-api-56127018cb7e490cef83.js (deleted)
-
trunk/dist/assets/js/googlesitekit-api-9f1616f40adbca43e6b8.js (added)
-
trunk/dist/assets/js/googlesitekit-components-gm2-7945eb0cdbd7dc3a89c2.js (added)
-
trunk/dist/assets/js/googlesitekit-components-gm2-cd1b1b91f7b0b537fb1c.js (deleted)
-
trunk/dist/assets/js/googlesitekit-components-gm3-8508ed7feed06dfd7cea.js (deleted)
-
trunk/dist/assets/js/googlesitekit-components-gm3-f995cfcb85091ab1e560.js (added)
-
trunk/dist/assets/js/googlesitekit-data-0a0301705fe2a7e3ea13.js (deleted)
-
trunk/dist/assets/js/googlesitekit-data-590b288a64d1660dbc11.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-forms-38cfea41da192d1bc108.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-forms-c2f63f0c0adfa5c1bb08.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-location-2a54fd2f0e87dc2c9475.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-location-4bd0ca7dbf15fff9fb97.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-site-dc7146f24a9f4d40e709.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-site-f7b7542d42fef36c823b.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-ui-1bf7f3343b392b9d3d36.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-ui-7db934d367461124f5b8.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-user-1542da3bbef03cd01780.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-user-7de58a4f6164bf6e0b50.js (deleted)
-
trunk/dist/assets/js/googlesitekit-entity-dashboard-41ce7126b0d8da211ca8.js (deleted)
-
trunk/dist/assets/js/googlesitekit-entity-dashboard-b0eeab16b25065093d82.js (added)
-
trunk/dist/assets/js/googlesitekit-main-dashboard-4da8f8cf7c833e75c20b.js (deleted)
-
trunk/dist/assets/js/googlesitekit-main-dashboard-a4bcd8e2d49c8c193c4e.js (added)
-
trunk/dist/assets/js/googlesitekit-metric-selection-3ee8a23dcaf39401f05a.js (deleted)
-
trunk/dist/assets/js/googlesitekit-metric-selection-70ed1134dac53010fa40.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-1a2ef4f5ec6f6f1b060c.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-3149aa67bd387f1e1ecc.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-ads-23c0496d89342f02d84d.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-ads-eda91d5656699d965a11.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-adsense-4c9f3e82ede5101a7eec.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-adsense-60e0039459ccbf52f2dc.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-analytics-4-481b89c2cd44559a7bb4.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-analytics-4-e7215bb257eaff98a241.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-pagespeed-insights-682896da4133e08c66ab.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-pagespeed-insights-7e61c64f50cba689589c.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-reader-revenue-manager-7ec25dde6792354d0eba.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-reader-revenue-manager-c83637e628e0caaef7d4.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-search-console-1c6864fceeeff7358e12.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-search-console-ee6b9d229e6d6c34c65c.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-sign-in-with-google-0c7629ea71e0e833b0c2.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-sign-in-with-google-ee4e9dd0a0285290e10e.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-tagmanager-b2f7e90981d1eabf1a0c.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-tagmanager-c8b6022c7b86c9ad9742.js (added)
-
trunk/dist/assets/js/googlesitekit-notifications-576ef786c988dd3d308a.js (deleted)
-
trunk/dist/assets/js/googlesitekit-notifications-b81ae6975e8afcf98876.js (added)
-
trunk/dist/assets/js/googlesitekit-polyfills-37387dc58c34dd8ec319.js (deleted)
-
trunk/dist/assets/js/googlesitekit-polyfills-48e8493ea0e91c0facb6.js (added)
-
trunk/dist/assets/js/googlesitekit-settings-0c4ffef12bd5de9a413b.js (added)
-
trunk/dist/assets/js/googlesitekit-settings-f0011b69cd7c80cd340a.js (deleted)
-
trunk/dist/assets/js/googlesitekit-splash-0e6568b993910dcbfb85.js (deleted)
-
trunk/dist/assets/js/googlesitekit-splash-e5aa53e206c5c1ddcc14.js (added)
-
trunk/dist/assets/js/googlesitekit-user-input-4af8721f3482ada06493.js (added)
-
trunk/dist/assets/js/googlesitekit-user-input-77dfa9da5c9848070722.js (deleted)
-
trunk/dist/assets/js/googlesitekit-vendor-0e5fcb2614a2df8b4141.js (deleted)
-
trunk/dist/assets/js/googlesitekit-vendor-55f6d4109c59b75ef2bd.js (added)
-
trunk/dist/assets/js/googlesitekit-widgets-9f86e66067a4d5d6be4f.js (deleted)
-
trunk/dist/assets/js/googlesitekit-widgets-c8a23c2f9e2b270ac4c9.js (added)
-
trunk/dist/assets/js/googlesitekit-wp-dashboard-80711a59677604d769b2.js (added)
-
trunk/dist/assets/js/googlesitekit-wp-dashboard-c774dda1d72e62c09f79.js (deleted)
-
trunk/dist/assets/js/runtime-7900ebf0cb27fa989ac7.js (deleted)
-
trunk/dist/assets/js/runtime-cafb5a04ad2af33b7709.js (added)
-
trunk/dist/manifest.php (modified) (1 diff)
-
trunk/google-site-kit.php (modified) (2 diffs)
-
trunk/includes/Core/Storage/Meta_Interface.php (added)
-
trunk/includes/Core/Storage/Meta_Setting_Trait.php (added)
-
trunk/includes/Core/Storage/Post_Meta.php (modified) (1 diff)
-
trunk/includes/Core/Storage/Post_Meta_Interface.php (deleted)
-
trunk/includes/Core/Storage/Post_Meta_Setting.php (deleted)
-
trunk/includes/Core/Storage/Term_Meta.php (added)
-
trunk/includes/Core/Tags/First_Party_Mode/First_Party_Mode.php (modified) (1 diff)
-
trunk/includes/Core/Util/Reset.php (modified) (3 diffs)
-
trunk/includes/Modules/Reader_Revenue_Manager.php (modified) (4 diffs)
-
trunk/includes/Modules/Reader_Revenue_Manager/Post_Product_ID.php (modified) (4 diffs)
-
trunk/includes/Modules/Reader_Revenue_Manager/Synchronize_OnboardingState.php (deleted)
-
trunk/includes/Modules/Reader_Revenue_Manager/Synchronize_Publication.php (added)
-
trunk/includes/Modules/Reader_Revenue_Manager/Term_Product_ID.php (added)
-
trunk/includes/Modules/Sign_In_With_Google.php (modified) (11 diffs)
-
trunk/includes/Modules/Sign_In_With_Google/Authenticator.php (modified) (2 diffs)
-
trunk/includes/Modules/Sign_In_With_Google/WooCommerce_Authenticator.php (modified) (2 diffs)
-
trunk/includes/vendor/composer/autoload_classmap.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
google-site-kit/tags/1.146.0/dist/manifest.php
r3229883 r3238118 20 20 'analytics-advanced-tracking' => array( "analytics-advanced-tracking-ea84b2c367b69f5c094b.js", null ), 21 21 'googlesitekit-i18n' => array( "googlesitekit-i18n-33cdd2dee5d1d1f4fb34.js", null ), 22 'googlesitekit-admin-css' => array( "googlesitekit-admin-css- 0167cbd9e2a4e951c2c2.min.css", null ),22 'googlesitekit-admin-css' => array( "googlesitekit-admin-css-1a1b3dd6836e74847e00.min.css", null ), 23 23 'googlesitekit-adminbar-css' => array( "googlesitekit-adminbar-css-281d66e21d2b87430998.min.css", null ), 24 24 'googlesitekit-authorize-application-css' => array( "googlesitekit-authorize-application-css-ce25e97404abc5a02921.min.css", null ), 25 25 'googlesitekit-wp-dashboard-css' => array( "googlesitekit-wp-dashboard-css-55d9d8bb13cf249a2389.min.css", null ), 26 'googlesitekit-vendor' => array( "googlesitekit-vendor- 0e5fcb2614a2df8b4141.js", null ),27 'googlesitekit-runtime' => array( "runtime- 7900ebf0cb27fa989ac7.js", null ),28 'googlesitekit-activation' => array( "googlesitekit-activation- 0ff4bb4905875a3af96d.js", null ),29 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery- 1bc5a979d40644f428b9.js", null ),30 'googlesitekit-adminbar' => array( "googlesitekit-adminbar- 3eb079e3b867b0628d63.js", null ),31 'googlesitekit-api' => array( "googlesitekit-api- 56127018cb7e490cef83.js", null ),32 'googlesitekit-components' => array( array( "googlesitekit-components-gm2- cd1b1b91f7b0b537fb1c.js", null ), array( "googlesitekit-components-gm3-8508ed7feed06dfd7cea.js", null ) ),33 'googlesitekit-data' => array( "googlesitekit-data- 0a0301705fe2a7e3ea13.js", null ),34 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms- 38cfea41da192d1bc108.js", null ),35 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location- 2a54fd2f0e87dc2c9475.js", null ),36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site- f7b7542d42fef36c823b.js", null ),37 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui- 1bf7f3343b392b9d3d36.js", null ),38 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user- 7de58a4f6164bf6e0b50.js", null ),39 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard- 41ce7126b0d8da211ca8.js", null ),40 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard- 4da8f8cf7c833e75c20b.js", null ),41 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection- 3ee8a23dcaf39401f05a.js", null ),42 'googlesitekit-modules' => array( "googlesitekit-modules- 3149aa67bd387f1e1ecc.js", null ),43 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads- eda91d5656699d965a11.js", null ),44 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense- 60e0039459ccbf52f2dc.js", null ),45 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4- e7215bb257eaff98a241.js", null ),46 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights- 7e61c64f50cba689589c.js", null ),47 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager- c83637e628e0caaef7d4.js", null ),48 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console- ee6b9d229e6d6c34c65c.js", null ),49 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google- ee4e9dd0a0285290e10e.js", null ),50 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager- b2f7e90981d1eabf1a0c.js", null ),51 'googlesitekit-notifications' => array( "googlesitekit-notifications- 576ef786c988dd3d308a.js", null ),52 'googlesitekit-polyfills' => array( "googlesitekit-polyfills- 37387dc58c34dd8ec319.js", null ),53 'googlesitekit-settings' => array( "googlesitekit-settings- f0011b69cd7c80cd340a.js", null ),54 'googlesitekit-splash' => array( "googlesitekit-splash- 0e6568b993910dcbfb85.js", null ),55 'googlesitekit-user-input' => array( "googlesitekit-user-input- 77dfa9da5c9848070722.js", null ),56 'googlesitekit-widgets' => array( "googlesitekit-widgets- 9f86e66067a4d5d6be4f.js", null ),57 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard- c774dda1d72e62c09f79.js", null ),26 'googlesitekit-vendor' => array( "googlesitekit-vendor-55f6d4109c59b75ef2bd.js", null ), 27 'googlesitekit-runtime' => array( "runtime-cafb5a04ad2af33b7709.js", null ), 28 'googlesitekit-activation' => array( "googlesitekit-activation-859303eb6e15c09c3a50.js", null ), 29 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery-ff4f4fe3cc2fc49e0dda.js", null ), 30 'googlesitekit-adminbar' => array( "googlesitekit-adminbar-9ee6cdb0be43ea55ded4.js", null ), 31 'googlesitekit-api' => array( "googlesitekit-api-9f1616f40adbca43e6b8.js", null ), 32 'googlesitekit-components' => array( array( "googlesitekit-components-gm2-7945eb0cdbd7dc3a89c2.js", null ), array( "googlesitekit-components-gm3-f995cfcb85091ab1e560.js", null ) ), 33 'googlesitekit-data' => array( "googlesitekit-data-590b288a64d1660dbc11.js", null ), 34 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms-c2f63f0c0adfa5c1bb08.js", null ), 35 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location-4bd0ca7dbf15fff9fb97.js", null ), 36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site-dc7146f24a9f4d40e709.js", null ), 37 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui-7db934d367461124f5b8.js", null ), 38 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user-1542da3bbef03cd01780.js", null ), 39 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard-b0eeab16b25065093d82.js", null ), 40 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard-a4bcd8e2d49c8c193c4e.js", null ), 41 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection-70ed1134dac53010fa40.js", null ), 42 'googlesitekit-modules' => array( "googlesitekit-modules-1a2ef4f5ec6f6f1b060c.js", null ), 43 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads-23c0496d89342f02d84d.js", null ), 44 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense-4c9f3e82ede5101a7eec.js", null ), 45 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4-481b89c2cd44559a7bb4.js", null ), 46 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights-682896da4133e08c66ab.js", null ), 47 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager-7ec25dde6792354d0eba.js", null ), 48 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console-1c6864fceeeff7358e12.js", null ), 49 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google-0c7629ea71e0e833b0c2.js", null ), 50 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager-c8b6022c7b86c9ad9742.js", null ), 51 'googlesitekit-notifications' => array( "googlesitekit-notifications-b81ae6975e8afcf98876.js", null ), 52 'googlesitekit-polyfills' => array( "googlesitekit-polyfills-48e8493ea0e91c0facb6.js", null ), 53 'googlesitekit-settings' => array( "googlesitekit-settings-0c4ffef12bd5de9a413b.js", null ), 54 'googlesitekit-splash' => array( "googlesitekit-splash-e5aa53e206c5c1ddcc14.js", null ), 55 'googlesitekit-user-input' => array( "googlesitekit-user-input-4af8721f3482ada06493.js", null ), 56 'googlesitekit-widgets' => array( "googlesitekit-widgets-c8a23c2f9e2b270ac4c9.js", null ), 57 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard-80711a59677604d769b2.js", null ), 58 58 ); -
google-site-kit/tags/1.146.0/google-site-kit.php
r3229883 r3238118 12 12 * Plugin URI: https://sitekit.withgoogle.com 13 13 * Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web. 14 * Version: 1.14 5.014 * Version: 1.146.0 15 15 * Requires at least: 5.2 16 16 * Requires PHP: 7.4 … … 27 27 28 28 // Define most essential constants. 29 define( 'GOOGLESITEKIT_VERSION', '1.14 5.0' );29 define( 'GOOGLESITEKIT_VERSION', '1.146.0' ); 30 30 define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); 31 31 define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' ); -
google-site-kit/tags/1.146.0/includes/Core/Storage/Post_Meta.php
r3118692 r3238118 18 18 * @ignore 19 19 */ 20 final class Post_Meta implements Post_Meta_Interface {20 final class Post_Meta implements Meta_Interface { 21 21 22 22 /** -
google-site-kit/tags/1.146.0/includes/Core/Tags/First_Party_Mode/First_Party_Mode.php
r3229883 r3238118 137 137 return array( 138 138 'first_party_mode_is_enabled' => array( 139 'label' => __( 'First-party mode : Enabled', 'google-site-kit' ),140 'value' => $this->health_check_debug_field_value( $settings['isEnabled']),139 'label' => __( 'First-party mode', 'google-site-kit' ), 140 'value' => ( true === $settings['isEnabled'] ) ? __( 'Enabled', 'google-site-kit' ) : __( 'Disabled', 'google-site-kit' ), 141 141 'debug' => $this->health_check_debug_field_debug( $settings['isEnabled'] ), 142 142 ), -
google-site-kit/tags/1.146.0/includes/Core/Util/Reset.php
r3118692 r3238118 113 113 $this->delete_user_options( 'site' ); 114 114 $this->delete_post_meta( 'site' ); 115 $this->delete_term_meta( 'site' ); 115 116 116 117 if ( $this->context->is_network_mode() ) { … … 118 119 $this->delete_user_options( 'network' ); 119 120 $this->delete_post_meta( 'network' ); 121 $this->delete_term_meta( 'network' ); 120 122 } 121 123 … … 221 223 222 224 /** 225 * Deletes all Site Kit term meta settings. 226 * 227 * @since 1.146.0 228 * 229 * @param string $scope Scope of the deletion ('site' or 'network'). 230 */ 231 private function delete_term_meta( $scope ) { 232 global $wpdb; 233 234 $sites = array(); 235 if ( 'network' === $scope ) { 236 $sites = get_sites( 237 array( 238 'fields' => 'ids', 239 'number' => 9999999, 240 ) 241 ); 242 } else { 243 $sites[] = get_current_blog_id(); 244 } 245 246 foreach ( $sites as $site_id ) { 247 $prefix = $wpdb->get_blog_prefix( $site_id ); 248 249 // phpcs:ignore WordPress.DB.DirectDatabaseQuery 250 $wpdb->query( 251 $wpdb->prepare( 252 "DELETE FROM {$prefix}termmeta WHERE `meta_key` LIKE %s", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared 253 static::KEY_PATTERN 254 ) 255 ); 256 } 257 } 258 259 /** 223 260 * Gets related REST routes. 224 261 * -
google-site-kit/tags/1.146.0/includes/Modules/Reader_Revenue_Manager.php
r3229883 r3238118 33 33 use Google\Site_Kit\Core\Site_Health\Debug_Data; 34 34 use Google\Site_Kit\Core\Storage\Post_Meta; 35 use Google\Site_Kit\Core\Storage\Term_Meta; 35 36 use Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard; 36 37 use Google\Site_Kit\Core\Tags\Guards\Tag_Verify_Guard; … … 38 39 use Google\Site_Kit\Core\Util\URL; 39 40 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Post_Product_ID; 41 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Term_Product_ID; 40 42 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Settings; 41 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Synchronize_ OnboardingState;43 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Synchronize_Publication; 42 44 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Tag_Guard; 43 45 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Tag_Matchers; … … 74 76 $this->register_scopes_hook(); 75 77 76 $synchronize_ onboarding_state = new Synchronize_OnboardingState(78 $synchronize_publication = new Synchronize_Publication( 77 79 $this, 78 80 $this->user_options 79 81 ); 80 $synchronize_ onboarding_state->register();82 $synchronize_publication->register(); 81 83 82 84 if ( Feature_Flags::enabled( 'rrmModuleV2' ) && $this->is_connected() ) { … … 85 87 $post_product_id = new Post_Product_ID( $post_meta, $publication_id ); 86 88 $post_product_id->register(); 87 } 88 89 add_action( 'load-toplevel_page_googlesitekit-dashboard', array( $synchronize_onboarding_state, 'maybe_schedule_synchronize_onboarding_state' ) ); 90 add_action( 'load-toplevel_page_googlesitekit-settings', array( $synchronize_onboarding_state, 'maybe_schedule_synchronize_onboarding_state' ) ); 89 90 $term_meta = new Term_Meta(); 91 $term_product_id = new Term_Product_ID( $term_meta, $publication_id ); 92 $term_product_id->register(); 93 } 94 95 add_action( 'load-toplevel_page_googlesitekit-dashboard', array( $synchronize_publication, 'maybe_schedule_synchronize_publication' ) ); 96 add_action( 'load-toplevel_page_googlesitekit-settings', array( $synchronize_publication, 'maybe_schedule_synchronize_publication' ) ); 91 97 92 98 // Reader Revenue Manager tag placement logic. -
google-site-kit/tags/1.146.0/includes/Modules/Reader_Revenue_Manager/Post_Product_ID.php
r3229883 r3238118 12 12 13 13 use Google\Site_Kit\Core\Storage\Post_Meta; 14 use Google\Site_Kit\Core\Storage\ Post_Meta_Setting;14 use Google\Site_Kit\Core\Storage\Meta_Setting_Trait; 15 15 16 16 /** … … 21 21 * @ignore 22 22 */ 23 class Post_Product_ID extends Post_Meta_Setting { 23 class Post_Product_ID { 24 25 use Meta_Setting_Trait; 26 24 27 /** 25 28 * Publication ID. … … 40 43 */ 41 44 public function __construct( Post_Meta $post_meta, string $publication_id ) { 42 parent::__construct( $post_meta ); 43 45 $this->meta = $post_meta; 44 46 $this->publication_id = $publication_id; 45 47 } … … 57 59 58 60 /** 61 * Returns the object type. 62 * 63 * @since 1.146.0 64 * 65 * @return string Object type. 66 */ 67 protected function get_object_type(): string { 68 return 'post'; 69 } 70 71 /** 59 72 * Gets the `show_in_rest` value for this postmeta setting value. 60 73 * -
google-site-kit/tags/1.146.0/includes/Modules/Sign_In_With_Google.php
r3229883 r3238118 82 82 83 83 /** 84 * WooCommerce instance. 85 * 86 * @since 1.146.0 87 * @var WooCommerce 88 */ 89 protected $woocommerce; 90 91 /** 84 92 * Constructor. 85 93 * … … 101 109 parent::__construct( $context, $options, $user_options, $authentication, $assets ); 102 110 $this->existing_client_id = new Existing_Client_ID( $this->options ); 111 $this->woocommerce = new WooCommerce( $this->context ); 103 112 } 104 113 … … 112 121 add_filter( 'wp_login_errors', array( $this, 'handle_login_errors' ) ); 113 122 114 add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_ existing_client_id' ), 10 );123 add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_module_data' ), 10 ); 115 124 116 125 add_action( … … 309 318 310 319 /** 311 * Renders the Sign in with Google JS script tags, One -tap code, and320 * Renders the Sign in with Google JS script tags, One Tap code, and 312 321 * buttons. 313 322 * … … 329 338 330 339 // If this is not the WordPress or WooCommerce login page, check to 331 // see if "One -tap enabled on all pages" is set first. If it isnt:340 // see if "One Tap enabled on all pages" is set first. If it isnt: 332 341 // don't render the Sign in with Google JS. 333 342 if ( ! $is_wp_login && ! $is_woocommerce_login && ! $settings['oneTapOnAllPages'] ) { … … 353 362 // Whether buttons will be rendered/transformed on this page. 354 363 $render_buttons = $is_wp_login || $is_woocommerce_login; 364 $render_one_tap = ! empty( $settings['oneTapEnabled'] ) && ( $is_wp_login || ! is_user_logged_in() ); 365 366 // If we aren't rendering buttons or One-tap, return early. 367 if ( ! $render_buttons && ! $render_one_tap ) { 368 return; 369 } 370 371 // Set the cookie time to live to 5 minutes. If the redirect_to is empty, 372 // set the cookie to expire immediately. 373 $cookie_expire_time = 300000; 374 if ( empty( $redirect_to ) ) { 375 $cookie_expire_time *= -1; 376 } 355 377 356 378 // Render the Sign in with Google script. … … 369 391 body: new URLSearchParams( response ) 370 392 } ); 371 if ( res.ok && res.redirected ) { 372 location.assign( res.url ); 373 } 393 394 <?php if ( empty( $redirect_to ) && ! $render_buttons && $render_one_tap ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 395 location.reload(); 396 <?php else : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 397 if ( res.ok && res.redirected ) { 398 location.assign( res.url ); 399 } 400 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 374 401 } catch( error ) { 375 402 console.error( error ); … … 391 418 392 419 <?php if ( $is_woocommerce_login ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 393 for ( const login of document.getElementsByClassName( 'login' ) ) { 394 login.insertBefore( parent, login.firstChild ); 420 parent.classList.add( 'woocommerce-form-row', 'form-row' ); 421 const form = document.querySelector( '.woocommerce-form.login' ); 422 if ( form ) { 423 form.insertBefore( parent, form.firstChild ); 395 424 } 396 425 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 397 426 398 427 google.accounts.id.renderButton( parent, <?php echo wp_json_encode( $btn_args ); ?> ); 399 400 <?php if ( ! empty( $redirect_to ) ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?>401 const expires = new Date();402 expires.setTime( expires.getTime() + 300000 );<?php // 5 minutes ?>403 document.cookie = "<?php echo esc_js( Authenticator::COOKIE_REDIRECT_TO ); ?>=<?php echo esc_js( $redirect_to ); ?>;expires=" + expires.toUTCString() + ";path=<?php echo esc_js( Authenticator::get_cookie_path() ); ?>";404 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?>405 428 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 406 429 407 <?php if ( ! empty( $settings['oneTapEnabled'] ) && ( $is_wp_login || ! is_user_logged_in() )) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?>430 <?php if ( $render_one_tap ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 408 431 google.accounts.id.prompt(); 432 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 433 434 <?php if ( ! empty( $redirect_to ) ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 435 const expires = new Date(); 436 expires.setTime( expires.getTime() + <?php echo esc_js( $cookie_expire_time ); ?> ); 437 document.cookie = "<?php echo esc_js( Authenticator::COOKIE_REDIRECT_TO ); ?>=<?php echo esc_js( $redirect_to ); ?>;expires=" + expires.toUTCString() + ";path=<?php echo esc_js( Authenticator::get_cookie_path() ); ?>"; 409 438 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 410 439 } )(); … … 480 509 'sign_in_with_google_use_snippet' => array( 481 510 /* translators: %s: Sign in with Google service name */ 482 'label' => sprintf( __( '%s: One -tap Enabled', 'google-site-kit' ), _x( 'Sign in with Google', 'Service name', 'google-site-kit' ) ),511 'label' => sprintf( __( '%s: One Tap Enabled', 'google-site-kit' ), _x( 'Sign in with Google', 'Service name', 'google-site-kit' ) ), 483 512 'value' => $settings['oneTapEnabled'] ? __( 'Yes', 'google-site-kit' ) : __( 'No', 'google-site-kit' ), 484 513 'debug' => $settings['oneTapEnabled'] ? 'yes' : 'no', … … 530 559 $wp_login_url = wp_login_url(); 531 560 532 $woo_commerce = new WooCommerce( $this->context ); 533 if ( $woo_commerce->is_active() ) { 561 if ( $this->woocommerce->is_active() ) { 534 562 $wc_login_page_id = wc_get_page_id( 'myaccount' ); 535 563 $wc_login_url = get_permalink( $wc_login_page_id ); … … 670 698 671 699 /** 672 * Exposes an existing client ID from a previous connection 673 * to JS via _googlesitekitModulesData. 700 * Exposes inline module data to JS via _googlesitekitModulesData. 674 701 * 675 702 * @since 1.142.0 703 * @since 1.146.0 Added isWooCommerceActive and isWooCommerceRegistrationEnabled to the inline data. 676 704 * 677 705 * @param array $modules_data Inline modules data. 678 706 * @return array Inline modules data. 679 707 */ 680 protected function inline_existing_client_id( $modules_data ) { 708 protected function inline_module_data( $modules_data ) { 709 $inline_data = array(); 710 681 711 $existing_client_id = $this->existing_client_id->get(); 682 683 712 if ( $existing_client_id ) { 684 // Add the data under the `sign-in-with-google` key to make it clear it's scoped to this module. 685 $modules_data['sign-in-with-google'] = array( 686 'existingClientID' => $existing_client_id, 687 ); 688 } 713 $inline_data['existingClientID'] = $existing_client_id; 714 } 715 716 $is_woocommerce_active = $this->woocommerce->is_active(); 717 $woocommerce_registration_enabled = $is_woocommerce_active ? get_option( 'woocommerce_enable_myaccount_registration' ) : null; 718 719 $inline_data['isWooCommerceActive'] = $is_woocommerce_active; 720 $inline_data['isWooCommerceRegistrationEnabled'] = $is_woocommerce_active && 'yes' === $woocommerce_registration_enabled; 721 722 // Add the data under the `sign-in-with-google` key to make it clear it's scoped to this module. 723 $modules_data['sign-in-with-google'] = $inline_data; 689 724 690 725 return $modules_data; -
google-site-kit/tags/1.146.0/includes/Modules/Sign_In_With_Google/Authenticator.php
r3229883 r3238118 134 134 135 135 // If we have the redirect URL in the cookie, use it as the main redirect_to URL. 136 $cookie_redirect_to = $ input->filter( INPUT_COOKIE, self::COOKIE_REDIRECT_TO);136 $cookie_redirect_to = $this->get_cookie_redirect( $input ); 137 137 if ( ! empty( $cookie_redirect_to ) ) { 138 138 $redirect_to = $cookie_redirect_to; 139 140 if ( ! headers_sent() ) {141 // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie142 setcookie( self::COOKIE_REDIRECT_TO, '', time() - 3600, self::get_cookie_path(), COOKIE_DOMAIN );143 }144 139 } 145 140 … … 335 330 return dirname( wp_parse_url( wp_login_url(), PHP_URL_PATH ) ); 336 331 } 332 333 /** 334 * Gets the redirect URL from the cookie and clears the cookie. 335 * 336 * @since 1.146.0 337 * 338 * @param Input $input Input instance. 339 * @return string Redirect URL. 340 */ 341 protected function get_cookie_redirect( $input ) { 342 $cookie_redirect_to = $input->filter( INPUT_COOKIE, self::COOKIE_REDIRECT_TO ); 343 if ( ! empty( $cookie_redirect_to ) && ! headers_sent() ) { 344 // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie 345 setcookie( self::COOKIE_REDIRECT_TO, '', time() - 3600, self::get_cookie_path(), COOKIE_DOMAIN ); 346 } 347 348 return $cookie_redirect_to; 349 } 337 350 } -
google-site-kit/tags/1.146.0/includes/Modules/Sign_In_With_Google/WooCommerce_Authenticator.php
r3229883 r3238118 43 43 * 44 44 * @since 1.145.0 45 * @since 1.146.0 Updated to take into account redirect URL from cookie. 45 46 * 46 47 * @param WP_User $user User object. … … 49 50 */ 50 51 protected function get_redirect_url( $user, $input ) { 51 $redirect = wc_get_page_permalink( 'myaccount' ); 52 return apply_filters( 'woocommerce_login_redirect', $redirect, $user ); 52 $redirect_to = wc_get_page_permalink( 'myaccount' ); 53 54 // If we have the redirect URL in the cookie, use it as the main redirect_to URL. 55 $cookie_redirect_to = $this->get_cookie_redirect( $input ); 56 if ( ! empty( $cookie_redirect_to ) ) { 57 $redirect_to = $cookie_redirect_to; 58 } 59 60 return apply_filters( 'woocommerce_login_redirect', $redirect_to, $user ); 53 61 } 54 62 } -
google-site-kit/tags/1.146.0/includes/vendor/composer/autoload_classmap.php
r3229883 r3238118 158 158 'Google\\Site_Kit\\Core\\Storage\\Encrypted_Options' => $baseDir . '/Core/Storage/Encrypted_Options.php', 159 159 'Google\\Site_Kit\\Core\\Storage\\Encrypted_User_Options' => $baseDir . '/Core/Storage/Encrypted_User_Options.php', 160 'Google\\Site_Kit\\Core\\Storage\\Meta_Interface' => $baseDir . '/Core/Storage/Meta_Interface.php', 161 'Google\\Site_Kit\\Core\\Storage\\Meta_Setting_Trait' => $baseDir . '/Core/Storage/Meta_Setting_Trait.php', 160 162 'Google\\Site_Kit\\Core\\Storage\\Options' => $baseDir . '/Core/Storage/Options.php', 161 163 'Google\\Site_Kit\\Core\\Storage\\Options_Interface' => $baseDir . '/Core/Storage/Options_Interface.php', 162 164 'Google\\Site_Kit\\Core\\Storage\\Post_Meta' => $baseDir . '/Core/Storage/Post_Meta.php', 163 'Google\\Site_Kit\\Core\\Storage\\Post_Meta_Interface' => $baseDir . '/Core/Storage/Post_Meta_Interface.php',164 'Google\\Site_Kit\\Core\\Storage\\Post_Meta_Setting' => $baseDir . '/Core/Storage/Post_Meta_Setting.php',165 165 'Google\\Site_Kit\\Core\\Storage\\Setting' => $baseDir . '/Core/Storage/Setting.php', 166 166 'Google\\Site_Kit\\Core\\Storage\\Setting\\List_Setting' => $baseDir . '/Core/Storage/Setting/List_Setting.php', … … 169 169 'Google\\Site_Kit\\Core\\Storage\\Setting_With_Owned_Keys_Trait' => $baseDir . '/Core/Storage/Setting_With_Owned_Keys_Trait.php', 170 170 'Google\\Site_Kit\\Core\\Storage\\Setting_With_ViewOnly_Keys_Interface' => $baseDir . '/Core/Storage/Setting_With_ViewOnly_Keys_Interface.php', 171 'Google\\Site_Kit\\Core\\Storage\\Term_Meta' => $baseDir . '/Core/Storage/Term_Meta.php', 171 172 'Google\\Site_Kit\\Core\\Storage\\Transients' => $baseDir . '/Core/Storage/Transients.php', 172 173 'Google\\Site_Kit\\Core\\Storage\\User_Aware_Interface' => $baseDir . '/Core/Storage/User_Aware_Interface.php', … … 310 311 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Post_Product_ID' => $baseDir . '/Modules/Reader_Revenue_Manager/Post_Product_ID.php', 311 312 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Settings' => $baseDir . '/Modules/Reader_Revenue_Manager/Settings.php', 312 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Synchronize_ OnboardingState' => $baseDir . '/Modules/Reader_Revenue_Manager/Synchronize_OnboardingState.php',313 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Synchronize_Publication' => $baseDir . '/Modules/Reader_Revenue_Manager/Synchronize_Publication.php', 313 314 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Tag_Guard' => $baseDir . '/Modules/Reader_Revenue_Manager/Tag_Guard.php', 314 315 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Tag_Matchers' => $baseDir . '/Modules/Reader_Revenue_Manager/Tag_Matchers.php', 316 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Term_Product_ID' => $baseDir . '/Modules/Reader_Revenue_Manager/Term_Product_ID.php', 315 317 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Web_Tag' => $baseDir . '/Modules/Reader_Revenue_Manager/Web_Tag.php', 316 318 'Google\\Site_Kit\\Modules\\Search_Console' => $baseDir . '/Modules/Search_Console.php', -
google-site-kit/tags/1.146.0/readme.txt
r3229883 r3238118 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 1.14 5.07 Stable tag: 1.146.0 8 8 License: Apache License 2.0 9 9 License URI: https://www.apache.org/licenses/LICENSE-2.0 … … 110 110 == Changelog == 111 111 112 = 1.14 5.0 =112 = 1.146.0 = 113 113 114 114 **Enhanced** 115 115 116 * Add Site Health information for Reader Revenue Manager expansions. See [#9974](https://github.com/google/site-kit-wp/issues/9974). 117 * Add an empty RRM V2 JavaScript entry point for the WordPress block editor, with functionality to be added in subsequent issues. See [#9957](https://github.com/google/site-kit-wp/issues/9957). 118 * Add mechanism to store post-level Reader Revenue Manager settings. See [#9955](https://github.com/google/site-kit-wp/issues/9955). 119 * Update Reader Revenue Manager module settings infrastructure. See [#9951](https://github.com/google/site-kit-wp/issues/9951). 120 * Add a trigger for a survey when the user sees the FPM setup banner, and one when the user enables FPM, in order to help track usage of the feature. See [#9940](https://github.com/google/site-kit-wp/issues/9940). 121 * Update copy on disconnect module modal. See [#9935](https://github.com/google/site-kit-wp/issues/9935). 122 * Standardize the capitalization of "First-party mode" across the plugin for consistency. See [#9902](https://github.com/google/site-kit-wp/issues/9902). 123 * Ensure the Reader Revenue Manager Setup CTA does not appear alongside other CTAs. See [#9889](https://github.com/google/site-kit-wp/issues/9889). 124 * Add error handling to the First-party mode setup banner to display errors and prevent premature dismissal when saving settings fail. See [#9846](https://github.com/google/site-kit-wp/issues/9846). 125 * Update auth error notification to use new notifications infrastructure. See [#9284](https://github.com/google/site-kit-wp/issues/9284). 126 * Update tooltip tours to display on smaller screen sizes. See [#3003](https://github.com/google/site-kit-wp/issues/3003). 116 * Add warning to users when Sign in with Google One-tap appears site-wide without open user registrations. See [#10079](https://github.com/google/site-kit-wp/issues/10079). 117 * Update the Reader Revenue Manager settings view screen to include new settings introduced in Phase 2. See [#10067](https://github.com/google/site-kit-wp/issues/10067). 118 * Add a reusable chip multi-select component. See [#10064](https://github.com/google/site-kit-wp/issues/10064). 119 * Update the Reader Revenue Manager setup CTA banner copy to highlight paywall support when the feature flag is enabled. See [#10063](https://github.com/google/site-kit-wp/issues/10063). 120 * Add mechanism to clear term meta on Site Kit reset. See [#10061](https://github.com/google/site-kit-wp/issues/10061). 121 * Add mechanism to store term-level Reader Revenue Manager settings. See [#9956](https://github.com/google/site-kit-wp/issues/9956). 122 * Add mechanism to synchronize Reader Revenue Manager publication information. See [#9954](https://github.com/google/site-kit-wp/issues/9954). 123 * Add mechanism to reset publication-specific information when the publication is changed. See [#9953](https://github.com/google/site-kit-wp/issues/9953). 124 * Update Reader Revenue Manager publication selection to populate new settings. See [#9952](https://github.com/google/site-kit-wp/issues/9952). 125 * Add infrastructure to interface with WordPress term metadata. See [#9949](https://github.com/google/site-kit-wp/issues/9949). 126 * Improve the styling of the Sign in with Google button on WooCommerce login forms. See [#9932](https://github.com/google/site-kit-wp/issues/9932). 127 * Update Ads settings view screen to display items in the correct order. See [#9908](https://github.com/google/site-kit-wp/issues/9908). 128 * Update the First-party mode status in Site Health to use "Enabled" or "Disabled" instead of "Yes" or "No" and update the label from "First-party mode: Enabled" to "First-party mode". See [#9904](https://github.com/google/site-kit-wp/issues/9904). 129 * Refactor consent mode setup CTA to use new infrastructure. See [#9887](https://github.com/google/site-kit-wp/issues/9887). 130 * Update the Audience Segmentation Setup CTA so it does not appear alongside other CTAs. See [#9886](https://github.com/google/site-kit-wp/issues/9886). 131 * Update visitor group card to prevent including `(not set)` in cities with the most visitors. See [#9604](https://github.com/google/site-kit-wp/issues/9604). 127 132 128 133 **Changed** 129 134 130 * Update the service provisioning URL not to contain the `supportemail` query param. See [#10024](https://github.com/google/site-kit-wp/issues/10024).135 * Ensure user is redirected back to original page when using Sign in with Google. See [#10015](https://github.com/google/site-kit-wp/issues/10015). 131 136 132 137 **Fixed** 133 138 134 * Fix custom dimension metric tiles error when loaded on the KMW widget with the ACR feature flag enabled. See [#9967](https://github.com/google/site-kit-wp/issues/9967). 135 * Improve redirects when Sign in with Google login fails on WooCommerce pages. See [#9780](https://github.com/google/site-kit-wp/issues/9780). 139 * Improve reliability of Sign in with Google rendering on WooCommerce account pages. See [#10120](https://github.com/google/site-kit-wp/issues/10120). 140 * Fix bug that could cause CTA to add new metrics to Analytics. See [#10044](https://github.com/google/site-kit-wp/issues/10044). 141 * Fix bug that caused the "Top traffic source driving leads" metric to show no data in the "90 days" view. See [#10043](https://github.com/google/site-kit-wp/issues/10043). 142 * Fix bug that could cause metrics not to update properly if answers were changed several times before saving changes. See [#10034](https://github.com/google/site-kit-wp/issues/10034). 143 * Ensure suggested metrics include new events. See [#10033](https://github.com/google/site-kit-wp/issues/10033). 144 * Fix user registration notification dismissal issue on the Sign in with Google settings screen. See [#9933](https://github.com/google/site-kit-wp/issues/9933). 145 * Fix key metrics setup CTA layout at 960px. See [#9911](https://github.com/google/site-kit-wp/issues/9911). 136 146 137 147 [See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt). -
google-site-kit/trunk/dist/manifest.php
r3229883 r3238118 20 20 'analytics-advanced-tracking' => array( "analytics-advanced-tracking-ea84b2c367b69f5c094b.js", null ), 21 21 'googlesitekit-i18n' => array( "googlesitekit-i18n-33cdd2dee5d1d1f4fb34.js", null ), 22 'googlesitekit-admin-css' => array( "googlesitekit-admin-css- 0167cbd9e2a4e951c2c2.min.css", null ),22 'googlesitekit-admin-css' => array( "googlesitekit-admin-css-1a1b3dd6836e74847e00.min.css", null ), 23 23 'googlesitekit-adminbar-css' => array( "googlesitekit-adminbar-css-281d66e21d2b87430998.min.css", null ), 24 24 'googlesitekit-authorize-application-css' => array( "googlesitekit-authorize-application-css-ce25e97404abc5a02921.min.css", null ), 25 25 'googlesitekit-wp-dashboard-css' => array( "googlesitekit-wp-dashboard-css-55d9d8bb13cf249a2389.min.css", null ), 26 'googlesitekit-vendor' => array( "googlesitekit-vendor- 0e5fcb2614a2df8b4141.js", null ),27 'googlesitekit-runtime' => array( "runtime- 7900ebf0cb27fa989ac7.js", null ),28 'googlesitekit-activation' => array( "googlesitekit-activation- 0ff4bb4905875a3af96d.js", null ),29 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery- 1bc5a979d40644f428b9.js", null ),30 'googlesitekit-adminbar' => array( "googlesitekit-adminbar- 3eb079e3b867b0628d63.js", null ),31 'googlesitekit-api' => array( "googlesitekit-api- 56127018cb7e490cef83.js", null ),32 'googlesitekit-components' => array( array( "googlesitekit-components-gm2- cd1b1b91f7b0b537fb1c.js", null ), array( "googlesitekit-components-gm3-8508ed7feed06dfd7cea.js", null ) ),33 'googlesitekit-data' => array( "googlesitekit-data- 0a0301705fe2a7e3ea13.js", null ),34 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms- 38cfea41da192d1bc108.js", null ),35 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location- 2a54fd2f0e87dc2c9475.js", null ),36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site- f7b7542d42fef36c823b.js", null ),37 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui- 1bf7f3343b392b9d3d36.js", null ),38 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user- 7de58a4f6164bf6e0b50.js", null ),39 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard- 41ce7126b0d8da211ca8.js", null ),40 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard- 4da8f8cf7c833e75c20b.js", null ),41 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection- 3ee8a23dcaf39401f05a.js", null ),42 'googlesitekit-modules' => array( "googlesitekit-modules- 3149aa67bd387f1e1ecc.js", null ),43 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads- eda91d5656699d965a11.js", null ),44 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense- 60e0039459ccbf52f2dc.js", null ),45 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4- e7215bb257eaff98a241.js", null ),46 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights- 7e61c64f50cba689589c.js", null ),47 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager- c83637e628e0caaef7d4.js", null ),48 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console- ee6b9d229e6d6c34c65c.js", null ),49 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google- ee4e9dd0a0285290e10e.js", null ),50 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager- b2f7e90981d1eabf1a0c.js", null ),51 'googlesitekit-notifications' => array( "googlesitekit-notifications- 576ef786c988dd3d308a.js", null ),52 'googlesitekit-polyfills' => array( "googlesitekit-polyfills- 37387dc58c34dd8ec319.js", null ),53 'googlesitekit-settings' => array( "googlesitekit-settings- f0011b69cd7c80cd340a.js", null ),54 'googlesitekit-splash' => array( "googlesitekit-splash- 0e6568b993910dcbfb85.js", null ),55 'googlesitekit-user-input' => array( "googlesitekit-user-input- 77dfa9da5c9848070722.js", null ),56 'googlesitekit-widgets' => array( "googlesitekit-widgets- 9f86e66067a4d5d6be4f.js", null ),57 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard- c774dda1d72e62c09f79.js", null ),26 'googlesitekit-vendor' => array( "googlesitekit-vendor-55f6d4109c59b75ef2bd.js", null ), 27 'googlesitekit-runtime' => array( "runtime-cafb5a04ad2af33b7709.js", null ), 28 'googlesitekit-activation' => array( "googlesitekit-activation-859303eb6e15c09c3a50.js", null ), 29 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery-ff4f4fe3cc2fc49e0dda.js", null ), 30 'googlesitekit-adminbar' => array( "googlesitekit-adminbar-9ee6cdb0be43ea55ded4.js", null ), 31 'googlesitekit-api' => array( "googlesitekit-api-9f1616f40adbca43e6b8.js", null ), 32 'googlesitekit-components' => array( array( "googlesitekit-components-gm2-7945eb0cdbd7dc3a89c2.js", null ), array( "googlesitekit-components-gm3-f995cfcb85091ab1e560.js", null ) ), 33 'googlesitekit-data' => array( "googlesitekit-data-590b288a64d1660dbc11.js", null ), 34 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms-c2f63f0c0adfa5c1bb08.js", null ), 35 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location-4bd0ca7dbf15fff9fb97.js", null ), 36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site-dc7146f24a9f4d40e709.js", null ), 37 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui-7db934d367461124f5b8.js", null ), 38 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user-1542da3bbef03cd01780.js", null ), 39 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard-b0eeab16b25065093d82.js", null ), 40 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard-a4bcd8e2d49c8c193c4e.js", null ), 41 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection-70ed1134dac53010fa40.js", null ), 42 'googlesitekit-modules' => array( "googlesitekit-modules-1a2ef4f5ec6f6f1b060c.js", null ), 43 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads-23c0496d89342f02d84d.js", null ), 44 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense-4c9f3e82ede5101a7eec.js", null ), 45 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4-481b89c2cd44559a7bb4.js", null ), 46 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights-682896da4133e08c66ab.js", null ), 47 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager-7ec25dde6792354d0eba.js", null ), 48 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console-1c6864fceeeff7358e12.js", null ), 49 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google-0c7629ea71e0e833b0c2.js", null ), 50 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager-c8b6022c7b86c9ad9742.js", null ), 51 'googlesitekit-notifications' => array( "googlesitekit-notifications-b81ae6975e8afcf98876.js", null ), 52 'googlesitekit-polyfills' => array( "googlesitekit-polyfills-48e8493ea0e91c0facb6.js", null ), 53 'googlesitekit-settings' => array( "googlesitekit-settings-0c4ffef12bd5de9a413b.js", null ), 54 'googlesitekit-splash' => array( "googlesitekit-splash-e5aa53e206c5c1ddcc14.js", null ), 55 'googlesitekit-user-input' => array( "googlesitekit-user-input-4af8721f3482ada06493.js", null ), 56 'googlesitekit-widgets' => array( "googlesitekit-widgets-c8a23c2f9e2b270ac4c9.js", null ), 57 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard-80711a59677604d769b2.js", null ), 58 58 ); -
google-site-kit/trunk/google-site-kit.php
r3229883 r3238118 12 12 * Plugin URI: https://sitekit.withgoogle.com 13 13 * Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web. 14 * Version: 1.14 5.014 * Version: 1.146.0 15 15 * Requires at least: 5.2 16 16 * Requires PHP: 7.4 … … 27 27 28 28 // Define most essential constants. 29 define( 'GOOGLESITEKIT_VERSION', '1.14 5.0' );29 define( 'GOOGLESITEKIT_VERSION', '1.146.0' ); 30 30 define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); 31 31 define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' ); -
google-site-kit/trunk/includes/Core/Storage/Post_Meta.php
r3118692 r3238118 18 18 * @ignore 19 19 */ 20 final class Post_Meta implements Post_Meta_Interface {20 final class Post_Meta implements Meta_Interface { 21 21 22 22 /** -
google-site-kit/trunk/includes/Core/Tags/First_Party_Mode/First_Party_Mode.php
r3229883 r3238118 137 137 return array( 138 138 'first_party_mode_is_enabled' => array( 139 'label' => __( 'First-party mode : Enabled', 'google-site-kit' ),140 'value' => $this->health_check_debug_field_value( $settings['isEnabled']),139 'label' => __( 'First-party mode', 'google-site-kit' ), 140 'value' => ( true === $settings['isEnabled'] ) ? __( 'Enabled', 'google-site-kit' ) : __( 'Disabled', 'google-site-kit' ), 141 141 'debug' => $this->health_check_debug_field_debug( $settings['isEnabled'] ), 142 142 ), -
google-site-kit/trunk/includes/Core/Util/Reset.php
r3118692 r3238118 113 113 $this->delete_user_options( 'site' ); 114 114 $this->delete_post_meta( 'site' ); 115 $this->delete_term_meta( 'site' ); 115 116 116 117 if ( $this->context->is_network_mode() ) { … … 118 119 $this->delete_user_options( 'network' ); 119 120 $this->delete_post_meta( 'network' ); 121 $this->delete_term_meta( 'network' ); 120 122 } 121 123 … … 221 223 222 224 /** 225 * Deletes all Site Kit term meta settings. 226 * 227 * @since 1.146.0 228 * 229 * @param string $scope Scope of the deletion ('site' or 'network'). 230 */ 231 private function delete_term_meta( $scope ) { 232 global $wpdb; 233 234 $sites = array(); 235 if ( 'network' === $scope ) { 236 $sites = get_sites( 237 array( 238 'fields' => 'ids', 239 'number' => 9999999, 240 ) 241 ); 242 } else { 243 $sites[] = get_current_blog_id(); 244 } 245 246 foreach ( $sites as $site_id ) { 247 $prefix = $wpdb->get_blog_prefix( $site_id ); 248 249 // phpcs:ignore WordPress.DB.DirectDatabaseQuery 250 $wpdb->query( 251 $wpdb->prepare( 252 "DELETE FROM {$prefix}termmeta WHERE `meta_key` LIKE %s", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared 253 static::KEY_PATTERN 254 ) 255 ); 256 } 257 } 258 259 /** 223 260 * Gets related REST routes. 224 261 * -
google-site-kit/trunk/includes/Modules/Reader_Revenue_Manager.php
r3229883 r3238118 33 33 use Google\Site_Kit\Core\Site_Health\Debug_Data; 34 34 use Google\Site_Kit\Core\Storage\Post_Meta; 35 use Google\Site_Kit\Core\Storage\Term_Meta; 35 36 use Google\Site_Kit\Core\Tags\Guards\Tag_Environment_Type_Guard; 36 37 use Google\Site_Kit\Core\Tags\Guards\Tag_Verify_Guard; … … 38 39 use Google\Site_Kit\Core\Util\URL; 39 40 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Post_Product_ID; 41 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Term_Product_ID; 40 42 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Settings; 41 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Synchronize_ OnboardingState;43 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Synchronize_Publication; 42 44 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Tag_Guard; 43 45 use Google\Site_Kit\Modules\Reader_Revenue_Manager\Tag_Matchers; … … 74 76 $this->register_scopes_hook(); 75 77 76 $synchronize_ onboarding_state = new Synchronize_OnboardingState(78 $synchronize_publication = new Synchronize_Publication( 77 79 $this, 78 80 $this->user_options 79 81 ); 80 $synchronize_ onboarding_state->register();82 $synchronize_publication->register(); 81 83 82 84 if ( Feature_Flags::enabled( 'rrmModuleV2' ) && $this->is_connected() ) { … … 85 87 $post_product_id = new Post_Product_ID( $post_meta, $publication_id ); 86 88 $post_product_id->register(); 87 } 88 89 add_action( 'load-toplevel_page_googlesitekit-dashboard', array( $synchronize_onboarding_state, 'maybe_schedule_synchronize_onboarding_state' ) ); 90 add_action( 'load-toplevel_page_googlesitekit-settings', array( $synchronize_onboarding_state, 'maybe_schedule_synchronize_onboarding_state' ) ); 89 90 $term_meta = new Term_Meta(); 91 $term_product_id = new Term_Product_ID( $term_meta, $publication_id ); 92 $term_product_id->register(); 93 } 94 95 add_action( 'load-toplevel_page_googlesitekit-dashboard', array( $synchronize_publication, 'maybe_schedule_synchronize_publication' ) ); 96 add_action( 'load-toplevel_page_googlesitekit-settings', array( $synchronize_publication, 'maybe_schedule_synchronize_publication' ) ); 91 97 92 98 // Reader Revenue Manager tag placement logic. -
google-site-kit/trunk/includes/Modules/Reader_Revenue_Manager/Post_Product_ID.php
r3229883 r3238118 12 12 13 13 use Google\Site_Kit\Core\Storage\Post_Meta; 14 use Google\Site_Kit\Core\Storage\ Post_Meta_Setting;14 use Google\Site_Kit\Core\Storage\Meta_Setting_Trait; 15 15 16 16 /** … … 21 21 * @ignore 22 22 */ 23 class Post_Product_ID extends Post_Meta_Setting { 23 class Post_Product_ID { 24 25 use Meta_Setting_Trait; 26 24 27 /** 25 28 * Publication ID. … … 40 43 */ 41 44 public function __construct( Post_Meta $post_meta, string $publication_id ) { 42 parent::__construct( $post_meta ); 43 45 $this->meta = $post_meta; 44 46 $this->publication_id = $publication_id; 45 47 } … … 57 59 58 60 /** 61 * Returns the object type. 62 * 63 * @since 1.146.0 64 * 65 * @return string Object type. 66 */ 67 protected function get_object_type(): string { 68 return 'post'; 69 } 70 71 /** 59 72 * Gets the `show_in_rest` value for this postmeta setting value. 60 73 * -
google-site-kit/trunk/includes/Modules/Sign_In_With_Google.php
r3229883 r3238118 82 82 83 83 /** 84 * WooCommerce instance. 85 * 86 * @since 1.146.0 87 * @var WooCommerce 88 */ 89 protected $woocommerce; 90 91 /** 84 92 * Constructor. 85 93 * … … 101 109 parent::__construct( $context, $options, $user_options, $authentication, $assets ); 102 110 $this->existing_client_id = new Existing_Client_ID( $this->options ); 111 $this->woocommerce = new WooCommerce( $this->context ); 103 112 } 104 113 … … 112 121 add_filter( 'wp_login_errors', array( $this, 'handle_login_errors' ) ); 113 122 114 add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_ existing_client_id' ), 10 );123 add_filter( 'googlesitekit_inline_modules_data', $this->get_method_proxy( 'inline_module_data' ), 10 ); 115 124 116 125 add_action( … … 309 318 310 319 /** 311 * Renders the Sign in with Google JS script tags, One -tap code, and320 * Renders the Sign in with Google JS script tags, One Tap code, and 312 321 * buttons. 313 322 * … … 329 338 330 339 // If this is not the WordPress or WooCommerce login page, check to 331 // see if "One -tap enabled on all pages" is set first. If it isnt:340 // see if "One Tap enabled on all pages" is set first. If it isnt: 332 341 // don't render the Sign in with Google JS. 333 342 if ( ! $is_wp_login && ! $is_woocommerce_login && ! $settings['oneTapOnAllPages'] ) { … … 353 362 // Whether buttons will be rendered/transformed on this page. 354 363 $render_buttons = $is_wp_login || $is_woocommerce_login; 364 $render_one_tap = ! empty( $settings['oneTapEnabled'] ) && ( $is_wp_login || ! is_user_logged_in() ); 365 366 // If we aren't rendering buttons or One-tap, return early. 367 if ( ! $render_buttons && ! $render_one_tap ) { 368 return; 369 } 370 371 // Set the cookie time to live to 5 minutes. If the redirect_to is empty, 372 // set the cookie to expire immediately. 373 $cookie_expire_time = 300000; 374 if ( empty( $redirect_to ) ) { 375 $cookie_expire_time *= -1; 376 } 355 377 356 378 // Render the Sign in with Google script. … … 369 391 body: new URLSearchParams( response ) 370 392 } ); 371 if ( res.ok && res.redirected ) { 372 location.assign( res.url ); 373 } 393 394 <?php if ( empty( $redirect_to ) && ! $render_buttons && $render_one_tap ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 395 location.reload(); 396 <?php else : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 397 if ( res.ok && res.redirected ) { 398 location.assign( res.url ); 399 } 400 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 374 401 } catch( error ) { 375 402 console.error( error ); … … 391 418 392 419 <?php if ( $is_woocommerce_login ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 393 for ( const login of document.getElementsByClassName( 'login' ) ) { 394 login.insertBefore( parent, login.firstChild ); 420 parent.classList.add( 'woocommerce-form-row', 'form-row' ); 421 const form = document.querySelector( '.woocommerce-form.login' ); 422 if ( form ) { 423 form.insertBefore( parent, form.firstChild ); 395 424 } 396 425 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 397 426 398 427 google.accounts.id.renderButton( parent, <?php echo wp_json_encode( $btn_args ); ?> ); 399 400 <?php if ( ! empty( $redirect_to ) ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?>401 const expires = new Date();402 expires.setTime( expires.getTime() + 300000 );<?php // 5 minutes ?>403 document.cookie = "<?php echo esc_js( Authenticator::COOKIE_REDIRECT_TO ); ?>=<?php echo esc_js( $redirect_to ); ?>;expires=" + expires.toUTCString() + ";path=<?php echo esc_js( Authenticator::get_cookie_path() ); ?>";404 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?>405 428 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 406 429 407 <?php if ( ! empty( $settings['oneTapEnabled'] ) && ( $is_wp_login || ! is_user_logged_in() )) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?>430 <?php if ( $render_one_tap ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 408 431 google.accounts.id.prompt(); 432 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 433 434 <?php if ( ! empty( $redirect_to ) ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 435 const expires = new Date(); 436 expires.setTime( expires.getTime() + <?php echo esc_js( $cookie_expire_time ); ?> ); 437 document.cookie = "<?php echo esc_js( Authenticator::COOKIE_REDIRECT_TO ); ?>=<?php echo esc_js( $redirect_to ); ?>;expires=" + expires.toUTCString() + ";path=<?php echo esc_js( Authenticator::get_cookie_path() ); ?>"; 409 438 <?php endif; // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect ?> 410 439 } )(); … … 480 509 'sign_in_with_google_use_snippet' => array( 481 510 /* translators: %s: Sign in with Google service name */ 482 'label' => sprintf( __( '%s: One -tap Enabled', 'google-site-kit' ), _x( 'Sign in with Google', 'Service name', 'google-site-kit' ) ),511 'label' => sprintf( __( '%s: One Tap Enabled', 'google-site-kit' ), _x( 'Sign in with Google', 'Service name', 'google-site-kit' ) ), 483 512 'value' => $settings['oneTapEnabled'] ? __( 'Yes', 'google-site-kit' ) : __( 'No', 'google-site-kit' ), 484 513 'debug' => $settings['oneTapEnabled'] ? 'yes' : 'no', … … 530 559 $wp_login_url = wp_login_url(); 531 560 532 $woo_commerce = new WooCommerce( $this->context ); 533 if ( $woo_commerce->is_active() ) { 561 if ( $this->woocommerce->is_active() ) { 534 562 $wc_login_page_id = wc_get_page_id( 'myaccount' ); 535 563 $wc_login_url = get_permalink( $wc_login_page_id ); … … 670 698 671 699 /** 672 * Exposes an existing client ID from a previous connection 673 * to JS via _googlesitekitModulesData. 700 * Exposes inline module data to JS via _googlesitekitModulesData. 674 701 * 675 702 * @since 1.142.0 703 * @since 1.146.0 Added isWooCommerceActive and isWooCommerceRegistrationEnabled to the inline data. 676 704 * 677 705 * @param array $modules_data Inline modules data. 678 706 * @return array Inline modules data. 679 707 */ 680 protected function inline_existing_client_id( $modules_data ) { 708 protected function inline_module_data( $modules_data ) { 709 $inline_data = array(); 710 681 711 $existing_client_id = $this->existing_client_id->get(); 682 683 712 if ( $existing_client_id ) { 684 // Add the data under the `sign-in-with-google` key to make it clear it's scoped to this module. 685 $modules_data['sign-in-with-google'] = array( 686 'existingClientID' => $existing_client_id, 687 ); 688 } 713 $inline_data['existingClientID'] = $existing_client_id; 714 } 715 716 $is_woocommerce_active = $this->woocommerce->is_active(); 717 $woocommerce_registration_enabled = $is_woocommerce_active ? get_option( 'woocommerce_enable_myaccount_registration' ) : null; 718 719 $inline_data['isWooCommerceActive'] = $is_woocommerce_active; 720 $inline_data['isWooCommerceRegistrationEnabled'] = $is_woocommerce_active && 'yes' === $woocommerce_registration_enabled; 721 722 // Add the data under the `sign-in-with-google` key to make it clear it's scoped to this module. 723 $modules_data['sign-in-with-google'] = $inline_data; 689 724 690 725 return $modules_data; -
google-site-kit/trunk/includes/Modules/Sign_In_With_Google/Authenticator.php
r3229883 r3238118 134 134 135 135 // If we have the redirect URL in the cookie, use it as the main redirect_to URL. 136 $cookie_redirect_to = $ input->filter( INPUT_COOKIE, self::COOKIE_REDIRECT_TO);136 $cookie_redirect_to = $this->get_cookie_redirect( $input ); 137 137 if ( ! empty( $cookie_redirect_to ) ) { 138 138 $redirect_to = $cookie_redirect_to; 139 140 if ( ! headers_sent() ) {141 // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie142 setcookie( self::COOKIE_REDIRECT_TO, '', time() - 3600, self::get_cookie_path(), COOKIE_DOMAIN );143 }144 139 } 145 140 … … 335 330 return dirname( wp_parse_url( wp_login_url(), PHP_URL_PATH ) ); 336 331 } 332 333 /** 334 * Gets the redirect URL from the cookie and clears the cookie. 335 * 336 * @since 1.146.0 337 * 338 * @param Input $input Input instance. 339 * @return string Redirect URL. 340 */ 341 protected function get_cookie_redirect( $input ) { 342 $cookie_redirect_to = $input->filter( INPUT_COOKIE, self::COOKIE_REDIRECT_TO ); 343 if ( ! empty( $cookie_redirect_to ) && ! headers_sent() ) { 344 // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie 345 setcookie( self::COOKIE_REDIRECT_TO, '', time() - 3600, self::get_cookie_path(), COOKIE_DOMAIN ); 346 } 347 348 return $cookie_redirect_to; 349 } 337 350 } -
google-site-kit/trunk/includes/Modules/Sign_In_With_Google/WooCommerce_Authenticator.php
r3229883 r3238118 43 43 * 44 44 * @since 1.145.0 45 * @since 1.146.0 Updated to take into account redirect URL from cookie. 45 46 * 46 47 * @param WP_User $user User object. … … 49 50 */ 50 51 protected function get_redirect_url( $user, $input ) { 51 $redirect = wc_get_page_permalink( 'myaccount' ); 52 return apply_filters( 'woocommerce_login_redirect', $redirect, $user ); 52 $redirect_to = wc_get_page_permalink( 'myaccount' ); 53 54 // If we have the redirect URL in the cookie, use it as the main redirect_to URL. 55 $cookie_redirect_to = $this->get_cookie_redirect( $input ); 56 if ( ! empty( $cookie_redirect_to ) ) { 57 $redirect_to = $cookie_redirect_to; 58 } 59 60 return apply_filters( 'woocommerce_login_redirect', $redirect_to, $user ); 53 61 } 54 62 } -
google-site-kit/trunk/includes/vendor/composer/autoload_classmap.php
r3229883 r3238118 158 158 'Google\\Site_Kit\\Core\\Storage\\Encrypted_Options' => $baseDir . '/Core/Storage/Encrypted_Options.php', 159 159 'Google\\Site_Kit\\Core\\Storage\\Encrypted_User_Options' => $baseDir . '/Core/Storage/Encrypted_User_Options.php', 160 'Google\\Site_Kit\\Core\\Storage\\Meta_Interface' => $baseDir . '/Core/Storage/Meta_Interface.php', 161 'Google\\Site_Kit\\Core\\Storage\\Meta_Setting_Trait' => $baseDir . '/Core/Storage/Meta_Setting_Trait.php', 160 162 'Google\\Site_Kit\\Core\\Storage\\Options' => $baseDir . '/Core/Storage/Options.php', 161 163 'Google\\Site_Kit\\Core\\Storage\\Options_Interface' => $baseDir . '/Core/Storage/Options_Interface.php', 162 164 'Google\\Site_Kit\\Core\\Storage\\Post_Meta' => $baseDir . '/Core/Storage/Post_Meta.php', 163 'Google\\Site_Kit\\Core\\Storage\\Post_Meta_Interface' => $baseDir . '/Core/Storage/Post_Meta_Interface.php',164 'Google\\Site_Kit\\Core\\Storage\\Post_Meta_Setting' => $baseDir . '/Core/Storage/Post_Meta_Setting.php',165 165 'Google\\Site_Kit\\Core\\Storage\\Setting' => $baseDir . '/Core/Storage/Setting.php', 166 166 'Google\\Site_Kit\\Core\\Storage\\Setting\\List_Setting' => $baseDir . '/Core/Storage/Setting/List_Setting.php', … … 169 169 'Google\\Site_Kit\\Core\\Storage\\Setting_With_Owned_Keys_Trait' => $baseDir . '/Core/Storage/Setting_With_Owned_Keys_Trait.php', 170 170 'Google\\Site_Kit\\Core\\Storage\\Setting_With_ViewOnly_Keys_Interface' => $baseDir . '/Core/Storage/Setting_With_ViewOnly_Keys_Interface.php', 171 'Google\\Site_Kit\\Core\\Storage\\Term_Meta' => $baseDir . '/Core/Storage/Term_Meta.php', 171 172 'Google\\Site_Kit\\Core\\Storage\\Transients' => $baseDir . '/Core/Storage/Transients.php', 172 173 'Google\\Site_Kit\\Core\\Storage\\User_Aware_Interface' => $baseDir . '/Core/Storage/User_Aware_Interface.php', … … 310 311 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Post_Product_ID' => $baseDir . '/Modules/Reader_Revenue_Manager/Post_Product_ID.php', 311 312 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Settings' => $baseDir . '/Modules/Reader_Revenue_Manager/Settings.php', 312 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Synchronize_ OnboardingState' => $baseDir . '/Modules/Reader_Revenue_Manager/Synchronize_OnboardingState.php',313 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Synchronize_Publication' => $baseDir . '/Modules/Reader_Revenue_Manager/Synchronize_Publication.php', 313 314 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Tag_Guard' => $baseDir . '/Modules/Reader_Revenue_Manager/Tag_Guard.php', 314 315 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Tag_Matchers' => $baseDir . '/Modules/Reader_Revenue_Manager/Tag_Matchers.php', 316 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Term_Product_ID' => $baseDir . '/Modules/Reader_Revenue_Manager/Term_Product_ID.php', 315 317 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Web_Tag' => $baseDir . '/Modules/Reader_Revenue_Manager/Web_Tag.php', 316 318 'Google\\Site_Kit\\Modules\\Search_Console' => $baseDir . '/Modules/Search_Console.php', -
google-site-kit/trunk/readme.txt
r3229883 r3238118 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 1.14 5.07 Stable tag: 1.146.0 8 8 License: Apache License 2.0 9 9 License URI: https://www.apache.org/licenses/LICENSE-2.0 … … 110 110 == Changelog == 111 111 112 = 1.14 5.0 =112 = 1.146.0 = 113 113 114 114 **Enhanced** 115 115 116 * Add Site Health information for Reader Revenue Manager expansions. See [#9974](https://github.com/google/site-kit-wp/issues/9974). 117 * Add an empty RRM V2 JavaScript entry point for the WordPress block editor, with functionality to be added in subsequent issues. See [#9957](https://github.com/google/site-kit-wp/issues/9957). 118 * Add mechanism to store post-level Reader Revenue Manager settings. See [#9955](https://github.com/google/site-kit-wp/issues/9955). 119 * Update Reader Revenue Manager module settings infrastructure. See [#9951](https://github.com/google/site-kit-wp/issues/9951). 120 * Add a trigger for a survey when the user sees the FPM setup banner, and one when the user enables FPM, in order to help track usage of the feature. See [#9940](https://github.com/google/site-kit-wp/issues/9940). 121 * Update copy on disconnect module modal. See [#9935](https://github.com/google/site-kit-wp/issues/9935). 122 * Standardize the capitalization of "First-party mode" across the plugin for consistency. See [#9902](https://github.com/google/site-kit-wp/issues/9902). 123 * Ensure the Reader Revenue Manager Setup CTA does not appear alongside other CTAs. See [#9889](https://github.com/google/site-kit-wp/issues/9889). 124 * Add error handling to the First-party mode setup banner to display errors and prevent premature dismissal when saving settings fail. See [#9846](https://github.com/google/site-kit-wp/issues/9846). 125 * Update auth error notification to use new notifications infrastructure. See [#9284](https://github.com/google/site-kit-wp/issues/9284). 126 * Update tooltip tours to display on smaller screen sizes. See [#3003](https://github.com/google/site-kit-wp/issues/3003). 116 * Add warning to users when Sign in with Google One-tap appears site-wide without open user registrations. See [#10079](https://github.com/google/site-kit-wp/issues/10079). 117 * Update the Reader Revenue Manager settings view screen to include new settings introduced in Phase 2. See [#10067](https://github.com/google/site-kit-wp/issues/10067). 118 * Add a reusable chip multi-select component. See [#10064](https://github.com/google/site-kit-wp/issues/10064). 119 * Update the Reader Revenue Manager setup CTA banner copy to highlight paywall support when the feature flag is enabled. See [#10063](https://github.com/google/site-kit-wp/issues/10063). 120 * Add mechanism to clear term meta on Site Kit reset. See [#10061](https://github.com/google/site-kit-wp/issues/10061). 121 * Add mechanism to store term-level Reader Revenue Manager settings. See [#9956](https://github.com/google/site-kit-wp/issues/9956). 122 * Add mechanism to synchronize Reader Revenue Manager publication information. See [#9954](https://github.com/google/site-kit-wp/issues/9954). 123 * Add mechanism to reset publication-specific information when the publication is changed. See [#9953](https://github.com/google/site-kit-wp/issues/9953). 124 * Update Reader Revenue Manager publication selection to populate new settings. See [#9952](https://github.com/google/site-kit-wp/issues/9952). 125 * Add infrastructure to interface with WordPress term metadata. See [#9949](https://github.com/google/site-kit-wp/issues/9949). 126 * Improve the styling of the Sign in with Google button on WooCommerce login forms. See [#9932](https://github.com/google/site-kit-wp/issues/9932). 127 * Update Ads settings view screen to display items in the correct order. See [#9908](https://github.com/google/site-kit-wp/issues/9908). 128 * Update the First-party mode status in Site Health to use "Enabled" or "Disabled" instead of "Yes" or "No" and update the label from "First-party mode: Enabled" to "First-party mode". See [#9904](https://github.com/google/site-kit-wp/issues/9904). 129 * Refactor consent mode setup CTA to use new infrastructure. See [#9887](https://github.com/google/site-kit-wp/issues/9887). 130 * Update the Audience Segmentation Setup CTA so it does not appear alongside other CTAs. See [#9886](https://github.com/google/site-kit-wp/issues/9886). 131 * Update visitor group card to prevent including `(not set)` in cities with the most visitors. See [#9604](https://github.com/google/site-kit-wp/issues/9604). 127 132 128 133 **Changed** 129 134 130 * Update the service provisioning URL not to contain the `supportemail` query param. See [#10024](https://github.com/google/site-kit-wp/issues/10024).135 * Ensure user is redirected back to original page when using Sign in with Google. See [#10015](https://github.com/google/site-kit-wp/issues/10015). 131 136 132 137 **Fixed** 133 138 134 * Fix custom dimension metric tiles error when loaded on the KMW widget with the ACR feature flag enabled. See [#9967](https://github.com/google/site-kit-wp/issues/9967). 135 * Improve redirects when Sign in with Google login fails on WooCommerce pages. See [#9780](https://github.com/google/site-kit-wp/issues/9780). 139 * Improve reliability of Sign in with Google rendering on WooCommerce account pages. See [#10120](https://github.com/google/site-kit-wp/issues/10120). 140 * Fix bug that could cause CTA to add new metrics to Analytics. See [#10044](https://github.com/google/site-kit-wp/issues/10044). 141 * Fix bug that caused the "Top traffic source driving leads" metric to show no data in the "90 days" view. See [#10043](https://github.com/google/site-kit-wp/issues/10043). 142 * Fix bug that could cause metrics not to update properly if answers were changed several times before saving changes. See [#10034](https://github.com/google/site-kit-wp/issues/10034). 143 * Ensure suggested metrics include new events. See [#10033](https://github.com/google/site-kit-wp/issues/10033). 144 * Fix user registration notification dismissal issue on the Sign in with Google settings screen. See [#9933](https://github.com/google/site-kit-wp/issues/9933). 145 * Fix key metrics setup CTA layout at 960px. See [#9911](https://github.com/google/site-kit-wp/issues/9911). 136 146 137 147 [See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).
Note: See TracChangeset
for help on using the changeset viewer.