[wp-trac] [WordPress Trac] #41372: Hide media filters and search box when library has no media items (was: when no any media. at that time this section is not usable. so Please hide when no any media.)

WordPress Trac noreply at wordpress.org
Sat Dec 20 22:39:14 UTC 2025


#41372: Hide media filters and search box when library has no media items
-------------------------+---------------------------------
 Reporter:  rushabh4486  |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:  maybelater
 Keywords:  needs-patch  |     Focuses:  ui, administration
-------------------------+---------------------------------
Changes (by sabernhardt):

 * severity:  major => normal
 * resolution:  wontfix => maybelater
 * milestone:  Awaiting Review =>
 * keywords:   => needs-patch
 * type:  defect (bug) => enhancement


Comment:

 I'm changing the ticket resolution to 'maybe later' because I find some
 value in hiding the unusable filters and search. However, I do not plan to
 work on a patch for it.

 The view switcher buttons can be used before uploading files. Also, Grid
 view probably would need the elements in the page markup when the page
 loads, hidden until a user adds a media item (and hidden again if all
 items are deleted).

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


More information about the wp-trac mailing list