Commit f4d590a
committed
Add label_for arg for fields
With this the Settings API will add the "for" attribute for labels.
With this clicking a label will focus on the relevant input.
This behavior is used across Wordpress options pages.
Signed-off-by: Roi Dayan <roi.dayan@gmail.com>1 parent 52f96ac commit f4d590a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
0 commit comments