[wp-trac] [WordPress Trac] #19712: Escape taxonomy labels in tags meta box

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 28 21:50:54 UTC 2012


#19712: Escape taxonomy labels in tags meta box
-----------------------------+------------------------------
 Reporter:  niallkennedy     |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Editor           |     Version:
 Severity:  minor            |  Resolution:
 Keywords:  has-patch close  |
-----------------------------+------------------------------
Changes (by nacin):

 * keywords:  has-patch => has-patch close
 * milestone:  3.4 => Awaiting Review


Comment:

 Why should these be escaped? These are strings set by plugins and/or then
 translated. Post type and taxonomy labels should be considered safe. They
 are not found in attributes and therefore do not need esc_attr(), which is
 the only real concern for translated strings.

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


More information about the wp-trac mailing list