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

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 12 14:40:48 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 garyc40):

 Replying to [comment:16 scribu]:
 > You can check {{{$wp_query->current_post}}}. See
 > With that in place, I doubt the usefulness of permanently caching wether
 the current loops thumbnails were cached or not.

 This assumes that {{{get_the_post_thumbnail()}}} is always called at the
 loop start. Unless there are themes that treat the first post differently
 (not outputting the thumbnail, for example), it's a safe assumption.

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

More information about the wp-trac mailing list