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

WordPress Trac noreply at wordpress.org
Wed Apr 26 10:50:11 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:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 There's a typo in the first occurrence of the {{{wp_kses_allowed_html}}}
 filter inside {{{wp_kses_allowed_html()}}}. The 2nd arg in the call to
 {{{apply_filters()}}} should read {{{$tags}}}, not {{{$context}}}.

 This ''may'' confuse users of the filter.

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


More information about the wp-trac mailing list