Closed kjbenk closed 7 years ago
Since this plugin's list table inherits from WP_List_Table and not WP_Posts_List_Table the single row function does not contain logic to add the wp-locked class if the post is locked. This PR fixed that by making sure the wp-locked class is added.
WP_List_Table
WP_Posts_List_Table
wp-locked
Here is the single_row function in WP_List_Table that does not add the wp-locked status - https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/class-wp-list-table.php#L1232-L1244
single_row
Since this plugin's list table inherits from
WP_List_Table
and notWP_Posts_List_Table
the single row function does not contain logic to add thewp-locked
class if the post is locked. This PR fixed that by making sure thewp-locked
class is added.Here is the
single_row
function inWP_List_Table
that does not add thewp-locked
status - https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/class-wp-list-table.php#L1232-L1244