Fix PHPCS errors

This commit is contained in:
Daniel Dudzic 2024-04-09 23:44:51 +02:00
parent 7b499b3780
commit 708fcc0faa
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
6 changed files with 118 additions and 90 deletions

View file

@ -40,6 +40,8 @@ if ( $processor->next_tag( 'div' ) ) {
$updated_html = (string) $processor;
?>
<div id="ppcp-paylater-message-block" <?php echo get_block_wrapper_attributes(); ?>>
<?php echo $updated_html; ?>
<div id="ppcp-paylater-message-block" <?php echo wp_kses_data( get_block_wrapper_attributes() ); ?>>
<?php
echo $updated_html; // phpcs:ignore -- No need to escape it, all added attributes have been sanitized above.
?>
</div>