Changeset 3329504
- Timestamp:
- 07/17/2025 08:36:26 AM (8 months ago)
- Location:
- learning-management-system
- Files:
-
- 18 edited
- 1 copied
-
tags/1.18.4 (copied) (copied from learning-management-system/trunk)
-
tags/1.18.4/changelog.txt (modified) (1 diff)
-
tags/1.18.4/composer.json (modified) (1 diff)
-
tags/1.18.4/i18n/languages/learning-management-system.pot (modified) (9 diffs)
-
tags/1.18.4/includes/RestApi/Controllers/Version1/BlocksController.php (modified) (2 diffs)
-
tags/1.18.4/includes/ScriptStyle.php (modified) (2 diffs)
-
tags/1.18.4/lms.php (modified) (2 diffs)
-
tags/1.18.4/readme.txt (modified) (2 diffs)
-
tags/1.18.4/uninstall.php (modified) (1 diff)
-
tags/1.18.4/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/composer.json (modified) (1 diff)
-
trunk/i18n/languages/learning-management-system.pot (modified) (9 diffs)
-
trunk/includes/RestApi/Controllers/Version1/BlocksController.php (modified) (2 diffs)
-
trunk/includes/ScriptStyle.php (modified) (2 diffs)
-
trunk/lms.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
learning-management-system/tags/1.18.4/changelog.txt
r3328760 r3329504 1 1 == Changelog == 2 3 = 1.18.4 - 17-07-2025 = 4 - Fix - Security related issues. 2 5 3 6 = 1.18.3 - 16-07-2025 = -
learning-management-system/tags/1.18.4/composer.json
r3328760 r3329504 2 2 "name": "masteriyo/masteriyo", 3 3 "description": "An WordPress LMS plugin", 4 "version": "1.18. 3",4 "version": "1.18.4", 5 5 "homepage": "https://example.com", 6 6 "license": "GPL-2.0-or-later", -
learning-management-system/tags/1.18.4/i18n/languages/learning-management-system.pot
r3328760 r3329504 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Masteriyo LMS 1.18. 3\n"5 "Project-Id-Version: Masteriyo LMS 1.18.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/learning-management-system\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-07-1 6T12:40:52+05:45\n"12 "POT-Creation-Date: 2025-07-17T13:33:29+05:45\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 4198 4198 msgstr "" 4199 4199 4200 #: includes/RestApi/Controllers/Version1/BlocksController.php:1 594200 #: includes/RestApi/Controllers/Version1/BlocksController.php:161 4201 4201 msgid "Invalid post ID" 4202 4202 msgstr "" … … 7569 7569 msgstr "" 7570 7570 7571 #: includes/ScriptStyle.php:11 497571 #: includes/ScriptStyle.php:1151 7572 7572 #: assets/js/build/masteriyo-account.js:1 7573 7573 #: assets/js/build/masteriyo-backend.js:1 … … 7576 7576 msgstr "" 7577 7577 7578 #: includes/ScriptStyle.php:115 07578 #: includes/ScriptStyle.php:1152 7579 7579 msgid "Saving..." 7580 7580 msgstr "" 7581 7581 7582 #: includes/ScriptStyle.php:115 17582 #: includes/ScriptStyle.php:1153 7583 7583 msgid "Your profile was updated successfully." 7584 7584 msgstr "" 7585 7585 7586 #: includes/ScriptStyle.php:11 887586 #: includes/ScriptStyle.php:1190 7587 7587 #: templates/account/form-login.php:32 7588 7588 msgid "Sign In" 7589 7589 msgstr "" 7590 7590 7591 #: includes/ScriptStyle.php:11 897591 #: includes/ScriptStyle.php:1191 7592 7592 msgid "Signing In..." 7593 msgstr ""7594 7595 #: includes/ScriptStyle.php:12057596 #: includes/ScriptStyle.php:12457597 msgid "Type CONFIRM to proceed."7598 msgstr ""7599 7600 #: includes/ScriptStyle.php:12067601 #: includes/ScriptStyle.php:12467602 msgid "Try again"7603 7593 msgstr "" 7604 7594 7605 7595 #: includes/ScriptStyle.php:1207 7606 7596 #: includes/ScriptStyle.php:1247 7597 msgid "Type CONFIRM to proceed." 7598 msgstr "" 7599 7600 #: includes/ScriptStyle.php:1208 7601 #: includes/ScriptStyle.php:1248 7602 msgid "Try again" 7603 msgstr "" 7604 7605 #: includes/ScriptStyle.php:1209 7606 #: includes/ScriptStyle.php:1249 7607 7607 #: templates/single-course/course-review-form.php:54 7608 7608 #: templates/single-course/layout-1/review-form.php:58 … … 7612 7612 msgstr "" 7613 7613 7614 #: includes/ScriptStyle.php:12 087615 #: includes/ScriptStyle.php:12 487614 #: includes/ScriptStyle.php:1210 7615 #: includes/ScriptStyle.php:1250 7616 7616 #: assets/js/build/masteriyo-backend.js:1 7617 7617 #: assets/js/build/masteriyo-gettingStarted.js:1 … … 7619 7619 msgstr "" 7620 7620 7621 #: includes/ScriptStyle.php:12 097622 #: includes/ScriptStyle.php:12 497621 #: includes/ScriptStyle.php:1211 7622 #: includes/ScriptStyle.php:1251 7623 7623 #: templates/single-course/course-review-reply.php:58 7624 7624 #: templates/single-course/course-review.php:53 … … 7632 7632 msgstr "" 7633 7633 7634 #: includes/ScriptStyle.php:12107635 #: includes/ScriptStyle.php:12507636 msgid "Submitting..."7637 msgstr ""7638 7639 #: includes/ScriptStyle.php:12117640 #: includes/ScriptStyle.php:12517641 msgid "Deleting..."7642 msgstr ""7643 7644 7634 #: includes/ScriptStyle.php:1212 7645 7635 #: includes/ScriptStyle.php:1252 7646 msgid " Reply to"7636 msgid "Submitting..." 7647 7637 msgstr "" 7648 7638 7649 7639 #: includes/ScriptStyle.php:1213 7650 7640 #: includes/ScriptStyle.php:1253 7651 msgid " Edit reply"7641 msgid "Deleting..." 7652 7642 msgstr "" 7653 7643 7654 7644 #: includes/ScriptStyle.php:1214 7655 7645 #: includes/ScriptStyle.php:1254 7656 msgid " Edit review"7646 msgid "Reply to" 7657 7647 msgstr "" 7658 7648 7659 7649 #: includes/ScriptStyle.php:1215 7660 7650 #: 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." 7651 msgid "Edit reply" 7669 7652 msgstr "" 7670 7653 7671 7654 #: includes/ScriptStyle.php:1216 7672 7655 #: includes/ScriptStyle.php:1256 7673 msgid " Updated successfully."7656 msgid "Edit review" 7674 7657 msgstr "" 7675 7658 7676 7659 #: includes/ScriptStyle.php:1217 7677 7660 #: includes/ScriptStyle.php:1257 7678 msgid "Deleted successfully." 7661 #: assets/js/build/masteriyo-interactive.js:1 7662 msgid "Your review has been submitted successfully." 7663 msgstr "" 7664 7665 #: includes/ScriptStyle.php:1217 7666 #: includes/ScriptStyle.php:1257 7667 #: assets/js/build/masteriyo-interactive.js:1 7668 msgid "Your review has been submitted and is awaiting approval by the instructor." 7679 7669 msgstr "" 7680 7670 7681 7671 #: includes/ScriptStyle.php:1218 7682 7672 #: includes/ScriptStyle.php:1258 7673 msgid "Updated successfully." 7674 msgstr "" 7675 7676 #: includes/ScriptStyle.php:1219 7677 #: includes/ScriptStyle.php:1259 7678 msgid "Deleted successfully." 7679 msgstr "" 7680 7681 #: includes/ScriptStyle.php:1220 7682 #: includes/ScriptStyle.php:1260 7683 7683 #: templates/single-course/layout-1/main-content.php:157 7684 7684 msgid "Expand All" 7685 7685 msgstr "" 7686 7686 7687 #: includes/ScriptStyle.php:12 197688 #: includes/ScriptStyle.php:12 597687 #: includes/ScriptStyle.php:1221 7688 #: includes/ScriptStyle.php:1261 7689 7689 #: templates/single-course/curriculum.php:53 7690 7690 #: templates/single-course/layout-1/main-content.php:157 … … 7692 7692 msgstr "" 7693 7693 7694 #: includes/ScriptStyle.php:12207695 #: includes/ScriptStyle.php:12607696 #: assets/js/build/masteriyo-account.js:17697 #: assets/js/build/masteriyo-backend.js:17698 msgid "Loading..."7699 msgstr ""7700 7701 #: includes/ScriptStyle.php:12217702 #: includes/ScriptStyle.php:12617703 msgid "Failed to load more reviews"7704 msgstr ""7705 7706 7694 #: includes/ScriptStyle.php:1222 7707 7695 #: includes/ScriptStyle.php:1262 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:1223 7702 #: includes/ScriptStyle.php:1263 7703 msgid "Failed to load more reviews" 7704 msgstr "" 7705 7706 #: includes/ScriptStyle.php:1224 7707 #: includes/ScriptStyle.php:1264 7708 7708 #: templates/single-course/see-more-reviews-button.php:21 7709 7709 msgid "See more reviews" 7710 7710 msgstr "" 7711 7711 7712 #: includes/ScriptStyle.php:122 37713 #: includes/ScriptStyle.php:126 37714 #: includes/ScriptStyle.php:132 67712 #: includes/ScriptStyle.php:1225 7713 #: includes/ScriptStyle.php:1265 7714 #: includes/ScriptStyle.php:1328 7715 7715 msgid "Please enter a password." 7716 7716 msgstr "" 7717 7717 7718 #: includes/ScriptStyle.php:12 787718 #: includes/ScriptStyle.php:1280 7719 7719 msgid "Error processing checkout. Please try again." 7720 7720 msgstr "" -
learning-management-system/tags/1.18.4/includes/RestApi/Controllers/Version1/BlocksController.php
r3285699 r3329504 110 110 */ 111 111 public function save_css_permissions_check( $request ) { 112 if ( ! current_user_can( ' edit_posts' ) ) {112 if ( ! current_user_can( 'manage_options' ) ) { 113 113 return new \WP_Error( 114 114 'masteriyo_rest_cannot_save_css', … … 132 132 public function save_css( $request ) { 133 133 $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 ); 135 137 $post_id = absint( $post['postId'] ); 136 138 -
learning-management-system/tags/1.18.4/includes/ScriptStyle.php
r3316957 r3329504 321 321 'context' => 'public', 322 322 '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(); 324 324 }, 325 325 ), … … 836 836 return; 837 837 } 838 $css = wp_strip_all_tags( $css ); 839 $css = sanitize_textarea_field( $css ); 838 840 wp_add_inline_style( 'masteriyo-public', $css ); 839 841 } -
learning-management-system/tags/1.18.4/lms.php
r3328760 r3329504 6 6 * Author: Masteriyo 7 7 * Author URI: https://masteriyo.com 8 * Version: 1.18. 38 * Version: 1.18.4 9 9 * Requires at least: 6.5 10 10 * Requires PHP: 7.2 … … 47 47 48 48 if ( ! defined( 'MASTERIYO_VERSION' ) ) { 49 define( 'MASTERIYO_VERSION', '1.18. 3' );49 define( 'MASTERIYO_VERSION', '1.18.4' ); 50 50 } 51 51 -
learning-management-system/tags/1.18.4/readme.txt
r3328760 r3329504 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 1.18. 37 Stable tag: 1.18.4 8 8 License: GNU General Public License v3.0 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 244 244 == Changelog == 245 245 246 = 1.18.4 - 17-07-2025 = 247 - Fix - Security related issues. 248 246 249 = 1.18.3 - 16-07-2025 = 247 250 - Fix - Builder price now persists correctly after updates. -
learning-management-system/tags/1.18.4/uninstall.php
r3328760 r3329504 21 21 22 22 defined( 'MASTERIYO_SLUG' ) || define( 'MASTERIYO_SLUG', 'learning-management-system' ); 23 defined( 'MASTERIYO_VERSION' ) || define( 'MASTERIYO_VERSION', '1.18. 3' );23 defined( 'MASTERIYO_VERSION' ) || define( 'MASTERIYO_VERSION', '1.18.4' ); 24 24 defined( 'MASTERIYO_PLUGIN_FILE' ) || define( 'MASTERIYO_PLUGIN_FILE', __FILE__ ); 25 25 defined( '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 2 2 'root' => array( 3 3 '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', 6 6 'reference' => null, 7 7 'type' => 'wordpress-plugin', … … 111 111 ), 112 112 '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', 115 115 'reference' => null, 116 116 'type' => 'wordpress-plugin', -
learning-management-system/trunk/changelog.txt
r3328760 r3329504 1 1 == Changelog == 2 3 = 1.18.4 - 17-07-2025 = 4 - Fix - Security related issues. 2 5 3 6 = 1.18.3 - 16-07-2025 = -
learning-management-system/trunk/composer.json
r3328760 r3329504 2 2 "name": "masteriyo/masteriyo", 3 3 "description": "An WordPress LMS plugin", 4 "version": "1.18. 3",4 "version": "1.18.4", 5 5 "homepage": "https://example.com", 6 6 "license": "GPL-2.0-or-later", -
learning-management-system/trunk/i18n/languages/learning-management-system.pot
r3328760 r3329504 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Masteriyo LMS 1.18. 3\n"5 "Project-Id-Version: Masteriyo LMS 1.18.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/learning-management-system\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-07-1 6T12:40:52+05:45\n"12 "POT-Creation-Date: 2025-07-17T13:33:29+05:45\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 4198 4198 msgstr "" 4199 4199 4200 #: includes/RestApi/Controllers/Version1/BlocksController.php:1 594200 #: includes/RestApi/Controllers/Version1/BlocksController.php:161 4201 4201 msgid "Invalid post ID" 4202 4202 msgstr "" … … 7569 7569 msgstr "" 7570 7570 7571 #: includes/ScriptStyle.php:11 497571 #: includes/ScriptStyle.php:1151 7572 7572 #: assets/js/build/masteriyo-account.js:1 7573 7573 #: assets/js/build/masteriyo-backend.js:1 … … 7576 7576 msgstr "" 7577 7577 7578 #: includes/ScriptStyle.php:115 07578 #: includes/ScriptStyle.php:1152 7579 7579 msgid "Saving..." 7580 7580 msgstr "" 7581 7581 7582 #: includes/ScriptStyle.php:115 17582 #: includes/ScriptStyle.php:1153 7583 7583 msgid "Your profile was updated successfully." 7584 7584 msgstr "" 7585 7585 7586 #: includes/ScriptStyle.php:11 887586 #: includes/ScriptStyle.php:1190 7587 7587 #: templates/account/form-login.php:32 7588 7588 msgid "Sign In" 7589 7589 msgstr "" 7590 7590 7591 #: includes/ScriptStyle.php:11 897591 #: includes/ScriptStyle.php:1191 7592 7592 msgid "Signing In..." 7593 msgstr ""7594 7595 #: includes/ScriptStyle.php:12057596 #: includes/ScriptStyle.php:12457597 msgid "Type CONFIRM to proceed."7598 msgstr ""7599 7600 #: includes/ScriptStyle.php:12067601 #: includes/ScriptStyle.php:12467602 msgid "Try again"7603 7593 msgstr "" 7604 7594 7605 7595 #: includes/ScriptStyle.php:1207 7606 7596 #: includes/ScriptStyle.php:1247 7597 msgid "Type CONFIRM to proceed." 7598 msgstr "" 7599 7600 #: includes/ScriptStyle.php:1208 7601 #: includes/ScriptStyle.php:1248 7602 msgid "Try again" 7603 msgstr "" 7604 7605 #: includes/ScriptStyle.php:1209 7606 #: includes/ScriptStyle.php:1249 7607 7607 #: templates/single-course/course-review-form.php:54 7608 7608 #: templates/single-course/layout-1/review-form.php:58 … … 7612 7612 msgstr "" 7613 7613 7614 #: includes/ScriptStyle.php:12 087615 #: includes/ScriptStyle.php:12 487614 #: includes/ScriptStyle.php:1210 7615 #: includes/ScriptStyle.php:1250 7616 7616 #: assets/js/build/masteriyo-backend.js:1 7617 7617 #: assets/js/build/masteriyo-gettingStarted.js:1 … … 7619 7619 msgstr "" 7620 7620 7621 #: includes/ScriptStyle.php:12 097622 #: includes/ScriptStyle.php:12 497621 #: includes/ScriptStyle.php:1211 7622 #: includes/ScriptStyle.php:1251 7623 7623 #: templates/single-course/course-review-reply.php:58 7624 7624 #: templates/single-course/course-review.php:53 … … 7632 7632 msgstr "" 7633 7633 7634 #: includes/ScriptStyle.php:12107635 #: includes/ScriptStyle.php:12507636 msgid "Submitting..."7637 msgstr ""7638 7639 #: includes/ScriptStyle.php:12117640 #: includes/ScriptStyle.php:12517641 msgid "Deleting..."7642 msgstr ""7643 7644 7634 #: includes/ScriptStyle.php:1212 7645 7635 #: includes/ScriptStyle.php:1252 7646 msgid " Reply to"7636 msgid "Submitting..." 7647 7637 msgstr "" 7648 7638 7649 7639 #: includes/ScriptStyle.php:1213 7650 7640 #: includes/ScriptStyle.php:1253 7651 msgid " Edit reply"7641 msgid "Deleting..." 7652 7642 msgstr "" 7653 7643 7654 7644 #: includes/ScriptStyle.php:1214 7655 7645 #: includes/ScriptStyle.php:1254 7656 msgid " Edit review"7646 msgid "Reply to" 7657 7647 msgstr "" 7658 7648 7659 7649 #: includes/ScriptStyle.php:1215 7660 7650 #: 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." 7651 msgid "Edit reply" 7669 7652 msgstr "" 7670 7653 7671 7654 #: includes/ScriptStyle.php:1216 7672 7655 #: includes/ScriptStyle.php:1256 7673 msgid " Updated successfully."7656 msgid "Edit review" 7674 7657 msgstr "" 7675 7658 7676 7659 #: includes/ScriptStyle.php:1217 7677 7660 #: includes/ScriptStyle.php:1257 7678 msgid "Deleted successfully." 7661 #: assets/js/build/masteriyo-interactive.js:1 7662 msgid "Your review has been submitted successfully." 7663 msgstr "" 7664 7665 #: includes/ScriptStyle.php:1217 7666 #: includes/ScriptStyle.php:1257 7667 #: assets/js/build/masteriyo-interactive.js:1 7668 msgid "Your review has been submitted and is awaiting approval by the instructor." 7679 7669 msgstr "" 7680 7670 7681 7671 #: includes/ScriptStyle.php:1218 7682 7672 #: includes/ScriptStyle.php:1258 7673 msgid "Updated successfully." 7674 msgstr "" 7675 7676 #: includes/ScriptStyle.php:1219 7677 #: includes/ScriptStyle.php:1259 7678 msgid "Deleted successfully." 7679 msgstr "" 7680 7681 #: includes/ScriptStyle.php:1220 7682 #: includes/ScriptStyle.php:1260 7683 7683 #: templates/single-course/layout-1/main-content.php:157 7684 7684 msgid "Expand All" 7685 7685 msgstr "" 7686 7686 7687 #: includes/ScriptStyle.php:12 197688 #: includes/ScriptStyle.php:12 597687 #: includes/ScriptStyle.php:1221 7688 #: includes/ScriptStyle.php:1261 7689 7689 #: templates/single-course/curriculum.php:53 7690 7690 #: templates/single-course/layout-1/main-content.php:157 … … 7692 7692 msgstr "" 7693 7693 7694 #: includes/ScriptStyle.php:12207695 #: includes/ScriptStyle.php:12607696 #: assets/js/build/masteriyo-account.js:17697 #: assets/js/build/masteriyo-backend.js:17698 msgid "Loading..."7699 msgstr ""7700 7701 #: includes/ScriptStyle.php:12217702 #: includes/ScriptStyle.php:12617703 msgid "Failed to load more reviews"7704 msgstr ""7705 7706 7694 #: includes/ScriptStyle.php:1222 7707 7695 #: includes/ScriptStyle.php:1262 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:1223 7702 #: includes/ScriptStyle.php:1263 7703 msgid "Failed to load more reviews" 7704 msgstr "" 7705 7706 #: includes/ScriptStyle.php:1224 7707 #: includes/ScriptStyle.php:1264 7708 7708 #: templates/single-course/see-more-reviews-button.php:21 7709 7709 msgid "See more reviews" 7710 7710 msgstr "" 7711 7711 7712 #: includes/ScriptStyle.php:122 37713 #: includes/ScriptStyle.php:126 37714 #: includes/ScriptStyle.php:132 67712 #: includes/ScriptStyle.php:1225 7713 #: includes/ScriptStyle.php:1265 7714 #: includes/ScriptStyle.php:1328 7715 7715 msgid "Please enter a password." 7716 7716 msgstr "" 7717 7717 7718 #: includes/ScriptStyle.php:12 787718 #: includes/ScriptStyle.php:1280 7719 7719 msgid "Error processing checkout. Please try again." 7720 7720 msgstr "" -
learning-management-system/trunk/includes/RestApi/Controllers/Version1/BlocksController.php
r3285699 r3329504 110 110 */ 111 111 public function save_css_permissions_check( $request ) { 112 if ( ! current_user_can( ' edit_posts' ) ) {112 if ( ! current_user_can( 'manage_options' ) ) { 113 113 return new \WP_Error( 114 114 'masteriyo_rest_cannot_save_css', … … 132 132 public function save_css( $request ) { 133 133 $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 ); 135 137 $post_id = absint( $post['postId'] ); 136 138 -
learning-management-system/trunk/includes/ScriptStyle.php
r3316957 r3329504 321 321 'context' => 'public', 322 322 '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(); 324 324 }, 325 325 ), … … 836 836 return; 837 837 } 838 $css = wp_strip_all_tags( $css ); 839 $css = sanitize_textarea_field( $css ); 838 840 wp_add_inline_style( 'masteriyo-public', $css ); 839 841 } -
learning-management-system/trunk/lms.php
r3328760 r3329504 6 6 * Author: Masteriyo 7 7 * Author URI: https://masteriyo.com 8 * Version: 1.18. 38 * Version: 1.18.4 9 9 * Requires at least: 6.5 10 10 * Requires PHP: 7.2 … … 47 47 48 48 if ( ! defined( 'MASTERIYO_VERSION' ) ) { 49 define( 'MASTERIYO_VERSION', '1.18. 3' );49 define( 'MASTERIYO_VERSION', '1.18.4' ); 50 50 } 51 51 -
learning-management-system/trunk/readme.txt
r3328760 r3329504 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 1.18. 37 Stable tag: 1.18.4 8 8 License: GNU General Public License v3.0 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 244 244 == Changelog == 245 245 246 = 1.18.4 - 17-07-2025 = 247 - Fix - Security related issues. 248 246 249 = 1.18.3 - 16-07-2025 = 247 250 - Fix - Builder price now persists correctly after updates. -
learning-management-system/trunk/uninstall.php
r3328760 r3329504 21 21 22 22 defined( 'MASTERIYO_SLUG' ) || define( 'MASTERIYO_SLUG', 'learning-management-system' ); 23 defined( 'MASTERIYO_VERSION' ) || define( 'MASTERIYO_VERSION', '1.18. 3' );23 defined( 'MASTERIYO_VERSION' ) || define( 'MASTERIYO_VERSION', '1.18.4' ); 24 24 defined( 'MASTERIYO_PLUGIN_FILE' ) || define( 'MASTERIYO_PLUGIN_FILE', __FILE__ ); 25 25 defined( 'MASTERIYO_PLUGIN_BASENAME' ) || define( 'MASTERIYO_PLUGIN_BASENAME', plugin_basename( MASTERIYO_PLUGIN_FILE ) ); -
learning-management-system/trunk/vendor/composer/installed.php
r3328760 r3329504 2 2 'root' => array( 3 3 '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', 6 6 'reference' => null, 7 7 'type' => 'wordpress-plugin', … … 111 111 ), 112 112 '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', 115 115 'reference' => null, 116 116 'type' => 'wordpress-plugin',
Note: See TracChangeset
for help on using the changeset viewer.