[wp-trac] [WordPress Trac] #40907: Introduce widget dedicated for HTML code

WordPress Trac noreply at wordpress.org
Fri Jul 7 12:31:42 UTC 2017


#40907: Introduce widget dedicated for HTML code
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
     Type:  feature request                      |  westonruter
 Priority:  normal                               |      Status:  reopened
Component:  Widgets                              |   Milestone:  4.8.1
 Severity:  normal                               |     Version:  4.8
 Keywords:  has-patch has-unit-tests commit      |  Resolution:
  fixed-major                                    |     Focuses:
-------------------------------------------------+-------------------------

Comment (by wido):

 Replying to [comment:7 westonruter]:
 > @jbpaul17 by “HTML Code” it is meant to accept any acceptable HTML, and
 that includes `script` tags (if the user can `unfiltered_html`). This
 would contrast with a “JavaScript Code” (or “CSS Code”) widget which would
 expect just code in that language.

 What about #37085 with kses_post allowed html tags? Should not allow
 forms, inputs, textarea etc...?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40907#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list