[wp-trac] [WordPress Trac] #38341: Hide 'Empty Trash' button when trash is already empty
WordPress Trac
noreply at wordpress.org
Tue Oct 18 20:54:09 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: good-first-bug has-patch | Focuses: ui, administration
--------------------------------------+---------------------------------
Comment (by afercia):
Replying to [comment:2 ivantedja]:
> But media always deleted permanently so "Empty Trash" for media is never
shown up
There's a constant `define( 'MEDIA_TRASH', true )` to enable trash for
media.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38341#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list