Making WordPress.org

Opened 10 years ago

Closed 9 years ago

#1021 closed defect (bug) (fixed)

Searching for theme slugs does not return the theme using that slug

Reported by: clorith's profile Clorith Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Theme Directory Keywords:
Cc:

Description

Currently when searching for a theme in the directory you can search by a name, tags, theme description and so on, but not the theme slug, when you would expect the actual theme to be the first result (much like the plugins directory).

As an example a search for twentyfourteen will at this time only return the themes Sequel (a Twenty Fourteen child theme) and Alkalia (uses the term TwentyFourteen in its description).

Change History (3)

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


9 years ago

#2 @Otto42
9 years ago

We have code to make it search slugs too:

https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/admin-edit.php#L56

May not be hooked up properly for the api to see it though. Not sure.

#3 @dd32
9 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 1884:

Themes Directory: Allow searches to match on theme slug in addition to tags, content, and title.
Fixes #1021

Note: See TracTickets for help on using tickets.