Remove dead code from WP_Query::lazyload_term_meta()
.
git-svn-id: https://develop.svn.wordpress.org/trunk@35111 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d884c65485
commit
ae96d16ed9
@ -4854,10 +4854,6 @@ class WP_Query {
|
|||||||
$posts[] = $post;
|
$posts[] = $post;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$_p = array();
|
|
||||||
foreach ( $posts as $post ) {
|
|
||||||
$_p[] = $post->ID;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( ! empty( $posts ) ) {
|
if ( ! empty( $posts ) ) {
|
||||||
// Fetch cached term_ids for each post. Keyed by term_id for faster lookup.
|
// Fetch cached term_ids for each post. Keyed by term_id for faster lookup.
|
||||||
|
Loading…
Reference in New Issue
Block a user