Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#42507 closed defect (bug) (duplicate)

Custom wp_queries being broken in 4.8.3

Reported by: stefk Owned by:
Priority: normal Milestone:
Component: Query Version: 4.8.3
Severity: normal Keywords:
Cc: Focuses:

Description

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'

)

);

Change History (2)

#1 @birgire
9 years ago

  • Resolutionduplicate
  • Status newclosed

Duplicate of #42409.

#2 @Clorith
9 years ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.