WordPress.org

Plugin Directory

Changeset 1724526


Ignore:
Timestamp:
09/04/17 19:15:39 (3 months ago)
Author:
goldhat
Message:

Release v0.8.4

Location:
quizmaster
Files:
158 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • quizmaster/trunk/fields/fieldgroups/quiz.php

    r1720872 r1724526  
    320320            'type' => 'true_false', 
    321321            'instructions' => 'If you enable this option, the user is forced to answer each question. If the option "Question overview" is activated, this notification will appear after end of the quiz, otherwise after each question.', 
    322             'required' => 0, 
    323             'conditional_logic' => 0, 
    324             'wrapper' => array ( 
    325                 'width' => '', 
    326                 'class' => '', 
    327                 'id' => '', 
    328             ), 
    329         ), 
    330         array ( 
    331             'default_value' => 0, 
    332             'message' => '', 
    333             'ui' => 0, 
    334             'ui_on_text' => '', 
    335             'ui_off_text' => '', 
    336             'key' => 'field_588c61a5a3acd', 
    337             'label' => 'Hide question position overview', 
    338             'name' => 'qmqu_hide_question_position_overview', 
    339             'type' => 'true_false', 
    340             'instructions' => 'If you enable this option, the question position overview is hidden.', 
    341322            'required' => 0, 
    342323            'conditional_logic' => 0, 
  • quizmaster/trunk/lib/controller/QuizMaster_Controller_Front.php

    r1721377 r1724526  
    193193 
    194194        $view = apply_filters( 'quizmaster_view_before_render', $view ); 
    195         if ($maxQuestion) { 
    196           $content = $view->showMaxQuestion(); 
    197         } else { 
    198           $content = $view->show(); 
    199         } 
     195        $content = $view->show(); 
    200196 
    201197        if( $return ) { 
  • quizmaster/trunk/lib/model/QuizMaster_Model_QuizQuestion.php

    r1719957 r1724526  
    3939            // selective approach: remove one quiz 
    4040            $quizzes = get_field( QUIZMASTER_QUESTION_QUIZ_SELECTOR_FIELD, $questionId ); 
     41 
     42            if( empty( $quizzes )) { 
     43                return; 
     44            } 
     45 
    4146            if( ( $key = array_search( $quizId, $quizzes )) !== false ) { 
    4247                unset($quizzes[$key]); 
     
    110115        // adds quiz to list of selected quizzes associated from question editor 
    111116        $quizzes = get_field( QUIZMASTER_QUESTION_QUIZ_SELECTOR_FIELD, $questionId ); 
     117 
     118        if( empty( $quizzes )) { 
     119            return; 
     120        } 
     121 
    112122        if( !in_array( $quizId, $quizzes )) { 
    113123            $quizzes[] = $quizId; 
  • quizmaster/trunk/quizmaster.php

    r1721377 r1724526  
    44Plugin URI: http://wordpress.org/extend/plugins/quizmaster 
    55Description: Best free quiz plugin for WordPress. 
    6 Version: 0.8.3 
     6Version: 0.8.4 
    77Author: GoldHat Group 
    88Author URI: https://wpquizmaster.com 
     
    1212*/ 
    1313 
    14 define('QUIZMASTER_VERSION', '0.8.3'); 
     14define('QUIZMASTER_VERSION', '0.8.4'); 
    1515define('QUIZMASTER_DEV', true); 
    1616define('QUIZMASTER_PATH', dirname(__FILE__)); 
  • quizmaster/trunk/readme.txt

    r1721377 r1724526  
    55Requires at least: 4.0 
    66Tested up to: 4.8.1 
    7 Stable tag: 0.8.3 
     7Stable tag: 0.8.4 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    5151 
    5252== Changelog == 
     53 
     54= 0.8.4 = 
     55 
     56Fixes for max questions error and quiz/question association bug. 
    5357 
    5458= 0.8.3 = 
Note: See TracChangeset for help on using the changeset viewer.