Skip to content

Conversation

@Anindra123
Copy link
Collaborator

Overview

This pr fixes the issue with course gifting, where after putting a message with special character ( russian character, japanese character etc.) when sending a gift on the gift form, after it gets added to cart, the form data get run through wp_json_encode which converts the special characters to unicode, to fix it , i have used the flag JSON_UNESCAPED_UNICODE on wp_json_encode so as to not escape unicode characters when encoding json in CartModel class on the method add_courses_to_cart

@Anindra123 Anindra123 requested a review from shewa12 December 24, 2025 09:43
@Anindra123 Anindra123 changed the title Fix: Gift course not rending special characters correctly Fix: Gift course not rendering special characters correctly Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants