﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
21779,"Querying Taxonomies (Tag) containing the sequence ""-נ-"" *still* fails.",rstern,nacin,"The issue described in #13413

Still exists on IIS at least and seems to have only ever been fixed for a brief period of time between 3.1 and 3.1.1

Same steps, latest trunk:
1. Created a Tag ""test -נ- end""
2. Added the Tag to a Post
3. Pressed that Tag in my Tag Cloud
4. Get the not Found Message.

System:
* Windows/IIS 7
* PHP 5.4.6

Changing the preg_*() calls in parse_tax_query() to include the /u modifier or changing \s to \r\n\t do seem to fix this issue.

Tested WordPress 3.1, 3.1.1, 3.1.4, 3.2, 3.4.1 and latest trunk.

I've tried to track down the history of this bug. It is ""fixed"" in 3.1, but after 3.1.1 tag queries with the letter nun returned all posts:
* http://core.trac.wordpress.org/changeset/17500/trunk/wp-includes/query.php

The new preg_split() with the problematic \s is in effect, which splits the tag into two (non-existing) terms. Due to a (different) bug fixed in 3.2 all posts are returned.

After 3.2 no posts are returned.
* http://core.trac.wordpress.org/changeset/17686/trunk/wp-includes/taxonomy.php

The underlying cause of the bug, unfortunately, has not been fixed.

",defect (bug),closed,normal,3.5,Query,,normal,fixed,has-patch needs-unit-tests,pippin@… mario@…
