Quiz And Survey Master (Formerly Quiz Master Next) - Version 7.1.19

Version Description

(June 3, 2021) = * Bug: Fixed security issue related to IP address sanitization.

Download this release

Release Info

Developer expresstech
Plugin Icon 128x128 Quiz And Survey Master (Formerly Quiz Master Next)
Version 7.1.19
Comparing to
See all releases

Code changes from version 7.1.18 to 7.1.19

mlw_quizmaster2.php CHANGED
@@ -2,14 +2,14 @@
2
  /**
3
  * Plugin Name: Quiz And Survey Master
4
  * Description: Easily and quickly add quizzes and surveys to your website.
5
- * Version: 7.1.18
6
  * Author: ExpressTech
7
  * Author URI: https://quizandsurveymaster.com/
8
  * Plugin URI: https://expresstech.io/
9
  * Text Domain: quiz-master-next
10
  *
11
  * @author QSM Team
12
- * @version 7.1.18
13
  * @package QSM
14
  */
15
 
@@ -38,7 +38,7 @@ class MLWQuizMasterNext {
38
  * @var string
39
  * @since 4.0.0
40
  */
41
- public $version = '7.1.18';
42
 
43
  /**
44
  * QSM Alert Manager Object
2
  /**
3
  * Plugin Name: Quiz And Survey Master
4
  * Description: Easily and quickly add quizzes and surveys to your website.
5
+ * Version: 7.1.19
6
  * Author: ExpressTech
7
  * Author URI: https://quizandsurveymaster.com/
8
  * Plugin URI: https://expresstech.io/
9
  * Text Domain: quiz-master-next
10
  *
11
  * @author QSM Team
12
+ * @version 7.1.19
13
  * @package QSM
14
  */
15
 
38
  * @var string
39
  * @since 4.0.0
40
  */
41
+ public $version = '7.1.19';
42
 
43
  /**
44
  * QSM Alert Manager Object
php/classes/class-qmn-quiz-manager.php CHANGED
@@ -2006,7 +2006,12 @@ class QMNQuizManager {
2006
  $ip = $_SERVER['REMOTE_ADDR'];
2007
  }
2008
  }
2009
- return $ip;
 
 
 
 
 
2010
  }
2011
 
2012
  /**
2006
  $ip = $_SERVER['REMOTE_ADDR'];
2007
  }
2008
  }
2009
+
2010
+ if ( filter_var( $ip, FILTER_VALIDATE_IP ) ) {
2011
+ return $ip;
2012
+ } else {
2013
+ return __( 'Invalid IP Address', 'quiz-master-next' );
2014
+ }
2015
  }
2016
 
2017
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: quiz, survey, lead, test, score, exam, questionnaire, question,wordpress q
4
  Requires at least: 4.9
5
  Tested up to: 5.7
6
  Requires PHP: 5.4
7
- Stable tag: 7.1.18
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -140,6 +140,9 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
140
 
141
  == Changelog ==
142
 
 
 
 
143
  = 7.1.18 (May 31, 2021) =
144
  * Bug: Fixed recently discovered security issues.
145
 
4
  Requires at least: 4.9
5
  Tested up to: 5.7
6
  Requires PHP: 5.4
7
+ Stable tag: 7.1.19
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
140
 
141
  == Changelog ==
142
 
143
+ = 7.1.19 (June 3, 2021) =
144
+ * Bug: Fixed security issue related to IP address sanitization.
145
+
146
  = 7.1.18 (May 31, 2021) =
147
  * Bug: Fixed recently discovered security issues.
148