[wp-trac] [WordPress Trac] #5305: permalinks broken when article name is numeric

WordPress Trac noreply at wordpress.org
Fri Feb 27 02:14:07 UTC 2015


#5305: permalinks broken when article name is numeric
--------------------------+---------------------------
 Reporter:  thomask       |       Owner:  valendesigns
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.2
Component:  Permalinks    |     Version:  2.3.1
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------------

Comment (by valendesigns):

 @boonebgorges I originally had `is_main_query()` in the code about 5
 patches ago, but I removed it before uploading and after finding that
 `is_date` worked reasonably well to keep our code out of other queries.
 Though, as you've pointed out we are now blocking a valid date query
 altogether. So yes, I agree we need to move it or rethink the
 implementation. I'm working on some ideas to see if it's possible to keep
 it where it is, but I'm not all that optimistic.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/5305#comment:71>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list