﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
9472,"wp_list_pages() doesn't apply the ""current_page_item/parent/ancestor"" classes when browsing image/attachment pages",minusfive,,"When you're browsing an ""attachment"" page which has been attached to a ""Page"", that Page and its ancestors don't get the ""current_page_item/parent/ancestor"" classes they should get when called using wp_list_pages() for navigation.

I simply added the ""is_attachment()"" conditional tag to the function and it works now. I'm attaching the wp-includes/post-template.php file with the modification applied.

Hope this was the right solution ;)",defect (bug),closed,high,2.8,Themes,2.7.1,major,fixed,has-patch tested,mail@… minusfive
