[wp-trac] [WordPress Trac] #50815: Use `$this->has_items()` for content checks in different list classes.

WordPress Trac noreply at wordpress.org
Tue Aug 4 16:24:47 UTC 2020


#50815: Use `$this->has_items()` for content checks in different list classes.
----------------------------+--------------------------------------------
 Reporter:  whyisjake       |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  5.6
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  ui, administration, multisite
----------------------------+--------------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"48724" 48724]:
 {{{
 #!CommitTicketReference repository="" revision="48724"
 Comments: Restore the `::has_items()` call in
 `WP_Comments_List_Table::extra_tablenav()` for now, until unit tests are
 updated accordingly.

 Follow-up to [48722].

 Fixes #40188. See #50815.
 }}}

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


More information about the wp-trac mailing list