Support

Account

Home Forums Bug Reports The WP 4.8.3 update broke the query on sub field values Reply To: The WP 4.8.3 update broke the query on sub field values

  • Hi !
    I have a same bug !
    if I delete % it does not work either.
    what would be the good issue
    thx

    $date = DateTime::createFromFormat(‘Ymd’, get_field(‘date’));
    $args = array(
    ‘post_type’ => ‘programmation’,
    ‘posts_per_page’ => 1,
    ‘order’ => ‘ASC’,
    ‘orderby’ => ‘meta_value’,
    ‘meta_query’ => array(
    array(
    ‘key’ => ‘dates_%_date’,
    ‘value’ => date(‘Ymd’),
    ‘compare’ => ‘>=’,
    )
    )
    );
    //var_dump($args);
    $query = new WP_Query( $args );