[wp-trac] [WordPress Trac] #17780: Use PHP native double encoding prevention in htmlspecialchars()

WordPress Trac noreply at wordpress.org
Fri Jun 19 01:52:50 UTC 2015


#17780: Use PHP native double encoding prevention in htmlspecialchars()
------------------------------+--------------------------
 Reporter:  nbachiyski        |       Owner:  miqrogroove
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.3
Component:  Formatting        |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by azaozz):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32851"]:
 {{{
 #!CommitTicketReference repository="" revision="32851"
 Fix using `htmlspecialchars()` whit the `$double_encode` parameter. PHP <
 5.4 doesn't validate the entities.
 Props miqrogroove. Fixes #17780.
 }}}

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


More information about the wp-trac mailing list