Okay, i have a rather tricky Problem with the wp_query->query method, mine looks like:
but he does not return 2 Posts in all cases, for example if there are 4 Posts for the Category ‘startseite’ of wich the 2 newest ones dont have the meta_key and meta_value i look for he returns zero posts.
Its like he makes an Select with everything besides the meta stuff, and then makes a ‘Sub’Select for the meta stuff on the given result.
Is this a known or a new WP Bug? (or hoooooopefully i made a mistake, if so PLEEEASE tell me) … that thing is killing me -.-
- The topic ‘WP_Query->query returns wrong number of posts if select after meta_key/meta_valu’ is closed to new replies.