rebase on oct-10-2023
This commit is contained in:
@@ -31,7 +31,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
protected $post_type = 'INVALID';
|
||||
|
||||
/**
|
||||
* Get columns to show in the list table.
|
||||
* Gets columns to show in the list table.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -49,7 +49,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Normalize the admin URL to the current page (by request_type).
|
||||
* Normalizes the admin URL to the current page (by request_type).
|
||||
*
|
||||
* @since 5.3.0
|
||||
*
|
||||
@@ -66,7 +66,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a list of sortable columns.
|
||||
* Gets a list of sortable columns.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -87,7 +87,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Default primary column.
|
||||
* Returns the default primary column.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -98,7 +98,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Count number of requests for each status.
|
||||
* Counts the number of requests for each status.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -137,7 +137,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an associative array ( id => link ) with the list of views available on this table.
|
||||
* Gets an associative array ( id => link ) with the list of views available on this table.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -200,7 +200,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get bulk actions.
|
||||
* Gets bulk actions.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -354,7 +354,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare items to output.
|
||||
* Prepares items to output.
|
||||
*
|
||||
* @since 4.9.6
|
||||
* @since 5.1.0 Added support for column sorting.
|
||||
@@ -407,7 +407,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Checkbox column.
|
||||
* Returns the markup for the Checkbox column.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -415,7 +415,13 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
* @return string Checkbox column markup.
|
||||
*/
|
||||
public function column_cb( $item ) {
|
||||
return sprintf( '<input type="checkbox" name="request_id[]" value="%1$s" /><span class="spinner"></span>', esc_attr( $item->ID ) );
|
||||
return sprintf(
|
||||
'<label class="label-covers-full-cell" for="requester_%1$s"><span class="screen-reader-text">%2$s</span></label>' .
|
||||
'<input type="checkbox" name="request_id[]" id="requester_%1$s" value="%1$s" /><span class="spinner"></span>',
|
||||
esc_attr( $item->ID ),
|
||||
/* translators: Hidden accessibility text. %s: Email address. */
|
||||
sprintf( __( 'Select %s' ), $item->email )
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -456,7 +462,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert timestamp for display.
|
||||
* Converts a timestamp for display.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -479,7 +485,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Default column handler.
|
||||
* Handles the default column.
|
||||
*
|
||||
* @since 4.9.6
|
||||
* @since 5.7.0 Added `manage_{$this->screen->id}_custom_column` action.
|
||||
@@ -503,7 +509,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Created timestamp column. Overridden by children.
|
||||
* Returns the markup for the Created timestamp column. Overridden by children.
|
||||
*
|
||||
* @since 5.7.0
|
||||
*
|
||||
@@ -527,7 +533,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Next steps column. Overridden by children.
|
||||
* Returns the markup for the next steps column. Overridden by children.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
@@ -551,7 +557,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Embed scripts used to perform actions. Overridden by children.
|
||||
* Embeds scripts used to perform actions. Overridden by children.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user