Opened 20 months ago
Closed 20 months ago
#6934 closed defect (bug) (fixed)
Search not returning obvious matches
Reported by: | topher1kenobe | Owned by: | Otto42 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Photo Directory | Keywords: | |
Cc: |
Description
This search: https://wordpress.org/photos/?s=peanut+butter
does not return this image: https://wordpress.org/photos/photo/642642c1de/
despite the search terms being exactly represented in the alt text.
Change History (4)
Note: See
TracTickets for help on using
tickets.
This comes from the
limit_partial_matching
function. I'm not entirely certain what the purpose of this regular expression is, but something about it doesn't look right.https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/search.php#L95