[wp-trac] [WordPress Trac] #58789: Not countable. row_actions @ /wp-admin/includes/class-wp-list-table.php
WordPress Trac
noreply at wordpress.org
Mon Dec 1 05:32:37 UTC 2025
#58789: Not countable. row_actions @ /wp-admin/includes/class-wp-list-table.php
----------------------------------------------------+----------------------
Reporter: Nate1 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Administration | Version: 6.2
Severity: major | Resolution: wontfix
Keywords: has-patch has-unit-tests needs-testing | Focuses:
----------------------------------------------------+----------------------
Comment (by westonruter):
A better solution may be to cast the return value of the
`user_row_actions` filter to an array. Or else, if the returned value is
not an array, set `$actions` to an empty array.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58789#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list