[wp-trac] [WordPress Trac] #38341: Hide 'Empty Trash' button when trash is already empty
WordPress Trac
noreply at wordpress.org
Tue Oct 18 15:15:27 UTC 2016
#38341: Hide 'Empty Trash' button when trash is already empty
----------------------------------------+---------------------------------
Reporter: swissspidy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: ui, administration
----------------------------------------+---------------------------------
Comment (by ivantedja):
Patch attached :)
It covers:
- posts
- pages
- comments
I notice something, the code has "Empty Trash" button in "media" as well
But media always deleted permanently so "Empty Trash" for media is never
shown up
Is it legacy code?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38341#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list