Make WordPress Core

Opened 6 months ago

Closed 6 months ago

#61788 closed defect (bug) (duplicate)

Searching for a theme and hitting enter clears the field and refreshes the page

Reported by: jeroenrotty's profile jeroenrotty Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.6
Component: Themes Keywords:
Focuses: Cc:

Description

I just noticed there is a bug when searching for a theme and hitting enter. After doing so, the field is emptied and the page refreshes. Without actually searching.

Steps to reproduce

Appearance > Themes > Add new. Put something in the search field and hit enter. The page will refresh and nothing will be searched for. Before WP 6.6, this used to work.

Change History (2)

#1 @josklever
6 months ago

I did some tests on @jeroenrotty's request and found out that it still works as expected in WP 6.5.5, but the bug was present in 6.6-RC2, 6.6 and 6.6.1. On the old version (same environment) searching is much slower, so I guess something was changed to improve this, with this side effect as a result.

Searching for new plugins still works the same, so it's a different component, although it looks quite similar.

Available workaround: searching without hitting enter still works as expected.

#2 @sabernhardt
6 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report! This is already tracked on #61578, if you would like to test that patch or join the discussion there.

Note: See TracTickets for help on using tickets.