Plugin Directory

Changeset 3435814


Ignore:
Timestamp:
01/09/2026 10:49:11 AM (2 months ago)
Author:
stylemix
Message:

prepare release 3.7.12

Location:
masterstudy-lms-learning-management-system/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • masterstudy-lms-learning-management-system/trunk/_core/includes/shortcodes/grid.php

    r2795646 r3435814  
    11<?php
     2/**
     3 * Render courses grid shortcode.
     4 *
     5 * @param array|string $atts Shortcode attributes.
     6 *
     7 * @return string
     8 */
    29function stm_lms_courses_grid_display( $atts ) {
    3     if ( empty( $atts ) ) {
    4         $atts = array();
    5     }
     10    $atts = (array) $atts;
    611
     12    $defaults = array(
     13        'load_more' => 0,
     14    );
     15
     16    $parsed_atts    = shortcode_atts( $defaults, $atts, 'stm_lms_courses_grid_display' );
     17    $sanitized_atts = array();
     18
     19    // we are killing attribute injection with this minimalistic fix
     20    $sanitized_atts['load_more'] = ! empty( $parsed_atts['load_more'] ) ? 1 : 0;
    721    ob_start();
    822    ?>
    9 
    1023    <div class="stm_lms_courses_grid stm_lms_courses">
    1124        <?php
    12         STM_LMS_Templates::show_lms_template( 'courses/grid', array( 'args' => $atts ) );
    13         if ( ! empty( $atts['load_more'] ) ) {
    14             STM_LMS_Templates::show_lms_template( 'courses/load_more', array( 'args' => $atts ) );
     25        STM_LMS_Templates::show_lms_template(
     26            'courses/grid',
     27            array(
     28                'args' => $sanitized_atts,
     29            )
     30        );
     31
     32        if ( ! empty( $sanitized_atts['load_more'] ) ) {
     33            STM_LMS_Templates::show_lms_template(
     34                'courses/load_more',
     35                array(
     36                    'args' => $sanitized_atts,
     37                )
     38            );
    1539        }
    1640        ?>
    1741    </div>
    18 
    1942    <?php
    2043    return ob_get_clean();
    21 
    2244}
    2345
  • masterstudy-lms-learning-management-system/trunk/_core/init.php

    r3433547 r3435814  
    44define( 'STM_LMS_PATH', dirname( STM_LMS_FILE ) );
    55define( 'STM_LMS_URL', plugin_dir_url( STM_LMS_FILE ) );
    6 define( 'STM_LMS_VERSION', '3.7.11' );
     6define( 'STM_LMS_VERSION', '3.7.12' );
    77define( 'STM_LMS_DB_VERSION', '3.7.5' );
    88define( 'STM_LMS_BASE_API_URL', '/wp-json/lms' );
  • masterstudy-lms-learning-management-system/trunk/masterstudy-lms-learning-management-system.php

    r3433547 r3435814  
    88 * Author URI: https://stylemixthemes.com/
    99 * Text Domain: masterstudy-lms-learning-management-system
    10  * Version: 3.7.11
     10 * Version: 3.7.12
    1111 * Masterstudy LMS Pro tested up to: 4.8
    1212 */
     
    1616}
    1717
    18 define( 'MS_LMS_VERSION', '3.7.11' );
     18define( 'MS_LMS_VERSION', '3.7.12' );
    1919define( 'MS_LMS_FILE', __FILE__ );
    2020define( 'MS_LMS_PATH', dirname( MS_LMS_FILE ) );
  • masterstudy-lms-learning-management-system/trunk/readme.txt

    r3433547 r3435814  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 3.7.11
     8Stable tag: 3.7.12
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    309309
    310310== Changelog ==
     311= 3.7.12 - 2026-01-09 =
     312- **Fixed:** Minor bugfix
     313
    311314= 3.7.11 - 2026-01-06 =
    312315- **Fixed:** Answer options disappeared after retaking a quiz.
     
    322325- **Fixed:** An error occurred when students uploaded files in Assignments (Pro)
    323326
    324 = 3.7.8 - 2025-12-19 =
    325 - **Fixed:** Minor bugfix
    326 
    327 = 3.7.7 - 2025-12-18 =
    328 - **Fixed:** Minor bug fixes.
    329 
    330 = 3.7.6 - 2025-12-10 =
    331 - **Fixed:** Minor bugfix
    332 
    333 = 3.7.5 - 2025-12-04 =
    334 - **Update:** Compatibility with WordPress 6.9
    335 - **Enhancement:** Added a setting to enable or disable the Featured Courses functionality on the site
    336 - **Enhancement:** Added the ability to create custom course statuses and edit existing ones (name and color) in LMS Settings
    337 - **Enhancement:** Performance improvements applied to User Account pages
    338 - **Fixed:** Images for Single Choice questions with the Image Select type were not saved
    339 - **Fixed:** Video content fields in questions loaded with a delay
    340 - **Fixed:** Answer options were not displayed during quiz retake when using LaTeX formulas in questions
    341 - **Fixed:** Sale Period functionality did not work properly for Memberships & Subscriptions (Pro)
    342 
    343 = 3.7.4 - 2025-11-26 =
    344 - **Fixed:** Minor bug fixes.
    345 
    346 = 3.7.3 - 2025-11-19 =
    347 - **New:** Introduced a new Elementor widget — Courses Category with 6 layout styles
    348 - **Update:** Automatic HEX to RGBA color conversion added in Base Colors settings
    349 - **Update:** In the admin panel, the "View" button in the Courses Category section now links correctly to the corresponding front-end page
    350 - **Update:** Expanded the input area for Fill the Gap answers on mobile devices
    351 - **Fixed:** Setting a Sale Price of 0 in Course Builder did not make the course free
    352 - **Fixed:** Fill the Gap questions did not accept words containing special characters such as ě, š, č, ř, ž, ý, á, í, é
    353 - **Fixed:** The "Your Enrollment has Been Cancelled" email was incorrectly sent to the admin when a student was removed via the Students section
    354 
    355 = 3.7.2 - 2025-11-14 =
    356 - **Fixed:** Minor bug fixes.
    357 
    358327You can see all updates history in our [changelog documentation](https://docs.stylemixthemes.com/masterstudy-lms/changelog-free-version).
Note: See TracChangeset for help on using the changeset viewer.