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

WordPress Trac noreply at wordpress.org
Thu Oct 8 03:17:24 UTC 2015


#33988: New param for search in WP Query
------------------------------+---------------------------
 Reporter:  sebastian.pisula  |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Query             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34934"]:
 {{{
 #!CommitTicketReference repository="" revision="34934"
 Allow excluded keywords when searching posts.

 Pass a keyword with a leading hyphen to exclude posts containing that
 keyword.
 For example, 'taco -onions' will return posts that contain the word 'taco'
 but
 do not contain the word 'onions'.

 Props akibjorklund.
 Fixes #33988.
 }}}

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


More information about the wp-trac mailing list