[wp-trac] [WordPress Trac] #40975: 'Empty Spam' and 'Empty Trash' comment buttons not displayed on mobile

WordPress Trac noreply at wordpress.org
Fri Jun 9 18:54:09 UTC 2017


#40975: 'Empty Spam' and 'Empty Trash' comment buttons not displayed on mobile
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.8.1
Component:  Comments        |     Version:  4.8
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch


Comment:

 [attachment:40975.patch] fixes the issue by saving `$this->has_items()` to
 a static variable, so that the value is consistent between top and bottom
 navigation.

 Other screens appear to be unaffected, as they don't reset `$this->items`
 before displaying bottom navigation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40975#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list