[wp-meta] [Making WordPress.org] #5848: Search icon in adminbar on theme directory does not work

Making WordPress.org noreply at wordpress.org
Mon Aug 2 10:16:47 UTC 2021


#5848: Search icon in adminbar on theme directory does not work
----------------------+--------------------
 Reporter:  bradleyt  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  General   |   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.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5848>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list