[wp-trac] [WordPress Trac] #65298: Searched text is not cleared from the Library search bar after refresh

WordPress Trac noreply at wordpress.org
Wed Jun 3 20:48:35 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 anukasha):

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

 === Environment
 - WordPress: 7.1-alpha-62161-src
 - Subdirectory: Yes
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 148.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.5
 - Plugins:
   * Test Reports 1.3.0

 === Steps taken
 1. Navigated to Library section.
 2. Entered 'test' in the search bar. Click on enter.
 3. Remove the text completely.
 4. Refresh the page.
 5. Observed Result -- Searched text is cleared from the search bar after
 refresh.

 ✅ Patch is solving the problem

 === Expected result
 The search bar should remain empty after the text is removed and the page
 is refreshed.

 === Screenshots/Screencast with results
 Uploaded to attachments


 Note: This patch cannot be tested on playground since this requires a
 refresh in patch testing steps.

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


More information about the wp-trac mailing list