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

WordPress Trac noreply at wordpress.org
Sun Jul 28 22:16:39 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     |
--------------------------+------------------------------
Changes (by ericmann):

 * keywords:  needs-testing dev-feedback => has-patch


Comment:

 Since `get_term_by()` expects the name parameter to be escaped, be sure
 it's escaped before passing it along.

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


More information about the wp-trac mailing list