in_category returns true for parent cat if last item on page is from tested subcat
|Reported by:||Usurper||Owned by:|
Assume the following category structure
If in_category is used to test for subcat, it will return true if the user is viewing site.com/category/parent and its loop is displaying posts from parent and its subcategory, and the last post on the page is from the subcategory.
Viewing pages 2, 3, 4, and 5 of posts led to the diagnosis, and inserting test posts at the end of pages that were showing the problem confirmed the bug.
Upgraded to 3.0.1 to see if the problem was resolved. It persists.