[wp-trac] [WordPress Trac] #44618: Returning all posts by searching for "-something" using the REST API

WordPress Trac noreply at wordpress.org
Fri Jul 20 19:29:32 UTC 2018


#44618: Returning all posts by searching for "-something" using the REST API
--------------------------+-----------------------------
 Reporter:  parsaasefi    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  4.9.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 By searching for "-" character in posts using the REST API it will return
 an empty array even if there is some related posts but by searching for
 "-something" (-anything) the REST API will return all the posts even if
 they are not related!

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


More information about the wp-trac mailing list