Skip to content

Commit b7f62dd

Browse files
author
Doğa Gürdal
committed
fix(snippets/json): add missing name property to message fieldthis is currently required due to the way flynt registers fields in ACF
1 parent be19a94 commit b7f62dd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

snippets/json.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,10 @@
352352
"{",
353353
"\t\"label\": \"$1\",",
354354
"\t\"type\": \"message\",",
355-
"\t\"message\": \"$2\",",
356-
"\t\"new_lines\": \"${3|wpautop,br|}\",",
357-
"\t\"esc_html\": ${4|true,false|}",
355+
"\t\"name\": \"$2\",",
356+
"\t\"message\": \"$3\",",
357+
"\t\"new_lines\": \"${4|wpautop,br|}\",",
358+
"\t\"esc_html\": ${5|true,false|}",
358359
"}"
359360
]
360361
},

0 commit comments

Comments
 (0)