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

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 2 16:25:04 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:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-moar-  |
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by ryan):

 3.1 query with the patch:

 {{{
 SELECT wp_trunk_posts.* FROM wp_trunk_posts WHERE 1=1 AND
 wp_trunk_posts.post_name = 'an-event' AND wp_trunk_posts.post_type =
 'post' ORDER BY wp_trunk_posts.post_date DESC
 }}}

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


More information about the wp-trac mailing list