[wp-trac] [WordPress Trac] #42608: Allow basic inline HTML tags and attributes in sidebar description on "Widgets" page

WordPress Trac noreply at wordpress.org
Tue May 15 16:50:59 UTC 2018


#42608: Allow basic inline HTML tags and attributes in sidebar description on
"Widgets" page
--------------------------+---------------------
 Reporter:  flixos90      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9.7
Component:  Widgets       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by flixos90):

 * milestone:  5.0 => 4.9.7


Comment:

 [attachment:42608.2.diff] uses a more appropriate `wp_kses()` call using
 `sidebar_description` as context which will internally ensure that tags
 from the global `$allowedtags` are allowed in this case.

 @philclothier
 > Any chance we can push this to a 4.9 release rather than waiting for
 5.0?

 I agree that makes sense.

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


More information about the wp-trac mailing list