﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
17066	$wp_query->found_posts is set to 0 with posts_per_page=-1	patrik bona		"If I modify/create new WP_Query object with parameter posts_per_page=-1 (or showposts=-1), then $wp_query->found_posts has incorrect value. It always return 0 instead of count of found posts.

If I don't set posts_per_page, or set it to some positive number, then it is set to correct value."	defect (bug)	closed	normal		Query	3.1	normal	duplicate	has-patch	bronson@…
