From ae96d16ed95926800ab5d7ec868d63be4031dc19 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Tue, 13 Oct 2015 02:35:30 +0000 Subject: [PATCH] Remove dead code from `WP_Query::lazyload_term_meta()`. git-svn-id: https://develop.svn.wordpress.org/trunk@35111 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/query.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index 377e5a02ca..7df4a8601e 100644 --- a/src/wp-includes/query.php +++ b/src/wp-includes/query.php @@ -4854,10 +4854,6 @@ class WP_Query { $posts[] = $post; } } - $_p = array(); - foreach ( $posts as $post ) { - $_p[] = $post->ID; - } if ( ! empty( $posts ) ) { // Fetch cached term_ids for each post. Keyed by term_id for faster lookup.