[wp-trac] [WordPress Trac] #37085: $allowedposttags doesn't allow form inputs

WordPress Trac noreply at wordpress.org
Mon Jun 13 09:23:19 UTC 2016


#37085: $allowedposttags doesn't allow form inputs
--------------------------+-----------------------------
 Reporter:  wido          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The global $allowedposttags include the following allowed tags:

 * Form
 * Label
 * Legend
 * Textarea

 But not inputs, select, option and other input tags.
 So when I have a form within an html string and use '''wp_kses_post'''
 function I miss all of the form inputs.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37085>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list