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

Version Description

Download this release

Release Info

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

Code changes from version 5.0.3 to 5.0.4

CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 4.7.9 (December 13, 2016) =
2
  * Closed Security: CSRF vulnerability on Questions tab
3
 
1
+ = 4.7.10 (January 1, 2017) =
2
+ * Closed Bug: Edit question not working when visual editor is off - Issue #497
3
+ * Closed Bug: Localization incomplete on Global Settings page - Issue #478
4
+
5
  = 4.7.9 (December 13, 2016) =
6
  * Closed Security: CSRF vulnerability on Questions tab
7
 
js/qmn_quiz.js CHANGED
@@ -51,8 +51,8 @@ function qmnValidation( element, quiz_form_id ) {
51
  result = false;
52
  }
53
  }
54
- if ( window.localStorage.getItem( 'mlw_time_quiz' + quiz_id ) === null ||
55
- window.localStorage.getItem( 'mlw_time_quiz'+quiz_id ) > 0.08 ) {
56
 
57
  if( jQuery( this ).attr( 'class' ).indexOf( 'mlwRequiredNumber' ) > -1 && this.value === "" && +this.value != NaN ) {
58
  qmnDisplayError( number_error, jQuery( this ), quiz_form_id );
51
  result = false;
52
  }
53
  }
54
+ if ( ( qmn_quiz_data[quiz_id].hasOwnProperty('pagination') && qmn_quiz_data[quiz_id].first_page ) || ( window.localStorage.getItem( 'mlw_time_quiz' + quiz_id ) === null ||
55
+ window.localStorage.getItem( 'mlw_time_quiz'+quiz_id ) > 0.08 ) ) {
56
 
57
  if( jQuery( this ).attr( 'class' ).indexOf( 'mlwRequiredNumber' ) > -1 && this.value === "" && +this.value != NaN ) {
58
  qmnDisplayError( number_error, jQuery( this ), quiz_form_id );
mlw_quizmaster2.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Quiz And Survey Master
4
  * Description: Easily and quickly add quizzes and surveys to your website.
5
- * Version: 5.0.3
6
  * Author: Frank Corso
7
  * Author URI: http://www.quizandsurveymaster.com/
8
  * Plugin URI: http://www.quizandsurveymaster.com/
@@ -10,7 +10,7 @@
10
  * Domain Path: /languages
11
  *
12
  * @author Frank Corso
13
- * @version 5.0.3
14
  */
15
  if ( ! defined( 'ABSPATH' ) ) exit;
16
 
@@ -30,7 +30,7 @@ class MLWQuizMasterNext {
30
  * @var string
31
  * @since 4.0.0
32
  */
33
- public $version = '5.0.3';
34
 
35
  /**
36
  * 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: 5.0.4
6
  * Author: Frank Corso
7
  * Author URI: http://www.quizandsurveymaster.com/
8
  * Plugin URI: http://www.quizandsurveymaster.com/
10
  * Domain Path: /languages
11
  *
12
  * @author Frank Corso
13
+ * @version 5.0.4
14
  */
15
  if ( ! defined( 'ABSPATH' ) ) exit;
16
 
30
  * @var string
31
  * @since 4.0.0
32
  */
33
+ public $version = '5.0.4';
34
 
35
  /**
36
  * QSM Alert Manager Object
php/about-page.php CHANGED
@@ -70,7 +70,8 @@ function mlw_generate_about_page() {
70
  </div>
71
  <div class="qsm-tab-content tab-2" style="display: none;">
72
  <h2>Changelog</h2>
73
- <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 33 ); ?>
 
74
  <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 26 ); ?>
75
  <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 19 ); ?>
76
  </div>
70
  </div>
71
  <div class="qsm-tab-content tab-2" style="display: none;">
72
  <h2>Changelog</h2>
73
+ <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 34 ); ?>
74
+ <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 33 ); ?>
75
  <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 26 ); ?>
76
  <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 19 ); ?>
77
  </div>
php/adverts-generate.php CHANGED
@@ -39,16 +39,10 @@ function mlw_qmn_show_adverts() {
39
  {
40
  display: block;
41
  text-align:center;
42
- letter-spacing: 1px;
43
- margin: auto;
44
- text-shadow: 0 1px 1px #000000;
45
  background: #0d97d8;
46
- border: 5px solid #106daa;
47
- -moz-border-radius: 20px;
48
- -webkit-border-radius: 20px;
49
- -khtml-border-radius: 20px;
50
- border-radius: 20px;
51
- color: #FFFFFF;
52
  }
53
  div.help_decide a
54
  {
39
  {
40
  display: block;
41
  text-align:center;
 
 
 
42
  background: #0d97d8;
43
+ border: 5px solid #1DD969;
44
+ color: #000;
45
+ font-weight: bold;
 
 
 
46
  }
47
  div.help_decide a
48
  {
php/class-qmn-log-manager.php CHANGED
@@ -44,7 +44,7 @@ class QMN_Log_Manager
44
  public function register_post_type() {
45
  /* logs post type */
46
  $log_args = array(
47
- 'labels' => array( 'name' => 'QMN Logs' ),
48
  'public' => defined( 'WP_DEBUG' ) && WP_DEBUG,
49
  'query_var' => false,
50
  'rewrite' => false,
44
  public function register_post_type() {
45
  /* logs post type */
46
  $log_args = array(
47
+ 'labels' => array( 'name' => 'QSM Logs' ),
48
  'public' => defined( 'WP_DEBUG' ) && WP_DEBUG,
49
  'query_var' => false,
50
  'rewrite' => false,
php/class-qmn-quiz-manager.php CHANGED
@@ -265,12 +265,7 @@ class QMNQuizManager {
265
  wp_enqueue_script( 'json2' );
266
  wp_enqueue_script( 'jquery' );
267
  wp_enqueue_script( 'jquery-ui-core' );
268
- wp_enqueue_script( 'jquery-effects-core' );
269
- wp_enqueue_script( 'jquery-effects-slide' );
270
- wp_enqueue_script( 'jquery-ui-dialog' );
271
- wp_enqueue_script( 'jquery-ui-button' );
272
  wp_enqueue_script( 'jquery-ui-tooltip' );
273
- wp_enqueue_style( 'qmn_jquery_redmond_theme', '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/redmond/jquery-ui.css' );
274
 
275
  global $qmn_json_data;
276
  $qmn_json_data["error_messages"] = array(
@@ -280,7 +275,7 @@ class QMNQuizManager {
280
  'empty' => $qmn_quiz_options->empty_error_text
281
  );
282
 
283
- wp_enqueue_script( 'qmn_quiz', plugins_url( '../js/qmn_quiz.js' , __FILE__ ), array( 'jquery', 'jquery-ui-tooltip' ) );
284
  wp_localize_script( 'qmn_quiz', 'qmn_ajax_object', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) ); // setting ajaxurl
285
  wp_enqueue_script( 'math_jax', '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' );
286
 
265
  wp_enqueue_script( 'json2' );
266
  wp_enqueue_script( 'jquery' );
267
  wp_enqueue_script( 'jquery-ui-core' );
 
 
 
 
268
  wp_enqueue_script( 'jquery-ui-tooltip' );
 
269
 
270
  global $qmn_json_data;
271
  $qmn_json_data["error_messages"] = array(
275
  'empty' => $qmn_quiz_options->empty_error_text
276
  );
277
 
278
+ wp_enqueue_script( 'qmn_quiz', plugins_url( '../js/qmn_quiz.js' , __FILE__ ), array( 'jquery', 'jquery-ui-tooltip' ), $mlwQuizMasterNext->version );
279
  wp_localize_script( 'qmn_quiz', 'qmn_ajax_object', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) ); // setting ajaxurl
280
  wp_enqueue_script( 'math_jax', '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' );
281
 
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: fpcorso
3
  Donate link: http://mylocalwebstop.com/downloads/donation-service-payment/
4
  Tags: quiz, survey, lead, test, score, exam, questionnaire, answer, question, points
5
- Requires at least: 4.6
6
- Tested up to: 4.7
7
- Stable tag: 5.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -108,36 +108,36 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
108
 
109
  == Changelog ==
110
 
 
 
 
 
111
  = 5.0.3 (May 29, 2017) =
112
- * Minor code changes
113
 
114
  = 5.0.2 (May 7, 2017) =
115
- * Closed Bug: Social sharing text not updating when user changes the text ([Issue #541](https://github.com/fpcorso/quiz_master_next/issues/541))
116
 
117
  = 5.0.1 (March 27, 2017) =
118
- * Closed Bug: The setting to hide contact fields from logged-in users is hiding fields from visitors too ([Issue #535](https://github.com/fpcorso/quiz_master_next/issues/535))
119
 
120
  = 5.0.0 (March 25, 2017) =
121
- * Closed Bug: Fix delete custom post types during uninstall bug ([Issue #527](https://github.com/fpcorso/quiz_master_next/issues/527))
122
- * Closed Enhancement: Change Shortcode To QSM ([Issue #515](https://github.com/fpcorso/quiz_master_next/issues/515))
123
- * Closed Enhancement: Search function for quizzes/surveys ([Issue #492](https://github.com/fpcorso/quiz_master_next/issues/492))
124
- * Closed Enhancement: Create new fields class to handle creation/post data of settings fields ([Issue #450](https://github.com/fpcorso/quiz_master_next/issues/450))
125
- * Closed Enhancement: Create new settings class to handle the settings data ([Issue #449](https://github.com/fpcorso/quiz_master_next/issues/449))
126
- * Closed Enhancement: Rewrite options system to allow for extendibility ([Issue #448](https://github.com/fpcorso/quiz_master_next/issues/448))
127
- * Closed Enhancement: Enable tabs for the admin results page ([Issue #408](https://github.com/fpcorso/quiz_master_next/issues/408))
128
- * Closed Enhancement: Create onboarding process ([Issue #397](https://github.com/fpcorso/quiz_master_next/issues/397))
129
- * Closed Enhancement: Create new contact tab to allow form creation ([Issue #394](https://github.com/fpcorso/quiz_master_next/issues/394))
130
- * Closed Enhancement: Move Certificate to free addon ([Issue #381](https://github.com/fpcorso/quiz_master_next/issues/381))
131
- * Closed Enhancement: Ability to add check box for privacy statement with the contact fields ([Issue #372](https://github.com/fpcorso/quiz_master_next/issues/372))
132
- * Closed Enhancement: Customize the "Please complete all required fields!" text ([Issue #371](https://github.com/fpcorso/quiz_master_next/issues/371))
133
- * Closed Enhancement: Allow admins to customize the validation error messages ([Issue #346](https://github.com/fpcorso/quiz_master_next/issues/346))
134
- * Closed Enhancement: Hint field cannot be customized ([Issue #262](https://github.com/fpcorso/quiz_master_next/issues/262))
135
- * Closed Enhancement: Add custom fields to the contact form ([Issue #211](https://github.com/fpcorso/quiz_master_next/issues/211))
136
- * Closed Enhancement: Scrollable List of Quizzes ([Issue #46](https://github.com/fpcorso/quiz_master_next/issues/46))
137
-
138
- = 4.7.10 (January 1, 2017) =
139
- * Closed Bug: Edit question not working when visual editor is off - Issue #497
140
- * Closed Bug: Localization incomplete on Global Settings page - Issue #478
141
 
142
  ([Read Full Changelog](https://github.com/fpcorso/quiz_master_next/blob/master/CHANGELOG.md))
143
 
2
  Contributors: fpcorso
3
  Donate link: http://mylocalwebstop.com/downloads/donation-service-payment/
4
  Tags: quiz, survey, lead, test, score, exam, questionnaire, answer, question, points
5
+ Requires at least: 4.7
6
+ Tested up to: 4.8
7
+ Stable tag: 5.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
108
 
109
  == Changelog ==
110
 
111
+ = 5.0.2 (June 19, 2017) =
112
+ * Closed Bug: Required fields are not checked 2nd time user takes quiz when timer is turned on ([Issue #528](https://github.com/fpcorso/quiz_master_next/issues/528))
113
+ * Closed Enhancement: Ensure compatibility with WordPress 4.8 ([Issue #554](https://github.com/fpcorso/quiz_master_next/issues/554))
114
+
115
  = 5.0.3 (May 29, 2017) =
116
+ * Minor code changes
117
 
118
  = 5.0.2 (May 7, 2017) =
119
+ * Closed Bug: Social sharing text not updating when user changes the text ([Issue #541](https://github.com/fpcorso/quiz_master_next/issues/541))
120
 
121
  = 5.0.1 (March 27, 2017) =
122
+ * Closed Bug: The setting to hide contact fields from logged-in users is hiding fields from visitors too ([Issue #535](https://github.com/fpcorso/quiz_master_next/issues/535))
123
 
124
  = 5.0.0 (March 25, 2017) =
125
+ * Closed Bug: Fix delete custom post types during uninstall bug ([Issue #527](https://github.com/fpcorso/quiz_master_next/issues/527))
126
+ * Closed Enhancement: Change Shortcode To QSM ([Issue #515](https://github.com/fpcorso/quiz_master_next/issues/515))
127
+ * Closed Enhancement: Search function for quizzes/surveys ([Issue #492](https://github.com/fpcorso/quiz_master_next/issues/492))
128
+ * Closed Enhancement: Create new fields class to handle creation/post data of settings fields ([Issue #450](https://github.com/fpcorso/quiz_master_next/issues/450))
129
+ * Closed Enhancement: Create new settings class to handle the settings data ([Issue #449](https://github.com/fpcorso/quiz_master_next/issues/449))
130
+ * Closed Enhancement: Rewrite options system to allow for extendibility ([Issue #448](https://github.com/fpcorso/quiz_master_next/issues/448))
131
+ * Closed Enhancement: Enable tabs for the admin results page ([Issue #408](https://github.com/fpcorso/quiz_master_next/issues/408))
132
+ * Closed Enhancement: Create onboarding process ([Issue #397](https://github.com/fpcorso/quiz_master_next/issues/397))
133
+ * Closed Enhancement: Create new contact tab to allow form creation ([Issue #394](https://github.com/fpcorso/quiz_master_next/issues/394))
134
+ * Closed Enhancement: Move Certificate to free addon ([Issue #381](https://github.com/fpcorso/quiz_master_next/issues/381))
135
+ * Closed Enhancement: Ability to add check box for privacy statement with the contact fields ([Issue #372](https://github.com/fpcorso/quiz_master_next/issues/372))
136
+ * Closed Enhancement: Customize the "Please complete all required fields!" text ([Issue #371](https://github.com/fpcorso/quiz_master_next/issues/371))
137
+ * Closed Enhancement: Allow admins to customize the validation error messages ([Issue #346](https://github.com/fpcorso/quiz_master_next/issues/346))
138
+ * Closed Enhancement: Hint field cannot be customized ([Issue #262](https://github.com/fpcorso/quiz_master_next/issues/262))
139
+ * Closed Enhancement: Add custom fields to the contact form ([Issue #211](https://github.com/fpcorso/quiz_master_next/issues/211))
140
+ * Closed Enhancement: Scrollable List of Quizzes ([Issue #46](https://github.com/fpcorso/quiz_master_next/issues/46))
 
 
 
 
141
 
142
  ([Read Full Changelog](https://github.com/fpcorso/quiz_master_next/blob/master/CHANGELOG.md))
143