Update plugins/woocommerce/src/Internal/Admin/Logging/PageController.php

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
Corey McKrill 2023-11-03 18:19:31 -07:00
parent 9e57211bdd
commit 95d725f9b2
No known key found for this signature in database
GPG Key ID: 84BBFE669C4D97B8
1 changed files with 2 additions and 3 deletions

View File

@ -506,7 +506,8 @@ class PageController {
}
$classes = implode( ' ', $classes );
$line = sprintf(
return sprintf(
'<span id="L%1$d" class="%2$s">%3$s%4$s</span>',
absint( $line_number ),
esc_attr( $classes ),
@ -519,7 +520,5 @@ class PageController {
wp_kses_post( $text )
)
);
return $line;
}
}