Version Description
Upgrade for various bug fixes.
Download this release
Release Info
Developer | fpcorso |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0.0 to 4.0.1
- includes/qmn_credits.php +4 -14
- includes/qmn_options_questions_tab.php +2 -2
- includes/qmn_options_results_page_tab.php +2 -2
- includes/qmn_question_types.php +2 -2
- mlw_quizmaster2.php +3 -3
- readme.txt +9 -1
includes/qmn_credits.php
CHANGED
@@ -132,21 +132,11 @@ function mlw_generate_about_page()
|
|
132 |
<br />
|
133 |
</div>
|
134 |
<div id="mlw_quiz_changelog" style="display: none;">
|
135 |
-
<h3><?php echo $mlw_quiz_version; ?> (January
|
136 |
<ul>
|
137 |
-
<li>*
|
138 |
-
<li>*
|
139 |
-
<li>*
|
140 |
-
<li>* Added Shortcode Capability To Results Pages</li>
|
141 |
-
<li>* Added Translation Capabilities</li>
|
142 |
-
<li>* Created New Addon Settings Page</li>
|
143 |
-
<li>* Design Changes To Quiz Settings Page</li>
|
144 |
-
<li>* In Code: Added 20 New Filters And Hooks</li>
|
145 |
-
<li>* In Code: Turned Question Types Into Extendable Functions For Creating Own Question Types</li>
|
146 |
-
<li>* In Code: Created New Plugin Helper Class For Extending Plugin</li>
|
147 |
-
<li>* In Code: Rewrote 75% of quiz shortcode file. Now With New Quiz Manager Class</li>
|
148 |
-
<li>* In Code: Re-organized File/Directory Structure</li>
|
149 |
-
<li>* In Code: Separated Quiz Settings Functions Into Own Files</li>
|
150 |
</ul>
|
151 |
</div>
|
152 |
<div id="mlw_quiz_requested" style="display: none;">
|
132 |
<br />
|
133 |
</div>
|
134 |
<div id="mlw_quiz_changelog" style="display: none;">
|
135 |
+
<h3><?php echo $mlw_quiz_version; ?> (January 21, 2015)</h3>
|
136 |
<ul>
|
137 |
+
<li>* Results HTML Bug Fix</li>
|
138 |
+
<li>* Question HTML Bug Fix</li>
|
139 |
+
<li>* Multiple Response Points Bug Fix</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
</ul>
|
141 |
</div>
|
142 |
<div id="mlw_quiz_requested" style="display: none;">
|
includes/qmn_options_questions_tab.php
CHANGED
@@ -16,7 +16,7 @@ function mlw_options_questions_tab_content()
|
|
16 |
if ( isset($_POST["edit_question"]) && $_POST["edit_question"] == "confirmation")
|
17 |
{
|
18 |
//Variables from edit question form
|
19 |
-
$edit_question_name = trim(preg_replace('/\s+/',' ', nl2br(htmlspecialchars($_POST["edit_question_name"], ENT_QUOTES))));
|
20 |
$edit_question_answer_info = $_POST["edit_correct_answer_info"];
|
21 |
$mlw_edit_question_id = intval($_POST["edit_question_id"]);
|
22 |
$mlw_edit_question_type = $_POST["edit_question_type"];
|
@@ -233,7 +233,7 @@ function mlw_options_questions_tab_content()
|
|
233 |
if ( isset($_POST["create_question"]) && $_POST["create_question"] == "confirmation")
|
234 |
{
|
235 |
//Variables from new question form
|
236 |
-
$question_name = trim(preg_replace('/\s+/',' ', nl2br(htmlspecialchars($_POST["question_name"], ENT_QUOTES))));
|
237 |
$question_answer_info = $_POST["correct_answer_info"];
|
238 |
$question_type = $_POST["question_type"];
|
239 |
$comments = htmlspecialchars($_POST["comments"], ENT_QUOTES);
|
16 |
if ( isset($_POST["edit_question"]) && $_POST["edit_question"] == "confirmation")
|
17 |
{
|
18 |
//Variables from edit question form
|
19 |
+
$edit_question_name = trim(preg_replace('/\s+/',' ', nl2br(htmlspecialchars(stripslashes($_POST["edit_question_name"]), ENT_QUOTES))));
|
20 |
$edit_question_answer_info = $_POST["edit_correct_answer_info"];
|
21 |
$mlw_edit_question_id = intval($_POST["edit_question_id"]);
|
22 |
$mlw_edit_question_type = $_POST["edit_question_type"];
|
233 |
if ( isset($_POST["create_question"]) && $_POST["create_question"] == "confirmation")
|
234 |
{
|
235 |
//Variables from new question form
|
236 |
+
$question_name = trim(preg_replace('/\s+/',' ', nl2br(htmlspecialchars(stripslashes($_POST["question_name"]), ENT_QUOTES))));
|
237 |
$question_answer_info = $_POST["correct_answer_info"];
|
238 |
$question_type = $_POST["question_type"];
|
239 |
$comments = htmlspecialchars($_POST["comments"], ENT_QUOTES);
|
includes/qmn_options_results_page_tab.php
CHANGED
@@ -214,7 +214,7 @@ function mlw_options_results_tab_content()
|
|
214 |
echo "<input type='hidden' id='message_after_end_".$mlw_each_count."' name='message_after_end_".$mlw_each_count."' value='0'/>-";
|
215 |
echo "</td>";
|
216 |
echo "<td>";
|
217 |
-
wp_editor( $mlw_each[2], "message_after_".$mlw_each_count );
|
218 |
//echo "<textarea cols='80' rows='15' id='message_after_".$mlw_each_count."' name='message_after_".$mlw_each_count."'>".$mlw_each[2]."</textarea>";
|
219 |
echo "</td>";
|
220 |
echo "</tr>";
|
@@ -233,7 +233,7 @@ function mlw_options_results_tab_content()
|
|
233 |
echo "<input type='text' id='message_after_end_".$mlw_each_count."' name='message_after_end_".$mlw_each_count."' title='What score must the user score worse than to see this page' value='".$mlw_each[1]."' />";
|
234 |
echo "</td>";
|
235 |
echo "<td>";
|
236 |
-
wp_editor( $mlw_each[2], "message_after_".$mlw_each_count );
|
237 |
//echo "<textarea cols='80' rows='15' id='message_after_".$mlw_each_count."' title='What text will the user see when reaching this page' name='message_after_".$mlw_each_count."'>".$mlw_each[2]."</textarea>";
|
238 |
echo "</td>";
|
239 |
echo "</tr>";
|
214 |
echo "<input type='hidden' id='message_after_end_".$mlw_each_count."' name='message_after_end_".$mlw_each_count."' value='0'/>-";
|
215 |
echo "</td>";
|
216 |
echo "<td>";
|
217 |
+
wp_editor( htmlspecialchars_decode($mlw_each[2], ENT_QUOTES), "message_after_".$mlw_each_count );
|
218 |
//echo "<textarea cols='80' rows='15' id='message_after_".$mlw_each_count."' name='message_after_".$mlw_each_count."'>".$mlw_each[2]."</textarea>";
|
219 |
echo "</td>";
|
220 |
echo "</tr>";
|
233 |
echo "<input type='text' id='message_after_end_".$mlw_each_count."' name='message_after_end_".$mlw_each_count."' title='What score must the user score worse than to see this page' value='".$mlw_each[1]."' />";
|
234 |
echo "</td>";
|
235 |
echo "<td>";
|
236 |
+
wp_editor( htmlspecialchars_decode($mlw_each[2], ENT_QUOTES), "message_after_".$mlw_each_count );
|
237 |
//echo "<textarea cols='80' rows='15' id='message_after_".$mlw_each_count."' title='What text will the user see when reaching this page' name='message_after_".$mlw_each_count."'>".$mlw_each[2]."</textarea>";
|
238 |
echo "</td>";
|
239 |
echo "</tr>";
|
includes/qmn_question_types.php
CHANGED
@@ -300,7 +300,7 @@ function qmn_multiple_response_review($id, $question, $answers)
|
|
300 |
{
|
301 |
if (isset($_POST["question".$id."_".$i]) && htmlspecialchars(stripslashes($_POST["question".$id."_".$i]), ENT_QUOTES) == esc_attr($answer[0]))
|
302 |
{
|
303 |
-
$return_array["points"]
|
304 |
$return_array["user_text"] .= strval(htmlspecialchars_decode($answer[0], ENT_QUOTES)).".";
|
305 |
if ($answer[2] == 1)
|
306 |
{
|
@@ -547,7 +547,7 @@ function qmn_horizontal_multiple_response_review($id, $question, $answers)
|
|
547 |
{
|
548 |
if (isset($_POST["question".$id."_".$i]) && htmlspecialchars(stripslashes($_POST["question".$id."_".$i]), ENT_QUOTES) == esc_attr($answer[0]))
|
549 |
{
|
550 |
-
$return_array["points"]
|
551 |
$return_array["user_text"] .= strval(htmlspecialchars_decode($answer[0], ENT_QUOTES)).".";
|
552 |
if ($answer[2] == 1)
|
553 |
{
|
300 |
{
|
301 |
if (isset($_POST["question".$id."_".$i]) && htmlspecialchars(stripslashes($_POST["question".$id."_".$i]), ENT_QUOTES) == esc_attr($answer[0]))
|
302 |
{
|
303 |
+
$return_array["points"] += $answer[1];
|
304 |
$return_array["user_text"] .= strval(htmlspecialchars_decode($answer[0], ENT_QUOTES)).".";
|
305 |
if ($answer[2] == 1)
|
306 |
{
|
547 |
{
|
548 |
if (isset($_POST["question".$id."_".$i]) && htmlspecialchars(stripslashes($_POST["question".$id."_".$i]), ENT_QUOTES) == esc_attr($answer[0]))
|
549 |
{
|
550 |
+
$return_array["points"] += $answer[1];
|
551 |
$return_array["user_text"] .= strval(htmlspecialchars_decode($answer[0], ENT_QUOTES)).".";
|
552 |
if ($answer[2] == 1)
|
553 |
{
|
mlw_quizmaster2.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Quiz Master Next
|
4 |
* Description: Use this plugin to add multiple quizzes, tests, or surveys to your website.
|
5 |
-
* Version: 4.0.
|
6 |
* Author: Frank Corso
|
7 |
* Author URI: http://www.mylocalwebstop.com/
|
8 |
* Plugin URI: http://www.mylocalwebstop.com/
|
@@ -16,7 +16,7 @@
|
|
16 |
* You understand that you install, operate, and unistall the plugin at your own discretion and risk.
|
17 |
*
|
18 |
* @author Frank Corso
|
19 |
-
* @version 4.0.
|
20 |
*/
|
21 |
|
22 |
/**
|
@@ -34,7 +34,7 @@ class MLWQuizMasterNext
|
|
34 |
* @var string
|
35 |
* @since 4.0.0
|
36 |
*/
|
37 |
-
public $version = '4.0.
|
38 |
|
39 |
/**
|
40 |
* QMN Alert Manager Object
|
2 |
/**
|
3 |
* Plugin Name: Quiz Master Next
|
4 |
* Description: Use this plugin to add multiple quizzes, tests, or surveys to your website.
|
5 |
+
* Version: 4.0.1
|
6 |
* Author: Frank Corso
|
7 |
* Author URI: http://www.mylocalwebstop.com/
|
8 |
* Plugin URI: http://www.mylocalwebstop.com/
|
16 |
* You understand that you install, operate, and unistall the plugin at your own discretion and risk.
|
17 |
*
|
18 |
* @author Frank Corso
|
19 |
+
* @version 4.0.1
|
20 |
*/
|
21 |
|
22 |
/**
|
34 |
* @var string
|
35 |
* @since 4.0.0
|
36 |
*/
|
37 |
+
public $version = '4.0.1';
|
38 |
|
39 |
/**
|
40 |
* QMN Alert Manager Object
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: quiz, test, score, exam, survey, contact, form, email, answer, question
|
5 |
Requires at least: 3.8.1
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 4.0.
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
The easiest and most flexible way to add multiple quizzes, tests, and surveys to your website.
|
@@ -120,6 +120,11 @@ Feel free to use the widget on the help page within the plugin or from the conta
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
|
|
|
|
123 |
= 4.0.0 (January 14, 2015) =
|
124 |
* Added Ability To Add Categories To Your Quizzes
|
125 |
* Added Multiple Choice And Multiple Response To Required System
|
@@ -607,6 +612,9 @@ Feel free to use the widget on the help page within the plugin or from the conta
|
|
607 |
|
608 |
== Upgrade Notice ==
|
609 |
|
|
|
|
|
|
|
610 |
= 4.0.0 =
|
611 |
Upgrade for categories, new editor for results pages, shortcode capability on results pages, enhanced required question system, and more.
|
612 |
|
4 |
Tags: quiz, test, score, exam, survey, contact, form, email, answer, question
|
5 |
Requires at least: 3.8.1
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 4.0.1
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
The easiest and most flexible way to add multiple quizzes, tests, and surveys to your website.
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 4.0.1 (January 21, 2015) =
|
124 |
+
* Results HTML Bug Fix
|
125 |
+
* Question HTML Bug Fix
|
126 |
+
* Multiple Response Points Bug Fix
|
127 |
+
|
128 |
= 4.0.0 (January 14, 2015) =
|
129 |
* Added Ability To Add Categories To Your Quizzes
|
130 |
* Added Multiple Choice And Multiple Response To Required System
|
612 |
|
613 |
== Upgrade Notice ==
|
614 |
|
615 |
+
= 4.0.1 =
|
616 |
+
Upgrade for various bug fixes.
|
617 |
+
|
618 |
= 4.0.0 =
|
619 |
Upgrade for categories, new editor for results pages, shortcode capability on results pages, enhanced required question system, and more.
|
620 |
|