[wp-trac] [WordPress Trac] #3029: Always get "Sorry,
 no posts matched your criteria"
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Fri Aug 11 14:37:55 GMT 2006
    
    
  
#3029: Always get "Sorry, no posts matched your criteria"
----------------------------+-----------------------------------------------
 Reporter:  ewagoner        |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:           
Component:  Administration  |     Version:           
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 I converted my 2.0 install to 2.0.4, and got an "Sorry, no posts matched
 your criteria" on all my views. I could access all my posts via the admin
 section, however.
 I found a thread on the forums, and then found two lines in classes.php
 that caused 1) the query for posts to always be null and 2) the array of
 queried posts to always be null
 I commented out the two offending lines, and all was well. I could not
 determine what those lines were actually supposed to do.
 I documented my work at the forum thread:
 http://wordpress.org/support/topic/82632?replies=9
 The lines in question are:
 616: $where = apply_filters('posts_where', $where);
 696: $this->posts = apply_filters('the_posts', $this->posts);
-- 
Ticket URL: <http://trac.wordpress.org/ticket/3029>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list