[wp-trac] [WordPress Trac] #33988: New param for search in WP Query

WordPress Trac noreply at wordpress.org
Thu Sep 24 12:49:07 UTC 2015


#33988: New param for search in WP Query
------------------------------+-----------------------------
 Reporter:  sebastian.pisula  |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Query             |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 s => search post with phrase
 without_s => without phrase

 For example:

 1. I want find movies without phrase "blood" in title or content.
 (without_s => blood)
 2. I wand find movies with phrase "tiger" and without "die" in title or
 content. (without_s => die, s => tiger)

 I think that good idea is, if param "s" will be have support for array.
 For example:

 I can find post with words s = array('tiger', 'lion', 'dog')

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


More information about the wp-trac mailing list