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

Version Description

(October 4, 2017) = * Closed Bug: Variable function names break Certificate addon - (Issue #578)

Download this release

Release Info

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

Code changes from version 5.1.0 to 5.1.1

CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 5.1.0 (October 2, 2017) =
2
  * Closed Enhancement: Add all active quizzes function to API - ([Issue #552](https://github.com/fpcorso/quiz_master_next/issues/552))
3
  * Closed User Request: Shortcode or variable for dynamic link to specific quiz/survey - ([Issue #524](https://github.com/fpcorso/quiz_master_next/issues/524))
1
+ = 5.1.1 (October 4, 2017) =
2
+ * Closed Bug: Variable function names break Certificate addon - ([Issue #578](https://github.com/fpcorso/quiz_master_next/issues/578))
3
+
4
  = 5.1.0 (October 2, 2017) =
5
  * Closed Enhancement: Add all active quizzes function to API - ([Issue #552](https://github.com/fpcorso/quiz_master_next/issues/552))
6
  * Closed User Request: Shortcode or variable for dynamic link to specific quiz/survey - ([Issue #524](https://github.com/fpcorso/quiz_master_next/issues/524))
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.1.0
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.1.0
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.1.0';
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.1.1
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.1.1
14
  */
15
  if ( ! defined( 'ABSPATH' ) ) exit;
16
 
30
  * @var string
31
  * @since 4.0.0
32
  */
33
+ public $version = '5.1.1';
34
 
35
  /**
36
  * QSM Alert Manager Object
php/about-page.php CHANGED
@@ -54,6 +54,7 @@ function mlw_generate_about_page() {
54
  </div>
55
  <div class="qsm-tab-content tab-2" style="display: none;">
56
  <h2>Changelog</h2>
 
57
  <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 25 ); ?>
58
  </div>
59
  <div class="qsm-tab-content tab-3" style="display:none;">
54
  </div>
55
  <div class="qsm-tab-content tab-2" style="display: none;">
56
  <h2>Changelog</h2>
57
+ <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 40 ); ?>
58
  <?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 25 ); ?>
59
  </div>
60
  <div class="qsm-tab-content tab-3" style="display:none;">
php/template-variables.php CHANGED
@@ -53,13 +53,13 @@ add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_question_
53
  add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_comments',10,2);
54
  add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_timer',10,2);
55
  add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_timer_minutes',10,2);
56
- add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_date',10,2);
57
- add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_date_taken',10,2);
58
  add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_facebook_share',10,2);
59
  add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_twitter_share',10,2);
60
 
61
  add_filter('mlw_qmn_template_variable_quiz_page', 'mlw_qmn_variable_quiz_name',10,2);
62
- add_filter('mlw_qmn_template_variable_quiz_page', 'qsm_variable_date',10,2);
63
  add_filter('mlw_qmn_template_variable_quiz_page', 'mlw_qmn_variable_current_user',10,2);
64
 
65
  /**
@@ -254,7 +254,7 @@ function mlw_qmn_variable_timer_minutes($content, $mlw_quiz_array)
254
  * @param array $results The array of all the results from user taking the quiz
255
  * @return string Returns the contents for the results page
256
  */
257
- function qsm_variable_date( $content, $results ) {
258
  $date = date_i18n( get_option( 'date_format' ), time() );
259
  $content = str_replace( "%CURRENT_DATE%" , $date, $content);
260
  return $content;
@@ -267,7 +267,7 @@ function qsm_variable_date( $content, $results ) {
267
  * @param array $results The array of all the results from user taking the quiz
268
  * @return string Returns the contents for the results page
269
  */
270
- function qsm_variable_date_taken( $content, $results ) {
271
  $date = date_i18n( get_option( 'date_format' ), strtotime( $results["time_taken"] ) );
272
  $content = str_replace( "%DATE_TAKEN%" , $date, $content);
273
  return $content;
53
  add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_comments',10,2);
54
  add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_timer',10,2);
55
  add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_timer_minutes',10,2);
56
+ add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_date',10,2);
57
+ add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_date_taken',10,2);
58
  add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_facebook_share',10,2);
59
  add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_twitter_share',10,2);
60
 
61
  add_filter('mlw_qmn_template_variable_quiz_page', 'mlw_qmn_variable_quiz_name',10,2);
62
+ add_filter('mlw_qmn_template_variable_quiz_page', 'mlw_qmn_variable_date',10,2);
63
  add_filter('mlw_qmn_template_variable_quiz_page', 'mlw_qmn_variable_current_user',10,2);
64
 
65
  /**
254
  * @param array $results The array of all the results from user taking the quiz
255
  * @return string Returns the contents for the results page
256
  */
257
+ function mlw_qmn_variable_date( $content, $results ) {
258
  $date = date_i18n( get_option( 'date_format' ), time() );
259
  $content = str_replace( "%CURRENT_DATE%" , $date, $content);
260
  return $content;
267
  * @param array $results The array of all the results from user taking the quiz
268
  * @return string Returns the contents for the results page
269
  */
270
+ function mlw_qmn_variable_date_taken( $content, $results ) {
271
  $date = date_i18n( get_option( 'date_format' ), strtotime( $results["time_taken"] ) );
272
  $content = str_replace( "%DATE_TAKEN%" , $date, $content);
273
  return $content;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: fpcorso
3
  Tags: quiz, survey, lead, test, score, exam, questionnaire, answer, question, points
4
  Requires at least: 4.7
5
  Tested up to: 4.8
6
- Stable tag: 5.1.0
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -108,6 +108,9 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
108
 
109
  == Changelog ==
110
 
 
 
 
111
  = 5.1.0 (October 2, 2017) =
112
  * Closed Enhancement: Add all active quizzes function to API - ([Issue #552](https://github.com/fpcorso/quiz_master_next/issues/552))
113
  * Closed User Request: Shortcode or variable for dynamic link to specific quiz/survey - ([Issue #524](https://github.com/fpcorso/quiz_master_next/issues/524))
@@ -115,7 +118,7 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
115
  * Closed User Request: Allow users to change the date to European Date DD.MM.YYYY - ([Issue #439](https://github.com/fpcorso/quiz_master_next/issues/439))
116
  * Closed User Request: More Space in the Correct Answer Info textbox - ([Issue #417](https://github.com/fpcorso/quiz_master_next/issues/417))
117
 
118
- = ([Read Full Changelog](https://github.com/fpcorso/quiz_master_next/blob/master/CHANGELOG.md)) =
119
 
120
  == Upgrade Notice ==
121
 
3
  Tags: quiz, survey, lead, test, score, exam, questionnaire, answer, question, points
4
  Requires at least: 4.7
5
  Tested up to: 4.8
6
+ Stable tag: 5.1.1
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
108
 
109
  == Changelog ==
110
 
111
+ = 5.1.1 (October 4, 2017) =
112
+ * Closed Bug: Variable function names break Certificate addon - ([Issue #578](https://github.com/fpcorso/quiz_master_next/issues/578))
113
+
114
  = 5.1.0 (October 2, 2017) =
115
  * Closed Enhancement: Add all active quizzes function to API - ([Issue #552](https://github.com/fpcorso/quiz_master_next/issues/552))
116
  * Closed User Request: Shortcode or variable for dynamic link to specific quiz/survey - ([Issue #524](https://github.com/fpcorso/quiz_master_next/issues/524))
118
  * Closed User Request: Allow users to change the date to European Date DD.MM.YYYY - ([Issue #439](https://github.com/fpcorso/quiz_master_next/issues/439))
119
  * Closed User Request: More Space in the Correct Answer Info textbox - ([Issue #417](https://github.com/fpcorso/quiz_master_next/issues/417))
120
 
121
+ ([Read Full Changelog](https://github.com/fpcorso/quiz_master_next/blob/master/CHANGELOG.md))
122
 
123
  == Upgrade Notice ==
124