Skip to content

Commit

Permalink
Merge pull request #2576 from QuizandSurveyMaster/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
zubairraeen committed Jun 10, 2024
2 parents 38c5e49 + f69fde3 commit a7762cf
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mlw_quizmaster2.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Quiz And Survey Master
* Description: Easily and quickly add quizzes and surveys to your website.
* Version: 9.0.3
* Version: 9.0.4
* Author: ExpressTech
* Author URI: https://quizandsurveymaster.com/
* Plugin URI: https://expresstech.io/
Expand Down Expand Up @@ -43,7 +43,7 @@ class MLWQuizMasterNext {
* @var string
* @since 4.0.0
*/
public $version = '9.0.3';
public $version = '9.0.4';

/**
* QSM Alert Manager Object
Expand Down
4 changes: 2 additions & 2 deletions php/classes/class-qsm-results-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ public static function generate_pages( $response_data ) {

// Decodes special characters, runs through our template
// variables, and then outputs the text.
$page = htmlspecialchars_decode( $content, ENT_QUOTES);
$page = wp_kses_post( htmlspecialchars_decode( $content, ENT_QUOTES) );

//last chance to filter $page
$page = apply_filters( 'qsm_template_variable_results_page', $page, $response_data );

echo wp_kses_post( apply_filters( 'mlw_qmn_template_variable_results_page', $page, $response_data ) );
echo apply_filters( 'mlw_qmn_template_variable_results_page', $page, $response_data );
do_action( 'qsm_after_results_page', $response_data, $page_index );
?>
</div><?php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function qmn_horizontal_multiple_choice_display( $id, $question, $answers ) {
}
echo apply_filters( 'qmn_horizontal_multiple_choice_question_display', '', $id, $question, $answers );
?>
<label style="display: none;" for="<?php echo esc_attr( 'question' . $id . '_none' ); ?>"><?php echo esc_attr( 'question' . $id ); ?></label>
<label style="display: none !important;" for="<?php echo esc_attr( 'question' . $id . '_none' ); ?>"><?php esc_attr_e( 'None', 'quiz-master-next' ); ?></label>
<input type="radio" style="display: none;" name="question<?php echo esc_attr( $id ); ?>" id="question<?php echo esc_attr( $id ); ?>_none" checked="checked" value="" />
<?php
}
Expand Down
2 changes: 1 addition & 1 deletion php/question-types/qsm-question-type-multiple-choice.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function qmn_multiple_choice_display( $id, $question, $answers ) {
}
echo apply_filters( 'qsm_multiple_choice_display_after_loop', ' ', $id, $question, $answers );
?>
<label style="display: none;" for="<?php echo esc_attr( 'question' . $id . '_none' ); ?>"><?php echo esc_attr( 'question' . $id ); ?></label>
<label style="display: none !important;" for="<?php echo esc_attr( 'question' . $id . '_none' ); ?>"><?php esc_attr_e( 'None', 'quiz-master-next' ); ?></label>
<input type="radio" style="display: none;" name="<?php echo esc_attr( 'question' . $id ); ?>" id="<?php echo esc_attr( 'question' . $id . '_none' ); ?>" checked="checked" value="" />
<?php
}
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: quiz, survey, test, exam, online assessment
Requires at least: 4.9
Tested up to: 6.5
Requires PHP: 5.4
Stable tag: 9.0.3
Stable tag: 9.0.4
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -163,6 +163,9 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
18. Database

== Changelog ==
= 9.0.4 ( June 10, 2024 ) =
* Enhancement: Improved HTML code management on the result page

= 9.0.3 ( June 08, 2024 ) =
* Bug: Fixed issue with QSM block first question title
* Bug: Fixed issue with next button in single question quiz
Expand Down

0 comments on commit a7762cf

Please sign in to comment.