Skip to content

Commit

Permalink
move to esch_html_e
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Karimov authored and Timur Karimov committed Nov 13, 2024
1 parent b6afd90 commit 957a1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-payments-status.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function ( $rule ) {
<td>
<?php
$manual_capture_enabled = 'yes' === $this->gateway->get_option( 'manual_capture' );
echo esc_html( $manual_capture_enabled ? __( 'Enabled', 'woocommerce-payments' ) : __( 'Disabled', 'woocommerce-payments' ) );
echo $manual_capture_enabled ? esc_html_e( 'Enabled', 'woocommerce-payments' ) : esc_html_e( 'Disabled', 'woocommerce-payments' );
?>
</td>
</tr>
Expand Down

0 comments on commit 957a1b9

Please sign in to comment.