[wp-trac] [WordPress Trac] #15487: Custom permalinks redirecting back to category list instead of post

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 19 22:46:23 UTC 2010


#15487: Custom permalinks redirecting back to category list instead of post
--------------------------+-------------------------------------------------
 Reporter:  tott          |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  high          |    Milestone:  3.1     
Component:  Canonical     |      Version:  3.1     
 Severity:  blocker       |   Resolution:          
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------
Changes (by markjaquith):

  * priority:  normal => high
  * severity:  normal => blocker


Comment:

 My fault... had some code in mu-plugins that was messing with redirects. I
 see the problem exhibited fully, now. Bumping up priority/severity. Can
 take a look tonight, but if someone wants to take a swing in the meantime,
 go ahead.

 is_category should be FALSE for these requests, because they're is_single
 requests. And the category portion of the URL is typically ignored when
 making the query (because you have a unique post slug or ID) — that may
 have changed in 3.1

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15487#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list