[wp-trac] [WordPress Trac] #5248: Missing dot in query.php, category exclusion problem

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 12 03:54:17 UTC 2010


#5248: Missing dot in query.php, category exclusion problem
-------------------------------------------------------------+--------------
 Reporter:  jaroche                                          |        Owner:  westi   
     Type:  defect (bug)                                     |       Status:  reopened
 Priority:  low                                              |    Milestone:          
Component:  General                                          |      Version:  2.3     
 Severity:  normal                                           |   Resolution:          
 Keywords:  query needs-testing has-patch reporter-feedback  |  
-------------------------------------------------------------+--------------
Changes (by jaroche):

 * cc: jaroche (added)
  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 Hello,

 I've updated the westi's patch for trunk. This fixes de bug for 2.9.2 and
 trunk.

 To reproduce this bug:
 1. Create a single plugin that adds:
 {{{
 $query->set('cat','-$categoryidtoexclude');
 }}}
 2. Visit the category 'A' page (/category/a/) with  posts categorized 'B',
 where category 'B' has been excluded.

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


More information about the wp-trac mailing list