Changeset 33925
- Timestamp:
- 09/05/2015 10:24:16 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r33919 r33925 2116 2116 } else { 2117 2117 $_comments = $wp_query->comments; 2118 } 2119 2120 if ( ! $wp_query->comment_meta_cached ) { 2121 $comment_ids = wp_list_pluck( $_comments, 'comment_ID' ); 2122 update_meta_cache( 'comment', $comment_ids ); 2123 $wp_query->comment_meta_cached = true; 2118 2124 } 2119 2125 } -
trunk/src/wp-includes/query.php
r33891 r33925 1292 1292 */ 1293 1293 public $thumbnails_cached = false; 1294 1295 /** 1296 * Set if comment meta has already been cached 1297 * 1298 * @since 4.4.0 1299 * @access public 1300 * @var bool 1301 */ 1302 public $comment_meta_cached = false; 1294 1303 1295 1304 /**
Note: See TracChangeset
for help on using the changeset viewer.