kraftbj / genesis-enews-extended

WordPress widget to provide additional functionality to the Genesis eNews widget.
https://kraft.blog/genesis-enews-extended/
Other
12 stars 15 forks source link

Add escaping to get_field_*() #18

Closed GaryJones closed 11 years ago

GaryJones commented 11 years ago

While the class name (used to construct the $id_base when it is missing) and field name are controlled from the class itself, the use of get_field_name() and get_field_id() should still be escaped (esc_attr()) as you would when inserting any other PHP value into markup attribute value.