[wp-trac] [WordPress Trac] #32008: Wrapper method for esc_attr

WordPress Trac noreply at wordpress.org
Fri May 8 16:07:11 UTC 2015


#32008: Wrapper method for esc_attr
-------------------------+-------------------------
 Reporter:  welcher      |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  4.2
 Severity:  normal       |  Resolution:  maybelater
 Keywords:  has-patch    |     Focuses:
-------------------------+-------------------------
Changes (by obenland):

 * keywords:  has-patch dev-feedback 2nd-opinion => has-patch
 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  4.3 =>


Comment:

 I agree, it's too close to the translation functions syntax which is
 confusing enough for developers as it is, see @mordauk's comment from
 earlier.

 For template tags we have `get_the_` and `the_`, but this is not
 applicable here, which is fine. I think it's not too much to ask to type
 out `echo`.

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


More information about the wp-trac mailing list