Skip to content

Commit

Permalink
Fixed wpml issue with fill in the blank on result page
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-pranav committed Feb 5, 2024
1 parent e0a596f commit bf14104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/template-variables.php
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ function qsm_questions_answers_shortcode_to_text( $mlw_quiz_array, $qmn_question
}
$index = $key + 1;
if ( $is_answer_correct ) {
$question_with_answer_text .= '<span class="qsm-text-correct-option qsm-text-user-correct-answer">(' . $index . ') ' . $decode_single_user_answer . '</span>';
$question_with_answer_text .= '<span class="qsm-text-correct-option qsm-text-user-correct-answer">(' . $index . ') ' . $show_user_answer . '</span>';
} else {
if ( '' === $show_user_answer ) {
$show_user_answer = $quiz_options->no_answer_text;
Expand Down

0 comments on commit bf14104

Please sign in to comment.