Commit 4e36131
committed
Allow data-wp-action and data-wp-nonce through wp_kses in Settings Form
get_allowed_html() was missing data-wp-action and data-wp-nonce for
input and select elements. wp_kses stripped these attributes, so
TomSelect could not read the action/nonce off the element and sent
AJAX requests without them.1 parent d92498b commit 4e36131
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| |||
230 | 232 | | |
231 | 233 | | |
232 | 234 | | |
| 235 | + | |
| 236 | + | |
233 | 237 | | |
234 | 238 | | |
235 | 239 | | |
| |||
0 commit comments