[wp-trac] [WordPress Trac] #25485: Why does esc_attr not double encode entities by default?

WordPress Trac noreply at wordpress.org
Fri Oct 4 13:28:33 UTC 2013


#25485: Why does esc_attr not double encode entities by default?
--------------------------+------------------------------
 Reporter:  smerriman     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nacin):

 We've generally found that the benefits of esc_attr() not double-encoding
 entities far outweigh any potential side effects.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25485#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list