[wp-trac] [WordPress Trac] #50815: Use `$this->has_items()` for content checks in different list classes.
WordPress Trac
noreply at wordpress.org
Wed Jul 29 23:01:05 UTC 2020
#50815: Use `$this->has_items()` for content checks in different list classes.
-------------------------------------------+-----------------------------
Reporter: whyisjake | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords: needs-patch
Focuses: ui, administration, multisite |
-------------------------------------------+-----------------------------
As an extension of #40188, let's bring some consistency to `class-wp-
posts-list-table.php` and `class-wp-ms-sites-list-table.php` to check
`$this->has_items()`, instead of `! empty( $output )`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50815>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list