Plugin Directory

Changeset 3329504


Ignore:
Timestamp:
07/17/2025 08:36:26 AM (8 months ago)
Author:
masteriyo
Message:

Update to version 1.18.4 from GitHub

Location:
learning-management-system
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • learning-management-system/tags/1.18.4/changelog.txt

    r3328760 r3329504  
    11== Changelog ==
     2
     3= 1.18.4 - 17-07-2025 =
     4- Fix - Security related issues.
    25
    36= 1.18.3 - 16-07-2025 =
  • learning-management-system/tags/1.18.4/composer.json

    r3328760 r3329504  
    22  "name": "masteriyo/masteriyo",
    33  "description": "An WordPress LMS plugin",
    4   "version": "1.18.3",
     4  "version": "1.18.4",
    55  "homepage": "https://example.com",
    66  "license": "GPL-2.0-or-later",
  • learning-management-system/tags/1.18.4/i18n/languages/learning-management-system.pot

    r3328760 r3329504  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Masteriyo LMS 1.18.3\n"
     5"Project-Id-Version: Masteriyo LMS 1.18.4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/learning-management-system\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-07-16T12:40:52+05:45\n"
     12"POT-Creation-Date: 2025-07-17T13:33:29+05:45\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    41984198msgstr ""
    41994199
    4200 #: includes/RestApi/Controllers/Version1/BlocksController.php:159
     4200#: includes/RestApi/Controllers/Version1/BlocksController.php:161
    42014201msgid "Invalid post ID"
    42024202msgstr ""
     
    75697569msgstr ""
    75707570
    7571 #: includes/ScriptStyle.php:1149
     7571#: includes/ScriptStyle.php:1151
    75727572#: assets/js/build/masteriyo-account.js:1
    75737573#: assets/js/build/masteriyo-backend.js:1
     
    75767576msgstr ""
    75777577
    7578 #: includes/ScriptStyle.php:1150
     7578#: includes/ScriptStyle.php:1152
    75797579msgid "Saving..."
    75807580msgstr ""
    75817581
    7582 #: includes/ScriptStyle.php:1151
     7582#: includes/ScriptStyle.php:1153
    75837583msgid "Your profile was updated successfully."
    75847584msgstr ""
    75857585
    7586 #: includes/ScriptStyle.php:1188
     7586#: includes/ScriptStyle.php:1190
    75877587#: templates/account/form-login.php:32
    75887588msgid "Sign In"
    75897589msgstr ""
    75907590
    7591 #: includes/ScriptStyle.php:1189
     7591#: includes/ScriptStyle.php:1191
    75927592msgid "Signing In..."
    7593 msgstr ""
    7594 
    7595 #: includes/ScriptStyle.php:1205
    7596 #: includes/ScriptStyle.php:1245
    7597 msgid "Type CONFIRM to proceed."
    7598 msgstr ""
    7599 
    7600 #: includes/ScriptStyle.php:1206
    7601 #: includes/ScriptStyle.php:1246
    7602 msgid "Try again"
    76037593msgstr ""
    76047594
    76057595#: includes/ScriptStyle.php:1207
    76067596#: includes/ScriptStyle.php:1247
     7597msgid "Type CONFIRM to proceed."
     7598msgstr ""
     7599
     7600#: includes/ScriptStyle.php:1208
     7601#: includes/ScriptStyle.php:1248
     7602msgid "Try again"
     7603msgstr ""
     7604
     7605#: includes/ScriptStyle.php:1209
     7606#: includes/ScriptStyle.php:1249
    76077607#: templates/single-course/course-review-form.php:54
    76087608#: templates/single-course/layout-1/review-form.php:58
     
    76127612msgstr ""
    76137613
    7614 #: includes/ScriptStyle.php:1208
    7615 #: includes/ScriptStyle.php:1248
     7614#: includes/ScriptStyle.php:1210
     7615#: includes/ScriptStyle.php:1250
    76167616#: assets/js/build/masteriyo-backend.js:1
    76177617#: assets/js/build/masteriyo-gettingStarted.js:1
     
    76197619msgstr ""
    76207620
    7621 #: includes/ScriptStyle.php:1209
    7622 #: includes/ScriptStyle.php:1249
     7621#: includes/ScriptStyle.php:1211
     7622#: includes/ScriptStyle.php:1251
    76237623#: templates/single-course/course-review-reply.php:58
    76247624#: templates/single-course/course-review.php:53
     
    76327632msgstr ""
    76337633
    7634 #: includes/ScriptStyle.php:1210
    7635 #: includes/ScriptStyle.php:1250
    7636 msgid "Submitting..."
    7637 msgstr ""
    7638 
    7639 #: includes/ScriptStyle.php:1211
    7640 #: includes/ScriptStyle.php:1251
    7641 msgid "Deleting..."
    7642 msgstr ""
    7643 
    76447634#: includes/ScriptStyle.php:1212
    76457635#: includes/ScriptStyle.php:1252
    7646 msgid "Reply to"
     7636msgid "Submitting..."
    76477637msgstr ""
    76487638
    76497639#: includes/ScriptStyle.php:1213
    76507640#: includes/ScriptStyle.php:1253
    7651 msgid "Edit reply"
     7641msgid "Deleting..."
    76527642msgstr ""
    76537643
    76547644#: includes/ScriptStyle.php:1214
    76557645#: includes/ScriptStyle.php:1254
    7656 msgid "Edit review"
     7646msgid "Reply to"
    76577647msgstr ""
    76587648
    76597649#: includes/ScriptStyle.php:1215
    76607650#: includes/ScriptStyle.php:1255
    7661 #: assets/js/build/masteriyo-interactive.js:1
    7662 msgid "Your review has been submitted successfully."
    7663 msgstr ""
    7664 
    7665 #: includes/ScriptStyle.php:1215
    7666 #: includes/ScriptStyle.php:1255
    7667 #: assets/js/build/masteriyo-interactive.js:1
    7668 msgid "Your review has been submitted and is awaiting approval by the instructor."
     7651msgid "Edit reply"
    76697652msgstr ""
    76707653
    76717654#: includes/ScriptStyle.php:1216
    76727655#: includes/ScriptStyle.php:1256
    7673 msgid "Updated successfully."
     7656msgid "Edit review"
    76747657msgstr ""
    76757658
    76767659#: includes/ScriptStyle.php:1217
    76777660#: includes/ScriptStyle.php:1257
    7678 msgid "Deleted successfully."
     7661#: assets/js/build/masteriyo-interactive.js:1
     7662msgid "Your review has been submitted successfully."
     7663msgstr ""
     7664
     7665#: includes/ScriptStyle.php:1217
     7666#: includes/ScriptStyle.php:1257
     7667#: assets/js/build/masteriyo-interactive.js:1
     7668msgid "Your review has been submitted and is awaiting approval by the instructor."
    76797669msgstr ""
    76807670
    76817671#: includes/ScriptStyle.php:1218
    76827672#: includes/ScriptStyle.php:1258
     7673msgid "Updated successfully."
     7674msgstr ""
     7675
     7676#: includes/ScriptStyle.php:1219
     7677#: includes/ScriptStyle.php:1259
     7678msgid "Deleted successfully."
     7679msgstr ""
     7680
     7681#: includes/ScriptStyle.php:1220
     7682#: includes/ScriptStyle.php:1260
    76837683#: templates/single-course/layout-1/main-content.php:157
    76847684msgid "Expand All"
    76857685msgstr ""
    76867686
    7687 #: includes/ScriptStyle.php:1219
    7688 #: includes/ScriptStyle.php:1259
     7687#: includes/ScriptStyle.php:1221
     7688#: includes/ScriptStyle.php:1261
    76897689#: templates/single-course/curriculum.php:53
    76907690#: templates/single-course/layout-1/main-content.php:157
     
    76927692msgstr ""
    76937693
    7694 #: includes/ScriptStyle.php:1220
    7695 #: includes/ScriptStyle.php:1260
    7696 #: assets/js/build/masteriyo-account.js:1
    7697 #: assets/js/build/masteriyo-backend.js:1
    7698 msgid "Loading..."
    7699 msgstr ""
    7700 
    7701 #: includes/ScriptStyle.php:1221
    7702 #: includes/ScriptStyle.php:1261
    7703 msgid "Failed to load more reviews"
    7704 msgstr ""
    7705 
    77067694#: includes/ScriptStyle.php:1222
    77077695#: includes/ScriptStyle.php:1262
     7696#: assets/js/build/masteriyo-account.js:1
     7697#: assets/js/build/masteriyo-backend.js:1
     7698msgid "Loading..."
     7699msgstr ""
     7700
     7701#: includes/ScriptStyle.php:1223
     7702#: includes/ScriptStyle.php:1263
     7703msgid "Failed to load more reviews"
     7704msgstr ""
     7705
     7706#: includes/ScriptStyle.php:1224
     7707#: includes/ScriptStyle.php:1264
    77087708#: templates/single-course/see-more-reviews-button.php:21
    77097709msgid "See more reviews"
    77107710msgstr ""
    77117711
    7712 #: includes/ScriptStyle.php:1223
    7713 #: includes/ScriptStyle.php:1263
    7714 #: includes/ScriptStyle.php:1326
     7712#: includes/ScriptStyle.php:1225
     7713#: includes/ScriptStyle.php:1265
     7714#: includes/ScriptStyle.php:1328
    77157715msgid "Please enter a password."
    77167716msgstr ""
    77177717
    7718 #: includes/ScriptStyle.php:1278
     7718#: includes/ScriptStyle.php:1280
    77197719msgid "Error processing checkout. Please try again."
    77207720msgstr ""
  • learning-management-system/tags/1.18.4/includes/RestApi/Controllers/Version1/BlocksController.php

    r3285699 r3329504  
    110110     */
    111111    public function save_css_permissions_check( $request ) {
    112         if ( ! current_user_can( 'edit_posts' ) ) {
     112        if ( ! current_user_can( 'manage_options' ) ) {
    113113            return new \WP_Error(
    114114                'masteriyo_rest_cannot_save_css',
     
    132132    public function save_css( $request ) {
    133133        $post    = $request->get_params();
    134         $css     = (string) $post['css'];
     134        $css_raw = isset( $post['css'] ) ? $post['css'] : '';
     135        $css     = wp_strip_all_tags( $css_raw );
     136        $css     = sanitize_textarea_field( $css );
    135137        $post_id = absint( $post['postId'] );
    136138
  • learning-management-system/tags/1.18.4/includes/ScriptStyle.php

    r3316957 r3329504  
    321321                    'context'  => 'public',
    322322                    'callback' => function () {
    323                         return masteriyo_is_checkout_page() || is_post_type_archive( PostType::COURSE ) || masteriyo_is_courses_page() ;
     323                        return masteriyo_is_checkout_page() || is_post_type_archive( PostType::COURSE ) || masteriyo_is_courses_page();
    324324                    },
    325325                ),
     
    836836            return;
    837837        }
     838        $css = wp_strip_all_tags( $css );
     839        $css = sanitize_textarea_field( $css );
    838840        wp_add_inline_style( 'masteriyo-public', $css );
    839841    }
  • learning-management-system/tags/1.18.4/lms.php

    r3328760 r3329504  
    66 * Author: Masteriyo
    77 * Author URI: https://masteriyo.com
    8  * Version: 1.18.3
     8 * Version: 1.18.4
    99 * Requires at least: 6.5
    1010 * Requires PHP: 7.2
     
    4747
    4848if ( ! defined( 'MASTERIYO_VERSION' ) ) {
    49     define( 'MASTERIYO_VERSION', '1.18.3' );
     49    define( 'MASTERIYO_VERSION', '1.18.4' );
    5050}
    5151
  • learning-management-system/tags/1.18.4/readme.txt

    r3328760 r3329504  
    55Tested up to: 6.8
    66Requires PHP: 7.2
    7 Stable tag: 1.18.3
     7Stable tag: 1.18.4
    88License: GNU General Public License v3.0
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    244244== Changelog ==
    245245
     246= 1.18.4 - 17-07-2025 =
     247- Fix - Security related issues.
     248
    246249= 1.18.3 - 16-07-2025 =
    247250- Fix - Builder price now persists correctly after updates.
  • learning-management-system/tags/1.18.4/uninstall.php

    r3328760 r3329504  
    2121
    2222defined( 'MASTERIYO_SLUG' ) || define( 'MASTERIYO_SLUG', 'learning-management-system' );
    23 defined( 'MASTERIYO_VERSION' ) || define( 'MASTERIYO_VERSION', '1.18.3' );
     23defined( 'MASTERIYO_VERSION' ) || define( 'MASTERIYO_VERSION', '1.18.4' );
    2424defined( 'MASTERIYO_PLUGIN_FILE' ) || define( 'MASTERIYO_PLUGIN_FILE', __FILE__ );
    2525defined( 'MASTERIYO_PLUGIN_BASENAME' ) || define( 'MASTERIYO_PLUGIN_BASENAME', plugin_basename( MASTERIYO_PLUGIN_FILE ) );
  • learning-management-system/tags/1.18.4/vendor/composer/installed.php

    r3328760 r3329504  
    22    'root' => array(
    33        'name' => 'masteriyo/masteriyo',
    4         'pretty_version' => '1.18.3',
    5         'version' => '1.18.3.0',
     4        'pretty_version' => '1.18.4',
     5        'version' => '1.18.4.0',
    66        'reference' => null,
    77        'type' => 'wordpress-plugin',
     
    111111        ),
    112112        'masteriyo/masteriyo' => array(
    113             'pretty_version' => '1.18.3',
    114             'version' => '1.18.3.0',
     113            'pretty_version' => '1.18.4',
     114            'version' => '1.18.4.0',
    115115            'reference' => null,
    116116            'type' => 'wordpress-plugin',
  • learning-management-system/trunk/changelog.txt

    r3328760 r3329504  
    11== Changelog ==
     2
     3= 1.18.4 - 17-07-2025 =
     4- Fix - Security related issues.
    25
    36= 1.18.3 - 16-07-2025 =
  • learning-management-system/trunk/composer.json

    r3328760 r3329504  
    22  "name": "masteriyo/masteriyo",
    33  "description": "An WordPress LMS plugin",
    4   "version": "1.18.3",
     4  "version": "1.18.4",
    55  "homepage": "https://example.com",
    66  "license": "GPL-2.0-or-later",
  • learning-management-system/trunk/i18n/languages/learning-management-system.pot

    r3328760 r3329504  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Masteriyo LMS 1.18.3\n"
     5"Project-Id-Version: Masteriyo LMS 1.18.4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/learning-management-system\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-07-16T12:40:52+05:45\n"
     12"POT-Creation-Date: 2025-07-17T13:33:29+05:45\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    41984198msgstr ""
    41994199
    4200 #: includes/RestApi/Controllers/Version1/BlocksController.php:159
     4200#: includes/RestApi/Controllers/Version1/BlocksController.php:161
    42014201msgid "Invalid post ID"
    42024202msgstr ""
     
    75697569msgstr ""
    75707570
    7571 #: includes/ScriptStyle.php:1149
     7571#: includes/ScriptStyle.php:1151
    75727572#: assets/js/build/masteriyo-account.js:1
    75737573#: assets/js/build/masteriyo-backend.js:1
     
    75767576msgstr ""
    75777577
    7578 #: includes/ScriptStyle.php:1150
     7578#: includes/ScriptStyle.php:1152
    75797579msgid "Saving..."
    75807580msgstr ""
    75817581
    7582 #: includes/ScriptStyle.php:1151
     7582#: includes/ScriptStyle.php:1153
    75837583msgid "Your profile was updated successfully."
    75847584msgstr ""
    75857585
    7586 #: includes/ScriptStyle.php:1188
     7586#: includes/ScriptStyle.php:1190
    75877587#: templates/account/form-login.php:32
    75887588msgid "Sign In"
    75897589msgstr ""
    75907590
    7591 #: includes/ScriptStyle.php:1189
     7591#: includes/ScriptStyle.php:1191
    75927592msgid "Signing In..."
    7593 msgstr ""
    7594 
    7595 #: includes/ScriptStyle.php:1205
    7596 #: includes/ScriptStyle.php:1245
    7597 msgid "Type CONFIRM to proceed."
    7598 msgstr ""
    7599 
    7600 #: includes/ScriptStyle.php:1206
    7601 #: includes/ScriptStyle.php:1246
    7602 msgid "Try again"
    76037593msgstr ""
    76047594
    76057595#: includes/ScriptStyle.php:1207
    76067596#: includes/ScriptStyle.php:1247
     7597msgid "Type CONFIRM to proceed."
     7598msgstr ""
     7599
     7600#: includes/ScriptStyle.php:1208
     7601#: includes/ScriptStyle.php:1248
     7602msgid "Try again"
     7603msgstr ""
     7604
     7605#: includes/ScriptStyle.php:1209
     7606#: includes/ScriptStyle.php:1249
    76077607#: templates/single-course/course-review-form.php:54
    76087608#: templates/single-course/layout-1/review-form.php:58
     
    76127612msgstr ""
    76137613
    7614 #: includes/ScriptStyle.php:1208
    7615 #: includes/ScriptStyle.php:1248
     7614#: includes/ScriptStyle.php:1210
     7615#: includes/ScriptStyle.php:1250
    76167616#: assets/js/build/masteriyo-backend.js:1
    76177617#: assets/js/build/masteriyo-gettingStarted.js:1
     
    76197619msgstr ""
    76207620
    7621 #: includes/ScriptStyle.php:1209
    7622 #: includes/ScriptStyle.php:1249
     7621#: includes/ScriptStyle.php:1211
     7622#: includes/ScriptStyle.php:1251
    76237623#: templates/single-course/course-review-reply.php:58
    76247624#: templates/single-course/course-review.php:53
     
    76327632msgstr ""
    76337633
    7634 #: includes/ScriptStyle.php:1210
    7635 #: includes/ScriptStyle.php:1250
    7636 msgid "Submitting..."
    7637 msgstr ""
    7638 
    7639 #: includes/ScriptStyle.php:1211
    7640 #: includes/ScriptStyle.php:1251
    7641 msgid "Deleting..."
    7642 msgstr ""
    7643 
    76447634#: includes/ScriptStyle.php:1212
    76457635#: includes/ScriptStyle.php:1252
    7646 msgid "Reply to"
     7636msgid "Submitting..."
    76477637msgstr ""
    76487638
    76497639#: includes/ScriptStyle.php:1213
    76507640#: includes/ScriptStyle.php:1253
    7651 msgid "Edit reply"
     7641msgid "Deleting..."
    76527642msgstr ""
    76537643
    76547644#: includes/ScriptStyle.php:1214
    76557645#: includes/ScriptStyle.php:1254
    7656 msgid "Edit review"
     7646msgid "Reply to"
    76577647msgstr ""
    76587648
    76597649#: includes/ScriptStyle.php:1215
    76607650#: includes/ScriptStyle.php:1255
    7661 #: assets/js/build/masteriyo-interactive.js:1
    7662 msgid "Your review has been submitted successfully."
    7663 msgstr ""
    7664 
    7665 #: includes/ScriptStyle.php:1215
    7666 #: includes/ScriptStyle.php:1255
    7667 #: assets/js/build/masteriyo-interactive.js:1
    7668 msgid "Your review has been submitted and is awaiting approval by the instructor."
     7651msgid "Edit reply"
    76697652msgstr ""
    76707653
    76717654#: includes/ScriptStyle.php:1216
    76727655#: includes/ScriptStyle.php:1256
    7673 msgid "Updated successfully."
     7656msgid "Edit review"
    76747657msgstr ""
    76757658
    76767659#: includes/ScriptStyle.php:1217
    76777660#: includes/ScriptStyle.php:1257
    7678 msgid "Deleted successfully."
     7661#: assets/js/build/masteriyo-interactive.js:1
     7662msgid "Your review has been submitted successfully."
     7663msgstr ""
     7664
     7665#: includes/ScriptStyle.php:1217
     7666#: includes/ScriptStyle.php:1257
     7667#: assets/js/build/masteriyo-interactive.js:1
     7668msgid "Your review has been submitted and is awaiting approval by the instructor."
    76797669msgstr ""
    76807670
    76817671#: includes/ScriptStyle.php:1218
    76827672#: includes/ScriptStyle.php:1258
     7673msgid "Updated successfully."
     7674msgstr ""
     7675
     7676#: includes/ScriptStyle.php:1219
     7677#: includes/ScriptStyle.php:1259
     7678msgid "Deleted successfully."
     7679msgstr ""
     7680
     7681#: includes/ScriptStyle.php:1220
     7682#: includes/ScriptStyle.php:1260
    76837683#: templates/single-course/layout-1/main-content.php:157
    76847684msgid "Expand All"
    76857685msgstr ""
    76867686
    7687 #: includes/ScriptStyle.php:1219
    7688 #: includes/ScriptStyle.php:1259
     7687#: includes/ScriptStyle.php:1221
     7688#: includes/ScriptStyle.php:1261
    76897689#: templates/single-course/curriculum.php:53
    76907690#: templates/single-course/layout-1/main-content.php:157
     
    76927692msgstr ""
    76937693
    7694 #: includes/ScriptStyle.php:1220
    7695 #: includes/ScriptStyle.php:1260
    7696 #: assets/js/build/masteriyo-account.js:1
    7697 #: assets/js/build/masteriyo-backend.js:1
    7698 msgid "Loading..."
    7699 msgstr ""
    7700 
    7701 #: includes/ScriptStyle.php:1221
    7702 #: includes/ScriptStyle.php:1261
    7703 msgid "Failed to load more reviews"
    7704 msgstr ""
    7705 
    77067694#: includes/ScriptStyle.php:1222
    77077695#: includes/ScriptStyle.php:1262
     7696#: assets/js/build/masteriyo-account.js:1
     7697#: assets/js/build/masteriyo-backend.js:1
     7698msgid "Loading..."
     7699msgstr ""
     7700
     7701#: includes/ScriptStyle.php:1223
     7702#: includes/ScriptStyle.php:1263
     7703msgid "Failed to load more reviews"
     7704msgstr ""
     7705
     7706#: includes/ScriptStyle.php:1224
     7707#: includes/ScriptStyle.php:1264
    77087708#: templates/single-course/see-more-reviews-button.php:21
    77097709msgid "See more reviews"
    77107710msgstr ""
    77117711
    7712 #: includes/ScriptStyle.php:1223
    7713 #: includes/ScriptStyle.php:1263
    7714 #: includes/ScriptStyle.php:1326
     7712#: includes/ScriptStyle.php:1225
     7713#: includes/ScriptStyle.php:1265
     7714#: includes/ScriptStyle.php:1328
    77157715msgid "Please enter a password."
    77167716msgstr ""
    77177717
    7718 #: includes/ScriptStyle.php:1278
     7718#: includes/ScriptStyle.php:1280
    77197719msgid "Error processing checkout. Please try again."
    77207720msgstr ""
  • learning-management-system/trunk/includes/RestApi/Controllers/Version1/BlocksController.php

    r3285699 r3329504  
    110110     */
    111111    public function save_css_permissions_check( $request ) {
    112         if ( ! current_user_can( 'edit_posts' ) ) {
     112        if ( ! current_user_can( 'manage_options' ) ) {
    113113            return new \WP_Error(
    114114                'masteriyo_rest_cannot_save_css',
     
    132132    public function save_css( $request ) {
    133133        $post    = $request->get_params();
    134         $css     = (string) $post['css'];
     134        $css_raw = isset( $post['css'] ) ? $post['css'] : '';
     135        $css     = wp_strip_all_tags( $css_raw );
     136        $css     = sanitize_textarea_field( $css );
    135137        $post_id = absint( $post['postId'] );
    136138
  • learning-management-system/trunk/includes/ScriptStyle.php

    r3316957 r3329504  
    321321                    'context'  => 'public',
    322322                    'callback' => function () {
    323                         return masteriyo_is_checkout_page() || is_post_type_archive( PostType::COURSE ) || masteriyo_is_courses_page() ;
     323                        return masteriyo_is_checkout_page() || is_post_type_archive( PostType::COURSE ) || masteriyo_is_courses_page();
    324324                    },
    325325                ),
     
    836836            return;
    837837        }
     838        $css = wp_strip_all_tags( $css );
     839        $css = sanitize_textarea_field( $css );
    838840        wp_add_inline_style( 'masteriyo-public', $css );
    839841    }
  • learning-management-system/trunk/lms.php

    r3328760 r3329504  
    66 * Author: Masteriyo
    77 * Author URI: https://masteriyo.com
    8  * Version: 1.18.3
     8 * Version: 1.18.4
    99 * Requires at least: 6.5
    1010 * Requires PHP: 7.2
     
    4747
    4848if ( ! defined( 'MASTERIYO_VERSION' ) ) {
    49     define( 'MASTERIYO_VERSION', '1.18.3' );
     49    define( 'MASTERIYO_VERSION', '1.18.4' );
    5050}
    5151
  • learning-management-system/trunk/readme.txt

    r3328760 r3329504  
    55Tested up to: 6.8
    66Requires PHP: 7.2
    7 Stable tag: 1.18.3
     7Stable tag: 1.18.4
    88License: GNU General Public License v3.0
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    244244== Changelog ==
    245245
     246= 1.18.4 - 17-07-2025 =
     247- Fix - Security related issues.
     248
    246249= 1.18.3 - 16-07-2025 =
    247250- Fix - Builder price now persists correctly after updates.
  • learning-management-system/trunk/uninstall.php

    r3328760 r3329504  
    2121
    2222defined( 'MASTERIYO_SLUG' ) || define( 'MASTERIYO_SLUG', 'learning-management-system' );
    23 defined( 'MASTERIYO_VERSION' ) || define( 'MASTERIYO_VERSION', '1.18.3' );
     23defined( 'MASTERIYO_VERSION' ) || define( 'MASTERIYO_VERSION', '1.18.4' );
    2424defined( 'MASTERIYO_PLUGIN_FILE' ) || define( 'MASTERIYO_PLUGIN_FILE', __FILE__ );
    2525defined( 'MASTERIYO_PLUGIN_BASENAME' ) || define( 'MASTERIYO_PLUGIN_BASENAME', plugin_basename( MASTERIYO_PLUGIN_FILE ) );
  • learning-management-system/trunk/vendor/composer/installed.php

    r3328760 r3329504  
    22    'root' => array(
    33        'name' => 'masteriyo/masteriyo',
    4         'pretty_version' => '1.18.3',
    5         'version' => '1.18.3.0',
     4        'pretty_version' => '1.18.4',
     5        'version' => '1.18.4.0',
    66        'reference' => null,
    77        'type' => 'wordpress-plugin',
     
    111111        ),
    112112        'masteriyo/masteriyo' => array(
    113             'pretty_version' => '1.18.3',
    114             'version' => '1.18.3.0',
     113            'pretty_version' => '1.18.4',
     114            'version' => '1.18.4.0',
    115115            'reference' => null,
    116116            'type' => 'wordpress-plugin',
Note: See TracChangeset for help on using the changeset viewer.