[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 12:42:06 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 pedrofigueroa1989):

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

 === 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: Firefox 151.0
 - OS: Ubuntu
 - Theme: Twenty Twenty-Five 1.5
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.3.0

 === Steps taken
 1. Go to the Library section.
 2. Enter any text in the search bar.
 3. Remove the text completely.
 4. Refresh the page.

 ✅ Patch is solving the problem

 === Expected Result
 The search bar remains empty after the text is removed and the page is
 refreshed.

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


More information about the wp-trac mailing list