Changeset 34731
- Timestamp:
- 10/01/2015 04:00:41 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r34711 r34731 3562 3562 3563 3563 if ( $q['update_post_term_cache'] ) { 3564 add_ action( 'get_term_metadata', array( $this, 'lazyload_term_meta' ), 10, 2 );3564 add_filter( 'get_term_metadata', array( $this, 'lazyload_term_meta' ), 10, 2 ); 3565 3565 } 3566 3566 … … 3694 3694 // If comments have been fetched as part of the query, make sure comment meta lazy-loading is set up. 3695 3695 if ( ! empty( $this->comments ) ) { 3696 add_ action( 'get_comment_metadata', array( $this, 'lazyload_comment_meta' ), 10, 2 );3696 add_filter( 'get_comment_metadata', array( $this, 'lazyload_comment_meta' ), 10, 2 ); 3697 3697 } 3698 3698
Note: See TracChangeset
for help on using the changeset viewer.