diff --git a/changelog.txt b/changelog.txt index ff2390322f..1019c6f002 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,14 @@ *** Changelog *** +## 4.20.2 - 2024-02-07 +### Changed +- Auto-focus the course title field when creating a new course [#7434](https://github.com/Automattic/sensei/pull/7434) + +### Fixed +- Fixed Sensei Email template not available in site editor [#7463](https://github.com/Automattic/sensei/pull/7463) +- Flush rewrite rules when the website language was changed or the translation was updated. [#7435](https://github.com/Automattic/sensei/pull/7435) +- Memory issue on the student reports screen [#7468](https://github.com/Automattic/sensei/pull/7468) + ## 4.20.1 - 2024-01-17 ### Added - Log event when task on Sensei Home is completed [#7430](https://github.com/Automattic/sensei/pull/7430) diff --git a/changelog/change-autofocus-course-title b/changelog/change-autofocus-course-title deleted file mode 100644 index 2deb4e8478..0000000000 --- a/changelog/change-autofocus-course-title +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Auto-focus the course title field when creating a new course diff --git a/changelog/fix-404-after-language-switch b/changelog/fix-404-after-language-switch deleted file mode 100644 index 626290e721..0000000000 --- a/changelog/fix-404-after-language-switch +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Flush rewrite rules when the website language was changed or the translation was updated. diff --git a/changelog/fix-no-email-template-in-site-editor b/changelog/fix-no-email-template-in-site-editor deleted file mode 100644 index f0de8c8217..0000000000 --- a/changelog/fix-no-email-template-in-site-editor +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Fixed Sensei Email template not available in site editor diff --git a/changelog/fix-reports-memory-issue b/changelog/fix-reports-memory-issue deleted file mode 100644 index dced92fe75..0000000000 --- a/changelog/fix-reports-memory-issue +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Memory issue on the student reports screen diff --git a/includes/class-sensei.php b/includes/class-sensei.php index 9615315da8..e79a1a27c0 100644 --- a/includes/class-sensei.php +++ b/includes/class-sensei.php @@ -448,7 +448,7 @@ protected function init() { * * @internal * - * @since $$next-version$$ + * @since 4.20.2 * * @param mixed $old_value Old value. * @param mixed $new_value New value. @@ -464,7 +464,7 @@ public function maybe_initiate_rewrite_rules_flush_after_language_change( $old_v * * @internal * - * @since $$next-version$$ + * @since 4.20.2 * * @param WP_Upgrader $upgrader_object Upgrader object. * @param array $options Options. diff --git a/lang/sensei-lms.pot b/lang/sensei-lms.pot index c3a12d2d7b..eb73e41699 100644 --- a/lang/sensei-lms.pot +++ b/lang/sensei-lms.pot @@ -2,16 +2,16 @@ # This file is distributed under the GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. msgid "" msgstr "" -"Project-Id-Version: Sensei LMS 4.20.2-a.1\n" +"Project-Id-Version: Sensei LMS 4.20.2\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sensei-lms\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-01-24T12:15:54+00:00\n" +"POT-Creation-Date: 2024-02-07T13:42:13+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.9.0\n" +"X-Generator: WP-CLI 2.8.1\n" "X-Domain: sensei-lms\n" #. Plugin Name of the plugin @@ -2700,7 +2700,7 @@ msgstr "" msgid "Invalid request" msgstr "" -#: includes/class-sensei-analysis.php:926 +#: includes/class-sensei-analysis.php:925 msgid "Invalid user" msgstr "" @@ -5633,7 +5633,7 @@ msgstr "" #: includes/class-sensei-teacher.php:140 #: includes/class-sensei-teacher.php:255 -#: includes/class-sensei-teacher.php:1346 +#: includes/class-sensei-teacher.php:1330 #: assets/dist/js/admin/course-edit.js:73 #: assets/js/admin/course-general-sidebar.js:122 msgid "Teacher" @@ -5647,12 +5647,12 @@ msgstr "" msgid "New course created by" msgstr "" -#: includes/class-sensei-teacher.php:1493 +#: includes/class-sensei-teacher.php:1477 msgid "Show all teachers" msgstr "" #. translators: Placeholder is the author name. -#: includes/class-sensei-teacher.php:1819 +#: includes/class-sensei-teacher.php:1803 msgid "All courses by %s" msgstr "" @@ -10254,6 +10254,70 @@ msgstr "" msgid "Skip onboarding" msgstr "" +#: assets/tour/course/steps.js:37 +msgid "Welcome to the Course Outline block" +msgstr "" + +#: assets/tour/course/steps.js:42 +msgid "Take this short tour to learn how to create your course outline right in the editor. Click an option in the block to get started." +msgstr "" + +#: assets/tour/course/steps.js:62 +msgid "Renaming an existing lesson" +msgstr "" + +#: assets/tour/course/steps.js:64 +msgid "Click on an existing lesson to select it. Then give it a new name." +msgstr "" + +#: assets/tour/course/steps.js:81 +msgid "Adding a module" +msgstr "" + +#: assets/tour/course/steps.js:83 +msgid "A module is a container for a group of related lessons in a course. Click + to open the inserter. Then click the Module option." +msgstr "" + +#: assets/tour/course/steps.js:100 +msgid "Adding a new lesson" +msgstr "" + +#: assets/tour/course/steps.js:102 +msgid "Click + to open the inserter. Then click the Lesson option." +msgstr "" + +#: assets/tour/course/steps.js:119 +msgid "Deleting a lesson" +msgstr "" + +#: assets/tour/course/steps.js:121 +msgid "Use the Options menu in the toolbar to delete a selected lesson." +msgstr "" + +#: assets/tour/course/steps.js:138 +msgid "Saving lessons" +msgstr "" + +#: assets/tour/course/steps.js:140 +msgid "Click the “Save to edit lesson” option in the toolbar to save all lessons." +msgstr "" + +#: assets/tour/course/steps.js:157 +msgid "Editing a lesson" +msgstr "" + +#: assets/tour/course/steps.js:159 +msgid "Use the “Edit lesson” option in the toolbar to navigate to the lesson editor and add your content." +msgstr "" + +#: assets/tour/course/steps.js:176 +msgid "Congratulations!" +msgstr "" + +#: assets/tour/course/steps.js:179 +msgid "You've mastered the basics. View the course outline docs to learn more. Restart tour" +msgstr "" + #: assets/blocks/conditional-content-block/block.json msgctxt "block title" msgid "Conditional Content" diff --git a/package-lock.json b/package-lock.json index 5365e7e200..47d92553bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sensei-lms", - "version": "4.20.2-a.1", + "version": "4.20.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "sensei-lms", - "version": "4.20.2-a.1", + "version": "4.20.2", "license": "GPL-2.0-or-later", "dependencies": { "@wordpress/api-fetch": "wp-5.9", diff --git a/package.json b/package.json index 879ee3a77b..b488b08d6b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sensei-lms", "title": "Sensei LMS", - "version": "4.20.2-a.1", + "version": "4.20.2", "description": "Sensei LMS", "author": "Automattic", "license": "GPL-2.0-or-later", diff --git a/readme.txt b/readme.txt index 21835fd2f0..b70d7fea0d 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: lms, eLearning, teach, online courses, woocommerce Requires at least: 6.2 Tested up to: 6.4 Requires PHP: 7.4 -Stable tag: 4.20.1 +Stable tag: 4.20.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -144,6 +144,15 @@ Community members have translated the free Sensei LMS plugin [into 18 languages] == Changelog == +### 4.20.2 - 2024-02-07 +#### Changed +- Auto-focus the course title field when creating a new course [#7434](https://github.com/Automattic/sensei/pull/7434) + +#### Fixed +- Fixed Sensei Email template not available in site editor [#7463](https://github.com/Automattic/sensei/pull/7463) +- Flush rewrite rules when the website language was changed or the translation was updated. [#7435](https://github.com/Automattic/sensei/pull/7435) +- Memory issue on the student reports screen [#7468](https://github.com/Automattic/sensei/pull/7468) + ### 4.20.1 - 2024-01-17 #### Added - Log event when task on Sensei Home is completed [#7430](https://github.com/Automattic/sensei/pull/7430) @@ -183,32 +192,4 @@ Community members have translated the free Sensei LMS plugin [into 18 languages] - Resolved the issue of the 'Take Quiz' button not displaying in the site editor when Gutenberg is enabled [#7341](https://github.com/Automattic/sensei/pull/7341) - Restart quiz redirects to the course complete page if the course was completed [#7377](https://github.com/Automattic/sensei/pull/7377) - Scope CSS to Learning Mode templates only [#7382](https://github.com/Automattic/sensei/pull/7382) -- Teachers can no longer see all students in the Students screen [#7367](https://github.com/Automattic/sensei/pull/7367) - -### 4.19.2 - 2023-11-23 -#### Added -- Style Lesson Actions block in Learning Mode [#7224](https://github.com/Automattic/sensei/pull/7224) -- Change border color and width of Lesson Actions block in Learning Mode [#7283](https://github.com/Automattic/sensei/pull/7283) - -#### Changed -- Migrate legacy quiz data [#7289](https://github.com/Automattic/sensei/pull/7289) -- "Not Enrolled" notice in Learning Mode [#7263](https://github.com/Automattic/sensei/pull/7263) -- Design for footer in multi-page quizzes [#7268](https://github.com/Automattic/sensei/pull/7268) -- Style of Learning Mode notice that is displayed when a student is not logged in [#7264](https://github.com/Automattic/sensei/pull/7264) -- Message when there are no published lessons in a course [#7300](https://github.com/Automattic/sensei/pull/7300) - -#### Fixed -- Contact Teacher form in Learning Mode quiz footer [#7257](https://github.com/Automattic/sensei/pull/7257) -- Contact Teacher button is full width in Learning Mode [#7288](https://github.com/Automattic/sensei/pull/7288) -- Deprecation notice when user is not logged in [#7294](https://github.com/Automattic/sensei/pull/7294) -- "No published content" notice being displayed for users who created a course in the editor [#7284](https://github.com/Automattic/sensei/pull/7284) -- How we determine whether a quiz has been submitted [#7278](https://github.com/Automattic/sensei/pull/7278) -- Module spacing when Learning Mode is not enabled [#7272](https://github.com/Automattic/sensei/pull/7272) -- Distorted site logo in Learning Mode [#7275](https://github.com/Automattic/sensei/pull/7275) -- Gap fill question to accept "0" as a right answer [#7273](https://github.com/Automattic/sensei/pull/7273) -- "Pending Grade" button is too wide for some themes [#7287](https://github.com/Automattic/sensei/pull/7287) -- Fix broken Learning Mode templates on Gutenberg 17.1.0 [#7317](https://github.com/Automattic/sensei/pull/7317) -- Fix dropdown menu icon size [#7316](https://github.com/Automattic/sensei/pull/7316) - -#### Development -- Add stylesheets for Course theme variations [#7256](https://github.com/Automattic/sensei/pull/7256) \ No newline at end of file +- Teachers can no longer see all students in the Students screen [#7367](https://github.com/Automattic/sensei/pull/7367) \ No newline at end of file diff --git a/sensei-lms.php b/sensei-lms.php index 5084d0f57f..061a0c4ca4 100644 --- a/sensei-lms.php +++ b/sensei-lms.php @@ -3,7 +3,7 @@ * Plugin Name: Sensei LMS * Plugin URI: https://senseilms.com/ * Description: Share your knowledge, grow your network, and strengthen your brand by launching an online course. - * Version: 4.20.2-a.1 + * Version: 4.20.2 * Author: Automattic * Author URI: https://automattic.com * License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html @@ -19,7 +19,7 @@ } if ( ! defined( 'SENSEI_LMS_VERSION' ) ) { - define( 'SENSEI_LMS_VERSION', '4.20.2-a.1' ); // WRCS: DEFINED_VERSION. + define( 'SENSEI_LMS_VERSION', '4.20.2' ); // WRCS: DEFINED_VERSION. } if ( ! defined( 'SENSEI_LMS_PLUGIN_FILE' ) ) {