Skip to content

Commit

Permalink
Fix "All output should be run through an escaping function".
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Mar 26, 2024
1 parent dbb0f52 commit 5389d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RefundsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private function process_refund( EDD_Payment $edd_payment, Payment $payment ) {
$gateway = $payment->get_gateway();

if ( null === $gateway ) {
throw new Exception( __( 'Unable to process refund because gateway does not exist.', 'pronamic_ideal' ) );
throw new \Exception( \esc_html__( 'Unable to process refund because gateway does not exist.', 'pronamic_ideal' ) );
}

// Transaction ID.
Expand Down

0 comments on commit 5389d07

Please sign in to comment.