[wp-trac] [WordPress Trac] #39092: REST API: Add support for filename search in media endpoint

WordPress Trac noreply at wordpress.org
Wed Nov 2 08:10:01 UTC 2022


#39092: REST API: Add support for filename search in media endpoint
-------------------------------------------------+-------------------------
 Reporter:  jblz                                 |       Owner:  jnylen0
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7.1
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit      |     Focuses:  rest-api
  fixed-major                                    |
-------------------------------------------------+-------------------------

Comment (by nicohood):

 Hey guys, I looked through the code, but it is still not clear to me if
 the search will search with wildcards, substrings, etc or only work for
 exact matches?

 Lets say I have:
 blue-car.jpg
 red-car.jpg
 car.jpg

 Will it find 1 or 3 pictures if I search for "car.jpg"?

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


More information about the wp-trac mailing list