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
This commit is contained in:
parent
5f09d235f0
commit
64f773e4da
|
@ -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 ) ) {
|
||||
|
|
Loading…
Reference in New Issue