diff --git a/plugins/woocommerce/client/legacy/css/admin.scss b/plugins/woocommerce/client/legacy/css/admin.scss index 1750ef6749d..1e63ceb6c37 100644 --- a/plugins/woocommerce/client/legacy/css/admin.scss +++ b/plugins/woocommerce/client/legacy/css/admin.scss @@ -1348,6 +1348,12 @@ table.wc_status_table--tools { } } +.wc-logs-single-file-actions { + margin-left: auto; + display: flex; + gap: 0.5em; +} + .wc-logs-entries { background: #f6f7f7; border: 1px solid #c3c4c7; diff --git a/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php b/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php index 9b356f3e6a0..7842b4ccdc3 100644 --- a/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php +++ b/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php @@ -181,7 +181,7 @@ class FileController { if ( count( $result ) < 1 ) { return new WP_Error( 'wc_log_file_error', - esc_html__( 'Could not read the specified file.', 'woocommerce' ) + esc_html__( 'This file does not exist.', 'woocommerce' ) ); } diff --git a/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/ListTable.php b/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/ListTable.php index 50c87f3322c..3469fa5942e 100644 --- a/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/ListTable.php +++ b/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/ListTable.php @@ -229,7 +229,7 @@ class ListTable extends WP_List_Table {