[wp-trac] [WordPress Trac] #49278: Improve meta query

WordPress Trac noreply at wordpress.org
Tue May 4 22:15:05 UTC 2021


#49278: Improve meta query
------------------------------------------+------------------------------
 Reporter:  jillebehm                     |       Owner:  (none)
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Query                         |     Version:  5.3.2
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  performance
------------------------------------------+------------------------------
Changes (by markparnell):

 * keywords:  needs-unit-tests has-patch => needs-patch needs-unit-tests


Comment:

 Just added a patch which applies the discussed changes. As I flagged above
 it will definitely need someone with more background knowledge than me
 here - we may need a more nuanced approach as there are quite possibly
 edge cases I've not considered.

 I also have no idea how to go about setting up unit tests for this, or
 even what we would actually be testing - there are already tests in place
 for meta queries, but I don't know whether they cover this sufficiently.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49278#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list