[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:08:37 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
-------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"41023"]:
{{{
#!CommitTicketReference repository="" revision="41023"
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.
Merges [41022] to the 4.8 branch.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40975#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list