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/mailchimp/block.json +21 -11 12.7.3 → 16.3-a.7 View file →
@@ -27,14 +27,12 @@
27 27 }
28 28 },
29 29 "attributes": {
30 30 "emailPlaceholder": {
31 - "type": "string",
32 - "default": "Enter your email"
31 + "type": "string"
33 32 },
34 33 "consentText": {
35 - "type": "string",
36 - "default": "By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time."
34 + "type": "string"
37 35 },
38 36 "interests": {
39 37 "type": "array",
40 38 "default": []
@@ -39,10 +37,9 @@
39 37 "type": "array",
40 38 "default": []
41 39 },
42 40 "processingLabel": {
43 - "type": "string",
44 - "default": "Processing…"
41 + "type": "string"
45 42 },
46 43 "signupFieldTag": {
47 44 "type": "string"
48 45 },
@@ -49,14 +46,12 @@
49 46 "signupFieldValue": {
50 47 "type": "string"
51 48 },
52 49 "successLabel": {
53 - "type": "string",
54 - "default": "Success! You're on the list."
50 + "type": "string"
55 51 },
56 52 "errorLabel": {
57 - "type": "string",
58 - "default": "Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again."
53 + "type": "string"
59 54 },
60 55 "preview": {
61 56 "type": "boolean",
62 57 "default": false
@@ -61,6 +56,21 @@
61 56 "type": "boolean",
62 57 "default": false
63 58 }
64 59 },
65 - "editorScript": "file:../editor.js"
60 + "example": {
61 + "attributes": {
62 + "preview": true
63 + },
64 + "innerBlocks": [
65 + {
66 + "name": "jetpack/button",
67 + "attributes": {
68 + "element": "button",
69 + "text": "Join my Mailchimp audience",
70 + "uniqueId": "mailchimp-widget-id"
71 + }
72 + }
73 + ]
74 + },
75 + "editorScript": "jetpack-blocks-editor"
66 76 }