[wp-trac] [WordPress Trac] #58789: Not countable. row_actions @ /wp-admin/includes/class-wp-list-table.php
WordPress Trac
noreply at wordpress.org
Wed Jul 12 05:11:05 UTC 2023
#58789: Not countable. row_actions @ /wp-admin/includes/class-wp-list-table.php
--------------------------+-----------------------------
Reporter: Nate1 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.2
Severity: major | Keywords:
Focuses: |
--------------------------+-----------------------------
Commonly getting not countable for the users lists, across many sites not
sure of the source of the issue, but easy solution seems to be to modify.
/wp-admin/includes/class-wp-list-table.php
protected function row_actions( $actions, $always_visible = false )
++ if(!isset($actions)) { return ''; }
$action_count = count( $actions );
if ( ! $action_count ) {
return '';
}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58789>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list