Don't update the post_thumbnail_cache if the thumbnail is already cached
|Reported by:||prettyboymp||Owned by:|
There is no reason to run the query in update_post_thumbnail_cache() if all of the thumbnail posts are already cached. Before adding a post_id to the thumb_ids array, cache should be checked.
Change History (5)
Note: See TracTickets for help on using tickets.