[wp-trac] [WordPress Trac] #32192: Add HTML attribute builder helper function

WordPress Trac noreply at wordpress.org
Mon May 4 14:35:05 UTC 2015


#32192: Add HTML attribute builder helper function
-------------------------+------------------------------
 Reporter:  paulwilde    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  4.2.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by jdgrimes):

 Replying to [comment:5 azaozz]:
 > The same applies for the HTML attributes. In addition having the escape
 functions in there means some things will be double escaped and some
 things will not be escaped properly.

 Escaping twice may make the site do extra work, but double-escaping isn't
 a concern as far a breaking things since these functions won't actually
 add an extra layer of escaping when called twice.

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


More information about the wp-trac mailing list