[wp-trac] [WordPress Trac] #37204: wp_strip_all_tags() function does not strip all tags

WordPress Trac noreply at wordpress.org
Mon Jun 27 21:17:32 UTC 2016


#37204: wp_strip_all_tags() function does not strip all tags
-----------------------------+-----------------------------
 Reporter:  aldemarcalazans  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Security         |    Version:  4.4.3
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 If you apply the function wp_strip_all_tags() to the following strings,
 the result will be as follows:


 {{{
 <myname> ...................... ''              (OK)
 <myname ....................... ''              (OK)
 myname> ....................... myname>         (BAD)
 }}}




 As you can see, if only one "greater than" character is placed on the
 right of the word, the function does not work.

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


More information about the wp-trac mailing list