[wp-trac] [WordPress Trac] #40975: 'Empty Spam' and 'Empty Trash' comment buttons not displayed on mobile
WordPress Trac
noreply at wordpress.org
Mon Jul 10 23:04:28 UTC 2017
#40975: 'Empty Spam' and 'Empty Trash' comment buttons not displayed on mobile
-------------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.8.1
Component: Comments | Version: 4.8
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"41022"]:
{{{
#!CommitTicketReference repository="" revision="41022"
Comments: In `WP_Comments_List_Table::extra_tablenav()`, save the state of
`::has_items()` to a static variable, so that the value is consistent
between top and bottom navigation.
This prevents "Empty Spam" and "Empty Trash" buttons from disappearing if
there's only one page of comments in Spam/Trash.
Fixes #40975.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40975#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list