Changeset 36566 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 02/17/2016 10:57:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r36527 r36566 1393 1393 */ 1394 1394 $wp_query->comments = apply_filters( 'comments_array', $comments_flat, $post->ID ); 1395 1396 // Set up lazy-loading for comment metadata.1397 add_action( 'get_comment_metadata', array( $wp_query, 'lazyload_comment_meta' ), 10, 2 );1398 1395 1399 1396 $comments = &$wp_query->comments; … … 2030 2027 if ( null === $r['reverse_top_level'] ) 2031 2028 $r['reverse_top_level'] = ( 'desc' == get_option('comment_order') ); 2029 2030 wp_queue_comments_for_comment_meta_lazyload( $_comments ); 2032 2031 2033 2032 if ( empty( $r['walker'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.