More phpcs cleanup

This commit is contained in:
Corey McKrill 2023-10-18 16:48:43 -07:00
parent d872ec5742
commit 112cfef33e
No known key found for this signature in database
GPG Key ID: 84BBFE669C4D97B8
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ use WP_List_Table;
class ListTable extends WP_List_Table {
/**
* The user option key for saving the preferred number of files displayed per page.
*
* @const string
*/
public const PER_PAGE_USER_OPTION_KEY = 'woocommerce_logging_file_list_per_page';

View File

@ -256,6 +256,7 @@ class PageController {
private function handle_list_table_bulk_actions() {
$action = $this->get_list_table()->current_action();
// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
$request_uri = isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : $this->get_logs_tab_url();
if ( $action ) {