Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Imran92 committed Aug 31, 2023
1 parent 98e91aa commit 87d5543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/single-quiz/question-type-multiple-choice.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
?>

<li class="<?php echo esc_attr( $option['option_class'] ); ?>">
<input type="<?php echo esc_attr( $option['type'] ); ?>" class="sensei-multiple-choice-answer-option-<?php echo $option['type']; ?>" id="<?php echo esc_attr( 'question_' . $question_data['ID'] . '-option-' . $count ); ?>" name="<?php echo esc_attr( 'sensei_question[' . $question_data['ID'] . ']' ); ?>[]" value="<?php echo esc_attr( $option['answer'] ); ?>" <?php echo esc_attr( $option['checked'] ); ?> <?php echo $question_data['quiz_is_completed'] || ! Sensei_Quiz::is_quiz_available() ? 'disabled' : ''; ?> />
<input type="<?php echo esc_attr( $option['type'] ); ?>" class="sensei-multiple-choice-answer-option-<?php echo esc_attr( $option['type'] ); ?>" id="<?php echo esc_attr( 'question_' . $question_data['ID'] . '-option-' . $count ); ?>" name="<?php echo esc_attr( 'sensei_question[' . $question_data['ID'] . ']' ); ?>[]" value="<?php echo esc_attr( $option['answer'] ); ?>" <?php echo esc_attr( $option['checked'] ); ?> <?php echo $question_data['quiz_is_completed'] || ! Sensei_Quiz::is_quiz_available() ? 'disabled' : ''; ?> />

<label for="<?php echo esc_attr( 'question_' . $question_data['ID'] . '-option-' . $count ); ?>">
<?php
Expand Down

0 comments on commit 87d5543

Please sign in to comment.