Making WordPress.org

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#5848 closed defect (fixed)

Search icon in adminbar on theme directory does not work

Reported by: bradleyt Owned by: dd32
Milestone: Priority: normal
Component: Theme Directory Keywords:


On the theme directory, the WordPress admin bar is shown (regardless of whether the user is logged-in). This admin bar contains a search icon in the top corner, which submits to the URL https://wordpress.org/themes/?s={searchterm}

However, the search form in the theme directory theme itself submits to https://wordpress.org/themes/search/{searchterm}/

The URL structure https://wordpress.org/themes/search/{searchterm}/ returns correctly filtered search results, where as https://wordpress.org/themes/?s={searchterm} always returns the featured themes shown on the theme directory homepage.

Possible solutions:

  • Redirect the ?s= structure to the /search/ structure.
  • Hide the search icon from the adminbar on the theme directory
  • Make the ?s= strucutre return the correct results.

Change History (2)

#1 @dd32
4 months ago

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

In 11165:

Theme Directory: Redirect ?s= searches to the canonical /search/ location.

Fixes #5848.

#2 @dd32
4 months ago

  • Component changed from General to Theme Directory
Note: See TracTickets for help on using tickets.