[wp-trac] [WordPress Trac] #42507: Custom wp_queries being broken in 4.8.3

WordPress Trac noreply at wordpress.org
Fri Nov 10 14:28:14 UTC 2017


#42507: Custom wp_queries being broken in 4.8.3
--------------------------+-----------------------------
 Reporter:  stefk         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  4.8.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Support has been dropped in Wordpress 4.8.3 for custom meta keys that make
 use of the LIKE element.

 Custom wp_queries being broken when using meta_query combined with the
 repeater format of for custom fields. They ended up returning 0 results.

 For example below stopped working:

 $meta_query_1[0] = array(
     array(
         'key' => 'price_section_%_departure_date',
         'compare' => '>',
         'value' => 0,
         'type' => 'NUMERIC'
     )
 );

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42507>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list