Skip to content

Commit 1d40b16

Browse files
CGastrellmatticbot
authored andcommitted
Jetpack SEO Enhancer: add business restriction (#42731)
* add ai-seo-enhancer to business plan supports, set its availability and check on sidebar panel * changelog * add AI_SEO_ENHANCER feature to features API * add condition for disabling the toggle for SEO enhancer on Settings -> Traffic * changelog * don't render the toggle if the site doesn't have the feature available * add new filter to enabled seo enhancer without restriction * enable the endpoint for any of the two flags Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/14110980222 Upstream-Ref: Automattic/jetpack@6af65fa
1 parent af1ce33 commit 1d40b16

File tree

5 files changed

+79
-71
lines changed

5 files changed

+79
-71
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
This is an alpha version! The changes listed here are not final.
66

77
### Added
8+
- Add AI_SEO_ENHANCER feature for Business plans and above and JP complete plans
89
- Add atomic site ID to WooCommerce tracker data
910
- Added a temporary version of Instant Search which excludes business/commerce sites for performance reasons. As soon as the index rebuild is done and we have jetpack-search-30 ready, we can remove this Instant Search version.
1011
- Added newsletter widget.

vendor/automattic/jetpack-plans/src/class-current-plan.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ class Current_Plan {
135135
'wooexpress-medium-bundle-monthly',
136136
'wp_com_hundred_year_bundle_centennially',
137137
),
138-
'supports' => array(),
138+
'supports' => array(
139+
'ai-seo-enhancer',
140+
),
139141
),
140142

141143
'complete' => array(

vendor/composer/installed.json

+38-38
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"dist": {
8282
"type": "path",
8383
"url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats",
84-
"reference": "1dbc366f857b00d28ee707c8ec8460f27da69e9b"
84+
"reference": "7deb1f0f4d90dfb1c63fdb281839e6af637f8313"
8585
},
8686
"require": {
8787
"php": ">=7.2"
@@ -138,7 +138,7 @@
138138
"dist": {
139139
"type": "path",
140140
"url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui",
141-
"reference": "b4b5775352f1cbd96c9e94e49276b0749d91fbe0"
141+
"reference": "5f434f0530ff5342422fa1d619c8f2f2e9b10b23"
142142
},
143143
"require": {
144144
"php": ">=7.2"
@@ -201,7 +201,7 @@
201201
"dist": {
202202
"type": "path",
203203
"url": "/tmp/jetpack-build/Automattic/jetpack-assets",
204-
"reference": "3f0208f75045ab010737662227ff4b00548d54d8"
204+
"reference": "ce2a1793e2f8a616dd234b675aca3e7e8c16c852"
205205
},
206206
"require": {
207207
"automattic/jetpack-constants": "^3.0.6-alpha",
@@ -274,13 +274,13 @@
274274
"dist": {
275275
"type": "path",
276276
"url": "/tmp/jetpack-build/Automattic/jetpack-blaze",
277-
"reference": "111496ffadd0796319f19ae6c747f7fe54c8543a"
277+
"reference": "5b733f133ff8c58b57a8123a819df5a02b8ab37b"
278278
},
279279
"require": {
280280
"automattic/jetpack-assets": "^4.0.15-alpha",
281281
"automattic/jetpack-connection": "^6.9.1-alpha",
282282
"automattic/jetpack-constants": "^3.0.6-alpha",
283-
"automattic/jetpack-plans": "^0.6.2-alpha",
283+
"automattic/jetpack-plans": "^0.7.0-alpha",
284284
"automattic/jetpack-redirect": "^3.0.6-alpha",
285285
"automattic/jetpack-status": "^5.1.1-alpha",
286286
"automattic/jetpack-sync": "^4.10.0-alpha",
@@ -353,7 +353,7 @@
353353
"dist": {
354354
"type": "path",
355355
"url": "/tmp/jetpack-build/Automattic/jetpack-blocks",
356-
"reference": "498e574a7ab215aff0b78ab1ee128d3b7636cea3"
356+
"reference": "61f1d5dd2d3181dc2bd424976372ef8f76c57529"
357357
},
358358
"require": {
359359
"automattic/jetpack-constants": "^3.0.6-alpha",
@@ -413,7 +413,7 @@
413413
"dist": {
414414
"type": "path",
415415
"url": "/tmp/jetpack-build/Automattic/jetpack-calypsoify",
416-
"reference": "ea99d8258078be8a830385615bf72b81d8da591d"
416+
"reference": "bceb402f46d32ae32a06876695b216a1b30b0e5c"
417417
},
418418
"require": {
419419
"automattic/jetpack-assets": "^4.0.15-alpha",
@@ -482,7 +482,7 @@
482482
"dist": {
483483
"type": "path",
484484
"url": "/tmp/jetpack-build/Automattic/jetpack-classic-theme-helper",
485-
"reference": "99546140d992a68821b664b5541b460e2b64a3f3"
485+
"reference": "846b68fe9e0ade8e053c4936632cb8a0a3c2f960"
486486
},
487487
"require": {
488488
"automattic/jetpack-assets": "^4.0.15-alpha",
@@ -550,7 +550,7 @@
550550
"dist": {
551551
"type": "path",
552552
"url": "/tmp/jetpack-build/Automattic/jetpack-compat",
553-
"reference": "7a664b0244539f5f2cc439c72f833af1b041d469"
553+
"reference": "c955cfcd9d3d3524b7d6e96340b5ba1651b55fd1"
554554
},
555555
"require": {
556556
"php": ">=7.2"
@@ -590,7 +590,7 @@
590590
"dist": {
591591
"type": "path",
592592
"url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin",
593-
"reference": "1dc7fcf3ffc5dbfcb11fd83c4a13a8e400558001"
593+
"reference": "4d44ef3845045ade5b4bb88172e511f3a7fca3d9"
594594
},
595595
"require": {
596596
"composer-plugin-api": "^2.2",
@@ -654,7 +654,7 @@
654654
"dist": {
655655
"type": "path",
656656
"url": "/tmp/jetpack-build/Automattic/jetpack-config",
657-
"reference": "5db50cbe9326342965dde5f3d5a0d41255397543"
657+
"reference": "6f34f082a8863c4430c6dd5e2d5a1dfd5844e4f9"
658658
},
659659
"require": {
660660
"php": ">=7.2"
@@ -731,7 +731,7 @@
731731
"dist": {
732732
"type": "path",
733733
"url": "/tmp/jetpack-build/Automattic/jetpack-connection",
734-
"reference": "0cb6d43925a360c04578191d061c72be4c31d077"
734+
"reference": "28127327efbd7415f3588ff8799592bc12b73d83"
735735
},
736736
"require": {
737737
"automattic/jetpack-a8c-mc-stats": "^3.0.4",
@@ -819,7 +819,7 @@
819819
"dist": {
820820
"type": "path",
821821
"url": "/tmp/jetpack-build/Automattic/jetpack-constants",
822-
"reference": "efe7ae6d65754ba2292728708088d1ee8589221c"
822+
"reference": "94cee6d1e0826d8b3f2525605d2cb41b312530ea"
823823
},
824824
"require": {
825825
"php": ">=7.2"
@@ -877,7 +877,7 @@
877877
"dist": {
878878
"type": "path",
879879
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
880-
"reference": "03a39f8c303acfab02c5725564664afe7ec13042"
880+
"reference": "5dcd4ef1eca542f53dc487928359aaccfd2a74f4"
881881
},
882882
"require": {
883883
"php": ">=7.2"
@@ -934,7 +934,7 @@
934934
"dist": {
935935
"type": "path",
936936
"url": "/tmp/jetpack-build/Automattic/jetpack-google-analytics",
937-
"reference": "3d9736f592f3851a262085fad49fb18b74a02be1"
937+
"reference": "dc65dde8b9c8b5ea2a07d2e34c3923123be3c146"
938938
},
939939
"require": {
940940
"automattic/jetpack-status": "^5.1.1-alpha",
@@ -1003,7 +1003,7 @@
10031003
"dist": {
10041004
"type": "path",
10051005
"url": "/tmp/jetpack-build/Automattic/jetpack-ip",
1006-
"reference": "3920ed6466c906362742cc5520dc85b045a145d4"
1006+
"reference": "87093d5fd52b46f680bd51ace5e75af47704eae4"
10071007
},
10081008
"require": {
10091009
"php": ">=7.2"
@@ -1065,7 +1065,7 @@
10651065
"dist": {
10661066
"type": "path",
10671067
"url": "/tmp/jetpack-build/Automattic/jetpack-jitm",
1068-
"reference": "f2aba402399728dcf9e0a08ec40d699df097eb1b"
1068+
"reference": "424a66ef8f0472b7ba9d8ea38c28006734633b35"
10691069
},
10701070
"require": {
10711071
"automattic/jetpack-a8c-mc-stats": "^3.0.4",
@@ -1144,7 +1144,7 @@
11441144
"dist": {
11451145
"type": "path",
11461146
"url": "/tmp/jetpack-build/Automattic/jetpack-logo",
1147-
"reference": "96dce1e0995ebe118c475b6f1d1c3b97c23f0462"
1147+
"reference": "c36d02fa55f4d3a60ad39f1e753c275cce2f90fc"
11481148
},
11491149
"require": {
11501150
"php": ">=7.2"
@@ -1201,7 +1201,7 @@
12011201
"dist": {
12021202
"type": "path",
12031203
"url": "/tmp/jetpack-build/Automattic/jetpack-masterbar",
1204-
"reference": "25b5dbd04be19dc3281155fdc5aa0731137413fd"
1204+
"reference": "5fef32787e3af5d0c798095e6cd1d707670a481e"
12051205
},
12061206
"require": {
12071207
"automattic/jetpack-assets": "^4.0.15-alpha",
@@ -1211,7 +1211,7 @@
12111211
"automattic/jetpack-device-detection": "^3.0.5",
12121212
"automattic/jetpack-jitm": "^4.2.9-alpha",
12131213
"automattic/jetpack-logo": "^3.0.4",
1214-
"automattic/jetpack-plans": "^0.6.2-alpha",
1214+
"automattic/jetpack-plans": "^0.7.0-alpha",
12151215
"automattic/jetpack-status": "^5.1.1-alpha",
12161216
"automattic/jetpack-subscribers-dashboard": "^0.1.3-alpha",
12171217
"php": ">=7.2"
@@ -1287,7 +1287,7 @@
12871287
"dist": {
12881288
"type": "path",
12891289
"url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom",
1290-
"reference": "fa45ca0d728a5dfae2c3ce72af56e921d35eadac"
1290+
"reference": "e32006f9dc7f2ae6f0162d9db6c396c27b8d62b2"
12911291
},
12921292
"require": {
12931293
"automattic/jetpack-assets": "^4.0.15-alpha",
@@ -1374,7 +1374,7 @@
13741374
"dist": {
13751375
"type": "path",
13761376
"url": "/tmp/jetpack-build/Automattic/jetpack-password-checker",
1377-
"reference": "3c11cce1be68de7ffeaa105cde54786567bb6f1a"
1377+
"reference": "80e2c34afa91b8c04e802387615796394b6e08b2"
13781378
},
13791379
"require": {
13801380
"php": ">=7.2"
@@ -1428,12 +1428,12 @@
14281428
},
14291429
{
14301430
"name": "automattic/jetpack-plans",
1431-
"version": "0.6.2-alpha.1742998768",
1432-
"version_normalized": "0.6.2.0-alpha1742998768",
1431+
"version": "0.7.0-alpha.1743090669",
1432+
"version_normalized": "0.7.0.0-alpha1743090669",
14331433
"dist": {
14341434
"type": "path",
14351435
"url": "/tmp/jetpack-build/Automattic/jetpack-plans",
1436-
"reference": "2179602d578e9df23cfe6ff381062161f45da3df"
1436+
"reference": "d18feab989c9a6af29e90fd9f784c49b95159262"
14371437
},
14381438
"require": {
14391439
"automattic/jetpack-connection": "^6.9.1-alpha",
@@ -1457,7 +1457,7 @@
14571457
"link-template": "https://github.com/Automattic/jetpack-plans/compare/v${old}...v${new}"
14581458
},
14591459
"branch-alias": {
1460-
"dev-trunk": "0.6.x-dev"
1460+
"dev-trunk": "0.7.x-dev"
14611461
}
14621462
},
14631463
"installation-source": "dist",
@@ -1499,7 +1499,7 @@
14991499
"dist": {
15001500
"type": "path",
15011501
"url": "/tmp/jetpack-build/Automattic/jetpack-post-list",
1502-
"reference": "bc5f2c6b439fb9aa607df7582cd5545205275f9a"
1502+
"reference": "5c2742df4dc9645d7a5f0261a04d3562817fb964"
15031503
},
15041504
"require": {
15051505
"automattic/jetpack-assets": "^4.0.15-alpha",
@@ -1568,7 +1568,7 @@
15681568
"dist": {
15691569
"type": "path",
15701570
"url": "/tmp/jetpack-build/Automattic/jetpack-redirect",
1571-
"reference": "f8a78dad19a49413377656e670e86a59c54b6d70"
1571+
"reference": "ef7660b0afb38d37f2276624fa039a59c4a4a04b"
15721572
},
15731573
"require": {
15741574
"automattic/jetpack-status": "^5.1.1-alpha",
@@ -1627,7 +1627,7 @@
16271627
"dist": {
16281628
"type": "path",
16291629
"url": "/tmp/jetpack-build/Automattic/jetpack-roles",
1630-
"reference": "8316fb7739e517976309ef4417fdd9d1fc2570d1"
1630+
"reference": "214621f19056d89455ded445f81a33e35de98939"
16311631
},
16321632
"require": {
16331633
"php": ">=7.2"
@@ -1685,7 +1685,7 @@
16851685
"dist": {
16861686
"type": "path",
16871687
"url": "/tmp/jetpack-build/Automattic/jetpack-stats",
1688-
"reference": "ff99edd7911adcebb37c714de408d21b4633f009"
1688+
"reference": "369fc1dd0385d180c1c4a221e5c7a9445ddc0373"
16891689
},
16901690
"require": {
16911691
"automattic/jetpack-connection": "^6.9.1-alpha",
@@ -1755,13 +1755,13 @@
17551755
"dist": {
17561756
"type": "path",
17571757
"url": "/tmp/jetpack-build/Automattic/jetpack-stats-admin",
1758-
"reference": "3cbc2619f48ac81539b46e64528b757e96794b00"
1758+
"reference": "164ca5757fbaf8d02ced985893f815ed709410ab"
17591759
},
17601760
"require": {
17611761
"automattic/jetpack-connection": "^6.9.1-alpha",
17621762
"automattic/jetpack-constants": "^3.0.6-alpha",
17631763
"automattic/jetpack-jitm": "^4.2.9-alpha",
1764-
"automattic/jetpack-plans": "^0.6.2-alpha",
1764+
"automattic/jetpack-plans": "^0.7.0-alpha",
17651765
"automattic/jetpack-stats": "^0.15.9-alpha",
17661766
"automattic/jetpack-status": "^5.1.1-alpha",
17671767
"php": ">=7.2"
@@ -1826,7 +1826,7 @@
18261826
"dist": {
18271827
"type": "path",
18281828
"url": "/tmp/jetpack-build/Automattic/jetpack-status",
1829-
"reference": "f711ae6d1219b28eaa3bcf3e8325f8e2c6446271"
1829+
"reference": "cfe0092b9d567614944d4a7cb4582a63d74d5ce8"
18301830
},
18311831
"require": {
18321832
"automattic/jetpack-constants": "^3.0.6-alpha",
@@ -1894,13 +1894,13 @@
18941894
"dist": {
18951895
"type": "path",
18961896
"url": "/tmp/jetpack-build/Automattic/jetpack-subscribers-dashboard",
1897-
"reference": "788515976a9d5cf3426b81c376033eca5bd1ec27"
1897+
"reference": "294a91f41e7f90426a7334fbc15c7bfbfae435a2"
18981898
},
18991899
"require": {
19001900
"automattic/jetpack-connection": "^6.9.1-alpha",
19011901
"automattic/jetpack-constants": "^3.0.6-alpha",
19021902
"automattic/jetpack-jitm": "^4.2.9-alpha",
1903-
"automattic/jetpack-plans": "^0.6.2-alpha",
1903+
"automattic/jetpack-plans": "^0.7.0-alpha",
19041904
"automattic/jetpack-stats": "^0.15.9-alpha",
19051905
"automattic/jetpack-status": "^5.1.1-alpha",
19061906
"php": ">=7.2"
@@ -1976,7 +1976,7 @@
19761976
"dist": {
19771977
"type": "path",
19781978
"url": "/tmp/jetpack-build/Automattic/jetpack-sync",
1979-
"reference": "c8343affb5559c03e641c38e93fa8815c5fa30b3"
1979+
"reference": "e6c0bc83fb7e98d7a5773545ed5a10ef70fc8a8e"
19801980
},
19811981
"require": {
19821982
"automattic/jetpack-connection": "^6.9.1-alpha",
@@ -2052,12 +2052,12 @@
20522052
"dist": {
20532053
"type": "path",
20542054
"url": "/tmp/jetpack-build/Automattic/scheduled-updates",
2055-
"reference": "f9cee8bf782232cbb4a50127bdedf397260e9398"
2055+
"reference": "d8e228871ebc0caba1079b9fd64e852e8c7354d5"
20562056
},
20572057
"require": {
20582058
"automattic/jetpack-connection": "^6.9.1-alpha",
20592059
"automattic/jetpack-constants": "^3.0.6-alpha",
2060-
"automattic/jetpack-plans": "^0.6.2-alpha",
2060+
"automattic/jetpack-plans": "^0.7.0-alpha",
20612061
"automattic/jetpack-status": "^5.1.1-alpha",
20622062
"automattic/jetpack-sync": "^4.10.0-alpha",
20632063
"php": ">=7.2"

0 commit comments

Comments
 (0)