alleyinteractive / es-admin

12 stars 8 forks source link

Make sure lock status appears in results #15

Closed kjbenk closed 7 years ago

kjbenk commented 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.

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