[wp-trac] [WordPress Trac] #38341: Hide 'Empty Trash' button when trash is already empty

WordPress Trac noreply at wordpress.org
Fri Mar 17 16:18:49 UTC 2017


#38341: Hide 'Empty Trash' button when trash is already empty
-------------------------------------------------+-------------------------
 Reporter:  swissspidy                           |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.8
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch has-        |     Focuses:  ui,
  screenshots needs-unit-tests                   |  administration
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 > One other thing I noticed is that when restoring the last comment in the
 comments trash, the button remains since the page is not reloaded. This is
 only a minor issue, but may be something to consider.

 Good catch. I think it makes sense to address this in a new ticket.

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


More information about the wp-trac mailing list