Ticket #25538: 25538.parens.patch
File 25538.parens.patch, 484 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/meta.php
diff --git src/wp-includes/meta.php src/wp-includes/meta.php index cb83e46..965b863 100644
class WP_Meta_Query { 1068 1068 $where = ' AND (' . implode( "\n{$this->relation} ", $where ) . ' )'; 1069 1069 1070 1070 if ( ! empty( $where_meta_key ) ) { 1071 $where .= "\nAND " . implode( "\nAND ", $where_meta_key );1071 $where .= "\nAND (" . implode( "\nAND ", $where_meta_key ) . ' )'; 1072 1072 } 1073 1073 1074 1074 $join = implode( "\n", $join );