[wp-trac] [WordPress Trac] #30982: Meta query in pre_get_posts

WordPress Trac noreply at wordpress.org
Mon Jan 12 22:45:59 UTC 2015


#30982: Meta query in pre_get_posts
-----------------------------+-----------------------------
 Reporter:  Spidlace         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Query            |     Version:  4.1
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------------

Comment (by Spidlace):

 Thank you for your answer .
 I wanted to use a maximum of WP hooks to do that, but I find that allow
 the developer to choose between an '''AND''' or '''OR''' could open up
 another opportunity for an advanced search done ..

 Currently we can not find a word in a title in an title '''OR''' content
 '''OR''' in a custom field but only '''AND''' except between the title and
 content. I imagine this must be a big update of WP_Query order to
 implement this, but it would have been great ...

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


More information about the wp-trac mailing list