Changeset 34732
- Timestamp:
- 10/01/2015 04:00:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r34731 r34732 4769 4769 * @access public 4770 4770 * 4771 * @param null $check The `$check` param passed from the 'pre_term_metadata' hook.4771 * @param mixed $check The `$check` param passed from the 'get_term_metadata' hook. 4772 4772 * @param int $term_id ID of the term whose metadata is being cached. 4773 4773 * @return mixed In order not to short-circuit `get_metadata()`. Generally, this is `null`, but it could be … … 4777 4777 /* 4778 4778 * We only do this once per `WP_Query` instance. 4779 * Can't use `remove_ action()` because of non-unique object hashes.4779 * Can't use `remove_filter()` because of non-unique object hashes. 4780 4780 */ 4781 4781 if ( $this->updated_term_meta_cache ) { … … 4840 4840 * @since 4.4.0 4841 4841 * 4842 * @param null $check The `$check` param passed from the 'pre_comment_metadata' hook.4842 * @param mixed $check The `$check` param passed from the 'get_comment_metadata' hook. 4843 4843 * @param int $comment_id ID of the comment whose metadata is being cached. 4844 * @return null In order not to short-circuit `get_metadata()`.4844 * @return mixed The original value of `$check`, to not affect 'get_comment_metadata'. 4845 4845 */ 4846 4846 public function lazyload_comment_meta( $check, $comment_id ) { 4847 4847 /* 4848 4848 * We only do this once per `WP_Query` instance. 4849 * Can't use `remove_ action()` because of non-unique object hashes.4849 * Can't use `remove_filter()` because of non-unique object hashes. 4850 4850 */ 4851 4851 if ( $this->updated_comment_meta_cache ) {
Note: See TracChangeset
for help on using the changeset viewer.