Commit 76ff293
Forms: Fix checkbox field value not output in classic editor (#46354)
* Update class-editor-view.php
* Create replace-escape-function-in-checkbox-input-value
* Add unit test for checkbox template value output
Verifies that the checkbox template outputs a non-empty value attribute,
catching the bug where esc_attr__() was used instead of esc_attr_e().
* chore: add Jetpack plugin changelog for checkbox fix
---------
Co-authored-by: Brandon Kraft <[email protected]>
Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/20973734962
Upstream-Ref: Automattic/jetpack@35f85711 parent 81750d3 commit 76ff293
File tree
7 files changed
+138
-136
lines changed- jetpack_vendor
- automattic/jetpack-forms
- src/contact-form
- vendor/composer
7 files changed
+138
-136
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments