In WP_Meta_Query->get_sql_for_clause(), the empty initialization of $where is dead code and can be removed.

See #30224.

Built from https://develop.svn.wordpress.org/trunk@30163


git-svn-id: http://core.svn.wordpress.org/trunk@30163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-11-01 22:03:22 +00:00
parent fbd6efdfb8
commit 106da1e9e6
2 changed files with 1 additions and 2 deletions

View File

@ -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 ) ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30162';
$wp_version = '4.1-alpha-30163';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.