WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20312, comment 3


Ignore:
Timestamp:
03/28/2012 11:04:43 AM (8 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20312, comment 3

    initial v1  
    1212    ";
    1313
    14     $clauses['where'] .= " AND (m_kind.meta_value = 'value_1' AND m_other.meta_value = 'value_1') OR (m_third.meta_value > m_kind.meta_value)
     14    $clauses['where'] .= " AND ((m_kind.meta_value = 'value_1' AND m_other.meta_value = 'value_1') OR (m_third.meta_value > m_kind.meta_value))
    1515  }
    1616