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

WordPress Trac noreply at wordpress.org
Wed Jun 3 03:31:59 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:
--------------------------+----------------------
Changes (by miqrogroove):

 * status:  new => closed
 * version:  4.2.2 =>
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 htmlentities() does what you want and will run faster anyway.  There is no
 bug here.

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


More information about the wp-trac mailing list