diff --git a/classes/gateways/class.pmprogateway_check.php b/classes/gateways/class.pmprogateway_check.php index 46bd83aa0..1d3586c33 100644 --- a/classes/gateways/class.pmprogateway_check.php +++ b/classes/gateways/class.pmprogateway_check.php @@ -116,7 +116,7 @@ static function pmpro_payment_option_fields($values, $gateway) <label for="instructions"><?php esc_html_e('Instructions', 'paid-memberships-pro' );?></label> </th> <td> - <textarea id="instructions" name="instructions" rows="3" cols="50" class="large-text"><?php echo wp_kses_post( wpautop( wp_unslash( $values['instructions'] ) ) ); ?></textarea> + <textarea id="instructions" name="instructions" rows="3" cols="50" class="large-text"><?php echo esc_textarea( $values['instructions'] ); ?></textarea> <p class="description"><?php echo esc_html( sprintf( __( 'Instructions for members to follow to complete their purchase when paying with %s. Shown on the membership checkout, confirmation, and order pages.', 'paid-memberships-pro' ), $check_gateway_label ) );?></p> </td> </tr>