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

WordPress Trac noreply at wordpress.org
Tue Jul 14 17:55:09 UTC 2015


#17780: Use PHP native double encoding prevention in htmlspecialchars()
--------------------------+-----------------------------
 Reporter:  nbachiyski    |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  4.3
Component:  Formatting    |     Version:
 Severity:  major         |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"33271"]:
 {{{
 #!CommitTicketReference repository="" revision="33271"
 After [33148]:
 Don't nest `esc_attr()` and `htmlspecialchars()` when escaping the post
 title on the edit post screen.

 Unrevert parts of [32851] and [32850].

 Adds/alters unit tests.

 Props miqrogroove.
 Fixes #17780.
 }}}

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


More information about the wp-trac mailing list