Make WordPress Core


Ignore:
Timestamp:
07/05/2019 05:42:57 AM (5 years ago)
Author:
pento
Message:

Coding Standards: Fix all WordPress.DB.PreparedSQLPlaceholders issues.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-meta-query.php

    r45590 r45603  
    624624                case 'BETWEEN':
    625625                case 'NOT BETWEEN':
    626                     $meta_value = array_slice( $meta_value, 0, 2 );
    627                     $where      = $wpdb->prepare( '%s AND %s', $meta_value );
     626                    $where = $wpdb->prepare( '%s AND %s', $meta_value[0], $meta_value[1] );
    628627                    break;
    629628
Note: See TracChangeset for help on using the changeset viewer.