[wp-trac] [WordPress Trac] #21779: Querying Taxonomies (Tag) containing the sequence "-נ-" *still* fails.

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 3 15:10:37 UTC 2012


#21779: Querying Taxonomies (Tag) containing the sequence "-נ-" *still* fails.
--------------------------+-----------------------------
 Reporter:  rstern        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21779>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list