[wp-trac] [WordPress Trac] #37276: tax_query with field=name doesn't work if the term contains an apostrophe
WordPress Trac
noreply at wordpress.org
Thu Jul 7 11:19:44 UTC 2016
#37276: tax_query with field=name doesn't work if the term contains an apostrophe
--------------------------+------------------------------
Reporter: smerriman | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by elrae):
There is no danger with slugs, the function just runs stripslashes and
removes them. When dealing with slugs, you aren't allowed to use
characters that would require a slash, and you aren't allowed to use
special chars anyways.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37276#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list