diff --git a/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/ListTable.php b/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/ListTable.php index f08d7cf53bb..64d5d915fdf 100644 --- a/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/ListTable.php +++ b/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/ListTable.php @@ -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'; diff --git a/plugins/woocommerce/src/Internal/Admin/Logging/PageController.php b/plugins/woocommerce/src/Internal/Admin/Logging/PageController.php index c9815df46c7..5ce13f4960f 100644 --- a/plugins/woocommerce/src/Internal/Admin/Logging/PageController.php +++ b/plugins/woocommerce/src/Internal/Admin/Logging/PageController.php @@ -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 ) {