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

WordPress Trac noreply at wordpress.org
Sun Jul 9 06:59:56 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 westonruter):

 @wido It will currently allow whatever is allowed in post content. So if
 Kses is expanded to allow for more tags in post content, then those tags
 will be allowed in the Custom HTML widget. This only applies if a user
 doesn't have the `unfiltered_html` capability, in which case they can use
 any HTML whatsoever

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


More information about the wp-trac mailing list