PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 All 506 releases
← All changes | _inc/blocks/premium-content/block.json +8 -23 12.8.3 → 16.3-a.7 View file →
@@ -1,8 +1,8 @@
1 1 {
2 2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 3 "apiVersion": 3,
4 - "name": "jetpack/premium-content",
4 + "name": "premium-content/container",
5 5 "title": "Paid Content",
6 6 "description": "Restrict access to your content for paying subscribers.",
7 7 "keywords": [
8 8 "buy",
@@ -7,8 +7,9 @@
7 7 "keywords": [
8 8 "buy",
9 9 "credit card",
10 10 "debit card",
11 + "monetize",
11 12 "earn",
12 13 "exclusive",
13 14 "gated",
14 15 "gofundme",
@@ -37,38 +38,22 @@
37 38 "substack"
38 39 ],
39 40 "version": "12.5.0",
40 41 "textdomain": "jetpack",
41 - "category": "grow",
42 - "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='m12.74,14.43l-4.1-1.26-.13.71-.42,6.87c-.03.49.52.81.93.54l3.72-2.48,4,2.51c.42.26.96-.07.92-.56l-.64-6.87v-.71l-4.28,1.26Z'/><path d='m12.74,15.14c-3.55,0-6.44-2.89-6.44-6.44s2.89-6.44,6.44-6.44,6.44,2.89,6.44,6.44-2.89,6.44-6.44,6.44Zm0-11.89c-3,0-5.44,2.44-5.44,5.44s2.44,5.44,5.44,5.44,5.44-2.44,5.44-5.44-2.44-5.44-5.44-5.44Z'/><path d='M11.95 11.08 9.36 8.48 10.06 7.77 11.95 9.66 15.42 6.19 16.13 6.9 11.95 11.08z'/></svg>",
42 + "category": "monetize",
43 + "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M12 1.75a6.75 6.75 0 014 12.19l1.36 6.48a.85.85 0 01-1.22.93L12 19.6l-4.14 1.75a.85.85 0 01-1.22-.93l1.36-6.48A6.75 6.75 0 0112 1.75zm0 1.5a5.25 5.25 0 100 10.5 5.25 5.25 0 000-10.5zm-2.2 12.05l-.86 4.06 2.77-1.17a.85.85 0 01.66 0l2.77 1.17-.86-4.06A6.72 6.72 0 0112 15.25a6.72 6.72 0 01-2.2-.37zM11.3 11.6 9 9.3l1.1-1.1 1.2 1.2 2.5-2.5 1.1 1.1z'/></svg>",
43 44 "supports": {
44 45 "html": false
45 46 },
46 47 "providesContext": {
47 - "premium-content/planId": "selectedPlanId",
48 + "premium-content/planIds": "selectedPlanIds",
48 49 "premium-content/isPreview": "isPreview",
49 50 "isPremiumContentChild": "isPremiumContentChild"
50 51 },
51 52 "attributes": {
52 - "newPlanName": {
53 - "type": "string",
54 - "default": "Monthly Subscription"
55 - },
56 - "newPlanCurrency": {
57 - "type": "string",
58 - "default": "USD"
59 - },
60 - "newPlanPrice": {
61 - "type": "number",
62 - "default": 5
63 - },
64 - "newPlanInterval": {
65 - "type": "string",
66 - "default": "1 month"
67 - },
68 - "selectedPlanId": {
69 - "type": "number",
70 - "default": 0
53 + "selectedPlanIds": {
54 + "type": "array",
55 + "default": []
71 56 },
72 57 "isPreview": {
73 58 "type": "boolean",
74 59 "default": false