Plugin Directory

Changeset 3395111


Ignore:
Timestamp:
11/13/2025 02:49:16 PM (5 months ago)
Author:
codevery
Message:

Update to 1.1.2 version

Location:
codevery-quiz
Files:
61 added
3 edited

Legend:

Unmodified
Added
Removed
  • codevery-quiz/trunk/codevery-quiz.php

    r3291804 r3395111  
    55 * Plugin URI:        https://quiz-plugin.codevery.com/
    66 * Description:       Create engaging quizzes on your WordPress site and offer incentives for high scores. Users can earn discount coupons based on their quiz results.
    7  * Version:           1.1.1
     7 * Version:           1.1.2
    88 * Author:            Codevery
    99 * Author URI:        https://profiles.wordpress.org/codevery/
     
    2121}
    2222
    23 define( 'CODEVERY_QUIZ_VERSION', '1.1.1' );
     23define( 'CODEVERY_QUIZ_VERSION', '1.1.2' );
    2424define( 'CODEVERY_QUIZ_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    2525define( 'CODEVERY_QUIZ_PLUGIN_DIR_ADMIN', plugin_dir_path( __FILE__ ) . 'includes/admin/' );
  • codevery-quiz/trunk/includes/public/partials/quiz-display.php

    r3165830 r3395111  
    9696                                                <div class="cquiz__card-description">
    9797                                                    <div class="cquiz__card-description-wrap">
    98                                                         <span class="cquiz__card-description-title"><?php echo $data_rule ? esc_html__( 'Correct', 'codevery-quiz' ) : esc_html__( 'Incorrect', 'codevery-quiz' ); ?></span>
     98                                                        <span class="cquiz__card-description-title">
     99                                                            <?php
     100                                                            $answer_status_text = $data_rule ? esc_html__( 'Correct', 'codevery-quiz' ) : esc_html__( 'Incorrect', 'codevery-quiz' );
     101                                                            /**
     102                                                             * Filter the quiz answer status text.
     103                                                             *
     104                                                             * @since 1.1.2
     105                                                             *
     106                                                             * @param string $text       The default text ("Correct" or "Incorrect").
     107                                                             * @param bool   $data_rule  Whether the answer is correct (true) or incorrect (false).
     108                                                             * @param array  $question   The current question data.
     109                                                             */
     110                                                            echo esc_html( apply_filters( 'cquiz_answer_status_text', $answer_status_text, $data_rule, $question ) );
     111                                                            ?>
     112                                                        </span>
    99113                                                        <?php echo wp_kses_post( $question['description'] ); ?>
    100114                                                    </div>
  • codevery-quiz/trunk/readme.txt

    r3291808 r3395111  
    55Requires at least: 5.0
    66Requires PHP: 7.4
    7 Tested up to: 6.8.1
    8 Stable tag: 1.1.1
     7Tested up to: 6.8.3
     8Stable tag: 1.1.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8686== Changelog ==
    8787
     88= 1.1.2 =
     89
     90* Tested up to: 6.8.3
     91* Added a filter hook `cquiz_answer_status_text` to allow changing the "Correct" and "Incorrect" text.
     92
    8893= 1.1.1 =
    8994
Note: See TracChangeset for help on using the changeset viewer.