[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 04:27:43 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  |     Focuses:  administration
---------------------------------------+-----------------------------

Comment (by noruzzaman):

 == Test Report
 Patch tested: https://github.com/WordPress/wordpress-develop/pull/11938

 === Environment
 - WordPress: 7.1-alpha-20260522.071116
 - Subdirectory: No
 - PHP: 7.4.33
 - Server: PHP.wasm
 - Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
 - Browser: Chrome 148.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.5
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.3.0

 === Actual Results
 ✅ The patch fixes the issue. After clearing the Media Library search
 field, the ?search= value is removed from the URL, and the old search term
 does not return after refresh.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65298#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list