[wp-trac] [WordPress Trac] #16703: Post permalinks that include %category% should not query the category

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 28 20:38:48 UTC 2011


#16703: Post permalinks that include %category% should not query the category
--------------------------+-------------------
 Reporter:  ryan          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.1.1
Component:  Query         |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-------------------
 3.1 now includes the category in the query when resolving a post permalink
 that includes %category%.  3.0 did not do this.  This results in 'cat' and
 other category query vars being set for single post queries. This confuses
 some plugins and unnecessarily complicates the query.  %category% is
 purely decorative since the post name is sufficient to find a post.

 Discovered here:

 http://wordpress.org/support/topic/plugin-the-events-calendar-
 compatibility-with-wordpress-31?replies=11#post-1971053

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


More information about the wp-trac mailing list