From 64f773e4dab2a9db74f2d870217169753aa9174d Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 1 Nov 2014 22:02:48 +0000 Subject: [PATCH] In `WP_Meta_Query->get_sql_for_clause()`, the empty initialization of `$where` is dead code and can be removed. See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30163 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/meta.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/meta.php b/src/wp-includes/meta.php index c3b2d0ebe6..f3415ad663 100644 --- a/src/wp-includes/meta.php +++ b/src/wp-includes/meta.php @@ -1381,7 +1381,6 @@ class WP_Meta_Query { $clause['alias'] = $alias; // Next, build the WHERE clause. - $where = ''; // meta_key. if ( array_key_exists( 'key', $clause ) ) {