diff --git a/plugins/woocommerce/src/Internal/Admin/Logging/PageController.php b/plugins/woocommerce/src/Internal/Admin/Logging/PageController.php index 2e2553b4f43..4b0e71990b6 100644 --- a/plugins/woocommerce/src/Internal/Admin/Logging/PageController.php +++ b/plugins/woocommerce/src/Internal/Admin/Logging/PageController.php @@ -481,8 +481,8 @@ class PageController { * @return string */ private function format_line( string $text, int $line_number ): string { - $severity_levels = WC_Log_Levels::get_all_severity_levels(); - $classes = array( 'line' ); + $severity_levels = WC_Log_Levels::get_all_severity_levels(); + $classes = array( 'line' ); $text = esc_html( trim( $text ) ); if ( empty( $text ) ) {