From 07b7e7b3c7f82308581e74c277429901303a061d Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Tue, 13 Oct 2015 02:36:25 +0000 Subject: [PATCH] Remove dead code from `WP_Query::lazyload_term_meta()`. Built from https://develop.svn.wordpress.org/trunk@35111 git-svn-id: http://core.svn.wordpress.org/trunk@35076 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 4 ---- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index 377e5a02ca..7df4a8601e 100644 --- a/wp-includes/query.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index 319441367a..9292b73c43 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35110'; +$wp_version = '4.4-alpha-35111'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.