diff --git a/includes/class-wc-payments-status.php b/includes/class-wc-payments-status.php index 0cd90a85e78..8ed632666fd 100644 --- a/includes/class-wc-payments-status.php +++ b/includes/class-wc-payments-status.php @@ -246,7 +246,7 @@ function ( $rule ) { 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' ); ?>