[wp-trac] [WordPress Trac] #32556: Clarify behaviour of esc_attr() with respect to HTML entities

WordPress Trac noreply at wordpress.org
Wed Jun 3 16:17:09 UTC 2015


#32556: Clarify behaviour of esc_attr() with respect to HTML entities
--------------------------+----------------------
 Reporter:  leewillis77   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by miqrogroove):

 Replying to [comment:3 leewillis77]:
 > The & passed into esc_attr is being decoded to & when it should not
 be.

 This appears to be a valid bug.  Let me just add that this is very
 different from the ticket description, and I don't think we will need an
 extra ticket at this point.  The enhancement request at #17780 will fix
 this bug.  I hope that fully addresses your concern.

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


More information about the wp-trac mailing list