[wp-trac] [WordPress Trac] #15447: Cache Post Thumbnails

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 12 15:07:37 UTC 2011

#15447: Cache Post Thumbnails
 Reporter:  TheDeadMedic         |       Owner:  garyc40
     Type:  enhancement          |      Status:  assigned
 Priority:  normal               |   Milestone:  Future Release
Component:  Post Thumbnails      |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.2-early  |

Comment (by scribu):

 [attachment:15447.4.diff] is similar to 15447.diff, except it uses a
 private property on the $wp_query object instead of wp_cache_*().

 This ensures a single call per loop, while not requiring
 get_the_post_thumbnail() to be called for the first post.

Ticket URL: <http://core.trac.wordpress.org/ticket/15447#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list