[wp-trac] [WordPress Trac] #32170: List table: sortable column headers accessibility
WordPress Trac
noreply at wordpress.org
Thu Jun 22 09:41:01 UTC 2023
#32170: List table: sortable column headers accessibility
------------------------------+--------------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.3
Component: Administration | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: ui, accessibility
------------------------------+--------------------------------
Comment (by Chouby):
@joedolson [55971] will introduce a backward compatibility issue for
[https://wpdirectory.net/search/01H3H71EAYNVQX8ER7R216PB3Q all plugins]
extending `WP_List_Table` and overriding `get_sortable_columns()`.
Indeed, these plugins do not provide all the keys expected in
see https://github.com/WordPress/wordpress-
develop/commit/09fb3ea03ec554fe2ede5fb65118ab64a751e1df#diff-
cb86bbc65c5b0b668d8a1b1a8b46cbe90f86c22cad5cdaea26bb77a4f34e484fR1364
{{{
list( $orderby, $desc_first, $abbr, $orderby_text, $initial_order ) =
$sortable[ $column_key ];
}}}
This results in the error `Undefined array key 2`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32170#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list