Skip to content

Commit b7cb120

Browse files
authored
Merge pull request #2988 from gocodebox/dev
Release 9.0.1, 9.0.2 and 9.0.3 changes.
2 parents ae893de + d942bf6 commit b7cb120

File tree

7 files changed

+98
-1843
lines changed

7 files changed

+98
-1843
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
LifterLMS Changelog
22
===================
33

4+
v9.0.3 - 2025-08-19
5+
-------------------
6+
7+
##### Bug Fixes
8+
9+
+ Additional checks for valid courses during the setup wizard. [#2992](https://github.com/gocodebox/lifterlms/issues/2992)
10+
11+
12+
v9.0.2 - 2025-08-19
13+
-------------------
14+
15+
##### Bug Fixes
16+
17+
+ Avoid fatal error during setup wizard if list of courses to import cannot be fetched. [#2992](https://github.com/gocodebox/lifterlms/issues/2992)
18+
+ Avoid i18n translation warning on brand new site when scheduling cron. [#2990](https://github.com/gocodebox/lifterlms/issues/2990)
19+
20+
21+
v9.0.1 - 2025-08-18
22+
-------------------
23+
24+
##### Bug Fixes
25+
26+
+ Fix "unsaved changes" warning when navigating away from a course/membeship with instructors block in it. [#2986](https://github.com/gocodebox/lifterlms/issues/2986)
27+
28+
429
v9.0.0 - 2025-08-18
530
-------------------
631

class-lifterlms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class LifterLMS {
3434
*
3535
* @var string
3636
*/
37-
public $version = '9.0.0';
37+
public $version = '9.0.3';
3838

3939
/**
4040
* LLMS_Assets instance

composer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
"php": ">=7.4",
3030
"composer/installers": "~1.9.0",
3131
"deliciousbrains/wp-background-processing": "1.0.2",
32-
"lifterlms/lifterlms-blocks": "2.6.0",
32+
"lifterlms/lifterlms-blocks": "2.6.1",
3333
"lifterlms/lifterlms-cli": "0.0.5",
34-
"lifterlms/lifterlms-helper": "3.5.5",
34+
"lifterlms/lifterlms-helper": "3.5.6",
3535
"lifterlms/lifterlms-rest": "1.0.2",
3636
"woocommerce/action-scheduler": "3.5.4",
3737
"gocodebox/banner-notifications": "^1.1"
@@ -74,6 +74,11 @@
7474
"/libraries/README.md",
7575
"/libraries/**/composer.*",
7676
"/libraries/**/i18n",
77+
"/libraries/banner-notifications/.github",
78+
"/libraries/banner-notifications/.gitignore",
79+
"/libraries/banner-notifications/phpunit.xml",
80+
"/libraries/banner-notifications/.editorconfig",
81+
"/libraries/banner-notifications/tests",
7782

7883
"/vendor/bin",
7984
"/vendor/**/**/composer.*",

includes/admin/views/setup-wizard/step-finish.php

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,22 @@
2424
</ul>
2525
<br>
2626

27+
<?php if ( is_array( $courses ) && ! empty( $courses ) ) : ?>
28+
29+
<?php
30+
// If there was an error fetching courses, the array might be details of the request vs. a WP_Error object.
31+
foreach ( $courses as $course ) {
32+
if ( ! is_array( $course ) || ! isset( $course['id'], $course['description'], $course['image'], $course['title'] ) ) {
33+
$courses = new WP_Error( 'llms_invalid_course_data', __( 'There was an error loading importable courses. Please reload the page to try again.', 'lifterlms' ) );
34+
break;
35+
}
36+
}
37+
?>
38+
2739
<h1><?php esc_html_e( 'Import Sample Courses and Templates!', 'lifterlms' ); ?></h1>
2840
<p><?php esc_html_e( 'Accelerate your progress by installing a quick LifterLMS training course and useful course templates.', 'lifterlms' ); ?></p>
2941

30-
<?php require LLMS_PLUGIN_DIR . 'includes/admin/views/importable-courses.php'; ?>
42+
<?php require LLMS_PLUGIN_DIR . 'includes/admin/views/importable-courses.php'; ?>
3143

3244
<div class="llms-importing-msgs">
3345
<p class="llms-importing-msg single">
@@ -50,3 +62,5 @@
5062
?>
5163
</p>
5264
</div>
65+
66+
<?php endif; ?>

lifterlms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Plugin Name: LifterLMS
1111
* Plugin URI: https://lifterlms.com/
1212
* Description: Complete e-learning platform to sell online courses, protect lessons, offer memberships, and quiz students. WP Learning Management System.
13-
* Version: 9.0.0
13+
* Version: 9.0.3
1414
* Author: LifterLMS
1515
* Author URI: https://lifterlms.com/
1616
* Text Domain: lifterlms

0 commit comments

Comments
 (0)