[wp-trac] [WordPress Trac] #38341: Hide 'Empty Trash' button when trash is already empty
WordPress Trac
noreply at wordpress.org
Tue Feb 21 21:28:20 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 printsachen1):
The patch [attachment:38341.2.diff] did not apply cleanly because it was
not created from the project root directory. [attachment:38341.3.diff]
fixes this.
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38341#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list