diff --git a/includes/core/um-actions-account.php b/includes/core/um-actions-account.php index b936891b..7470f2bf 100644 --- a/includes/core/um-actions-account.php +++ b/includes/core/um-actions-account.php @@ -376,7 +376,7 @@ add_action( 'um_account_page_hidden_fields', 'um_account_page_hidden_fields' ); * Before delete account tab content */ function um_before_account_delete() { - echo wpautop( UM()->options()->get( 'delete_account_text' ) ); + echo wpautop( htmlspecialchars( UM()->options()->get( 'delete_account_text' ) ) ); } add_action( 'um_before_account_delete', 'um_before_account_delete' );