WordPress.org

Making WordPress.org

Opened 21 months ago

Last modified 13 months ago

#2939 new defect

Themes older than 2 years cannot be found by an exact slug match

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 (4)

#1 @SergeyBiryukov
21 months 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

#2 @SergeyBiryukov
13 months ago

Just stumbled upon this again.

Since the 2-year search limit does not exist in the new Plugin Directory, perhaps now is the time to remove it from the Theme Directory as well?

Switching the banner to mention the latest 3 major WordPress releases instead of the arbitrary 2 years check (#3010) might also be a good idea, but it looks like themes don't have a Tested up to: field (or a standardized readme.txt file at all), so that's something for another time.

This ticket was mentioned in Slack in #themereview by poena. View the logs.


13 months ago

This ticket was mentioned in Slack in #meta by sergey. View the logs.


13 months ago

Note: See TracTickets for help on using tickets.