WordPress.org

Making WordPress.org

Opened 2 years ago

Last modified 8 weeks ago

#2939 assigned defect

Themes older than 2 years cannot be found by an exact slug match — at Version 1

Reported by: SergeyBiryukov Owned by:
Milestone: Priority: normal
Component: Theme Directory Keywords:
Cc:

Description (last modified by SergeyBiryukov)

Looks like themes older than 2 years cannot be found even by an exact slug match:

Some details from @otto42:

Seems like there is no exact-match check in there at all, and the limiter that cuts off at 2 years doesn't look at searches or expects an exact match check to be done elsewhere.
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/query-modifications.php?rev=2920#L110
also perhaps there used to be a dropdown to search for author or theme name rather than just a general search? Because a lot of the code makes the assumption that you can search by several fields.

Change History (1)

#1 @SergeyBiryukov
2 years ago

  • Description modified (diff)
  • Summary changed from Themes older than 2 years cannot be found by a direct slug match to Themes older than 2 years cannot be found by an exact slug match
Note: See TracTickets for help on using tickets.