[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
Sun Sep 11 16:13:47 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:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------------------
Comment (by boonebgorges):
Thanks for the patch, @elrae. Here's an existing test you can copy for the
purposes of testing with apostrophes and other slashed characters:
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/term/taxQuery.php#L170
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37276#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list