Skip to content

Commit

Permalink
Merge pull request #7473 from Automattic/release/4.20.2
Browse files Browse the repository at this point in the history
Release 4.20.2
  • Loading branch information
renatho committed Feb 7, 2024
2 parents 02e3436 + 10933f0 commit 07aa4f5
Show file tree
Hide file tree
Showing 11 changed files with 98 additions and 60 deletions.
9 changes: 9 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 0 additions & 4 deletions changelog/change-autofocus-course-title

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-404-after-language-switch

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-no-email-template-in-site-editor

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-reports-memory-issue

This file was deleted.

4 changes: 2 additions & 2 deletions includes/class-sensei.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
78 changes: 71 additions & 7 deletions lang/sensei-lms.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ""

Expand Down Expand Up @@ -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"
Expand All @@ -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 ""

Expand Down Expand Up @@ -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 <link_to_course_outline_block_doc>course outline docs</link_to_course_outline_block_doc> to learn more. <tour_restart_url>Restart tour</tour_restart_url>"
msgstr ""

#: assets/blocks/conditional-content-block/block.json
msgctxt "block title"
msgid "Conditional Content"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
41 changes: 11 additions & 30 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
- Teachers can no longer see all students in the Students screen [#7367](https://github.com/Automattic/sensei/pull/7367)
4 changes: 2 additions & 2 deletions sensei-lms.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' ) ) {
Expand Down

0 comments on commit 07aa4f5

Please sign in to comment.