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

WordPress Trac noreply at wordpress.org
Wed Feb 22 08:08:05 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):

 Thanks @printsachen1 and good catch with the restore! I think it should be
 easy to make it work in that scenario, provided that the JS isn't that big
 of a mess.

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


More information about the wp-trac mailing list