[wp-trac] [WordPress Trac] #24354: get_cat_id() fails with category names containing ampersand

WordPress Trac noreply at wordpress.org
Sun Jul 28 23:28:21 UTC 2013


#24354: get_cat_id() fails with category names containing ampersand
-----------------------------------+------------------------------
 Reporter:  Kenshino               |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Taxonomy               |     Version:  3.5.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------

Comment (by ericmann):

 Fair enough. Will take a look at the other ticket.

 The question remains, tho, if we are escaping & to & for storage, do
 we need to escape before querying by the name? Considering get_term_by()
 expects already escaped data, we should be escaping on both ends.

 This is beyond just fixing kses...

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


More information about the wp-trac mailing list