Opened 2 years ago
update_post_thumbnail_cache - accept WP_Query instance
|Reported by:||TheDeadMedic||Owned by:|
Following what scribu said in another ticket;
...What would be nice would be to allow update_thumbnail_cache() to be used for custom loops too.
I'm thinking of adding an optional $_wp_query parameter. Then, knowledgeable developers could call it before rolling their custom loop.
I agree - it would be dead handy to be able to just call update_post_thumbnail_cache( $my_query ) - see revision.