WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19949, comment 2


Ignore:
Timestamp:
04/25/2012 10:17:07 PM (6 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19949, comment 2

    initial v1  
    1414
    1515Well, actually, that would also cause an {{{update_post_thumbnail_cache()}}} call for the main query, which might be unnecessary.
     16
     17LE: Because the_post_thumbnail() has this code:
     18
     19{{{
     20if ( in_the_loop() )
     21  update_post_thumbnail_cache();
     22}}}