-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apostrophes Issue (with attached solution) #60
Comments
Apostrophes in multiple choice questions bug fix. Closes #60
This has reappeared. Looks like stripslashes have been removed somewhere along the way - https://github.com/woothemes/sensei/blob/release-1-4-5/templates/single-quiz/question_type-multiple-choice.php#L85 https://github.com/woothemes/sensei/blob/release-1-4-5/classes/class-woothemes-sensei-utils.php#L465 @jeffikus Can we squeeze this into 1.4.5 if they just need replacing? (I can handle the change if that's all that's required) https://woothemes.zendesk.com/agent/#/tickets/124589 |
Closing for now as we need FTP details to debug on customers' sites. Can reopen if/when they reply. |
Got another report of this with FTP details - https://woothemes.zendesk.com/agent/#/tickets/143284 Still happening on my local too. Multi-choice answer won't save if the answer contains an apostrophe. |
Another case of the mysterious apostrophe issue - https://woothemes.zendesk.com/agent/#/tickets/158291 @hlashbrooke I have requested FTP details so you can investigate. |
@hlashbrooke FTP details now available for this issue in https://woothemes.zendesk.com/agent/#/tickets/158291 |
https://woothemes.zendesk.com/agent/#/tickets/63823
Changes are in /templates/single-quiz/question_type-multiple-choice.php on lines 33-35:
And in /classes/class-woothemes-sensei-utils.php the function sensei_grade_question_auto() becomes:
The main thing here is the stripslashes function being added to both pieces of code.
The text was updated successfully, but these errors were encountered: