Changeset 20646
- Timestamp:
- 04/30/2012 03:55:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-thumbnail-template.php
r19918 r20646 51 51 * 52 52 * @since 3.2 53 * 54 * @param object $wp_query Optional. A WP_Query instance. Defaults to the $wp_query global. 53 55 */ 54 function update_post_thumbnail_cache() { 55 global $wp_query; 56 function update_post_thumbnail_cache( $wp_query = null ) { 57 if ( ! $wp_query ) 58 $wp_query = $GLOBALS['wp_query']; 56 59 57 60 if ( $wp_query->thumbnails_cached )
Note: See TracChangeset
for help on using the changeset viewer.