[wp-trac] [WordPress Trac] #12086: Hide bulk actions, item filters, and subpages when no items

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 30 07:27:32 UTC 2010


#12086: Hide bulk actions, item filters, and subpages when no items
----------------------------+-----------------------------------------------
 Reporter:  nacin           |       Owner:           
     Type:  defect (bug)    |      Status:  new      
 Priority:  low             |   Milestone:  3.0      
Component:  Administration  |     Version:           
 Severity:  trivial         |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 How we show an admin page when there are no items to show is very
 inconsistent. I will attach a screenshot that shows the various examples.

 Patch removes all bulk actions, item filters, empty items tables, etc.,
 when there are no items. Additionally, empty subpages are hidden. (An
 exception is on Media > Library > Unattached, which has a "Scan for lost
 attachments" button. I've also added the number of Unattached posts next
 to the Unattached link.)

 Patch also clarifies when Trash should show up in Media > Library. (It's
 if there is ever an item in Trash, whether it is enabled or not. Even if
 Trash is enabled, if it is empty, no need to show the link.)

 It's a messy patch, but that's unavoidable -- all it's really doing is
 rearranging existing code.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12086>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list