[wp-trac] [WordPress Trac] #65298: Searched text is not cleared from the Library search bar after refresh
WordPress Trac
noreply at wordpress.org
Thu Jun 4 14:22:21 UTC 2026
#65298: Searched text is not cleared from the Library search bar after refresh
-------------------------------------------------+-------------------------
Reporter: abduremon | Owner:
| westonruter
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 7.1
Component: Administration | Version: 4.9
Severity: major | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses:
testing | administration
-------------------------------------------------+-------------------------
Comment (by drwpcom):
== Test Report
Patch tested: https://core.trac.wordpress.org/ticket/65298
=== Environment
- WordPress: 7.1-alpha-62161-src
- Subdirectory: No
- PHP: 8.3.31
- Server: nginx/1.31.1
- Database: mysqli (Server: 9.7.0 / Client: mysqlnd 8.3.31)
- Browser: Chrome 148.0.0.0
- OS: macOS
- Theme: Storefront 4.6.2
- MU Plugins: None activated
- Plugins:
* Classic Editor 1.7.0
* Test Reports 1.3.0
* WooCommerce 10.8.1
* Yoast SEO 27.7
=== Steps taken
1. Opened Media > Library
2. Typed woo in the search media box.
3. Clicked on x to delete the text (also b) tried deleting the word letter
by letter)
4. URL updated to empty search value (or b) changed letter by letter as
before so no regression there)
(Refresh doesn't seem necessary for this test.)
✅ Patch is solving the problem
=== Expected result
Once text is removed from the search bar in Library, the URL is reset to
empty search
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65298#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list