[wp-trac] [WordPress Trac] #40575: Typo in wp_kses_allowed_html()

WordPress Trac noreply at wordpress.org
Wed Apr 26 12:03:04 UTC 2017


#40575: Typo in wp_kses_allowed_html()
--------------------------+------------------------------
 Reporter:  henry.wright  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.7.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by henry.wright):

 @ketuchetan thanks for 40575.patch but it's not quite right. Even though I
 said {{{$tags}}} in the ticket description, it's not the variable to use.
 {{{$allowedposttags}}} and {{{$allowedtags}}} both hold "allowed HTML" at
 the point the filter runs.

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


More information about the wp-trac mailing list