Privacy: Add id attribute to WP_Privacy_Requests_Table and WP_Privacy_Data_Export_Requests_Table rows, for consistency with other post list tables.

Props desrosj.
Fixes #44015.

git-svn-id: https://develop.svn.wordpress.org/trunk@43191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-05-09 15:05:15 +00:00
parent 665c214dbb
commit ed966ccb53

View File

@ -1361,7 +1361,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
public function single_row( $item ) {
$status = $item->status;
echo '<tr class="status-' . esc_attr( $status ) . '">';
echo '<tr id="request-' . esc_attr( $item->ID ) . '" class="status-' . esc_attr( $status ) . '">';
$this->single_row_columns( $item );
echo '</tr>';
}