-
- get_error_message() ); ?>
-
+ get_error_message() ) ); ?>
+
%2$s',
+ esc_url( $this->get_logs_tab_url() ),
+ esc_html__( 'Return to the file list.', 'woocommerce' )
+ );
+ ?>
file_controller->get_file_rotations( $file->get_file_id() );
$rotation_url_base = add_query_arg( 'view', 'single_file', $this->get_logs_tab_url() );
+ $delete_url = add_query_arg(
+ array(
+ 'action' => 'delete',
+ 'file_id' => array( $file->get_file_id() ),
+ ),
+ wp_nonce_url( $this->get_logs_tab_url(), 'bulk-log-files' )
+ );
+
$stream = $file->get_stream();
$line_number = 1;
@@ -234,6 +247,16 @@ class PageController {
+
+ %2$s',
+ esc_url( $delete_url ),
+ esc_html__( 'Delete permanently', 'woocommerce' )
+ );
+ ?>
+