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

WordPress Trac noreply at wordpress.org
Thu Oct 8 14:51:53 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:
------------------------------+---------------------------

Comment (by boonebgorges):

 Replying to [comment:10 GaryJ]:
 > Fantastic improvement folks.
 >
 > Is a unit test needed to clarify behaviour when the search field only
 contains negated terms? i.e.
 >
 > * `-foo`
 > * `-foo -bar`

 I don't know that it's needed, but if you wrote these tests, I would add
 them :)

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


More information about the wp-trac mailing list