From 66fc5e73bee2c0f7368634584844f95915ca8fc7 Mon Sep 17 00:00:00 2001 From: Miroslav Mitev Date: Thu, 11 Dec 2025 12:31:10 +0200 Subject: [PATCH 1/2] Fix Course List pattern not working with newest Gutenberg --- .../class-sensei-course-list-block-patterns.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/includes/block-patterns/course-list/class-sensei-course-list-block-patterns.php b/includes/block-patterns/course-list/class-sensei-course-list-block-patterns.php index 8d108f4dae..223dd76261 100644 --- a/includes/block-patterns/course-list/class-sensei-course-list-block-patterns.php +++ b/includes/block-patterns/course-list/class-sensei-course-list-block-patterns.php @@ -184,7 +184,10 @@ public function register_course_list_block_patterns() { 'title' => __( 'Course List', 'sensei-lms' ), 'categories' => array( 'sensei-lms' ), 'blockTypes' => array( 'core/query/sensei-lms/course-list' ), - 'content' => ' + 'content' => ' +
+ + - ', +
+ ', ], ]; From 156fa7e2c50c2e4549dc6b24af187339a6b8e243 Mon Sep 17 00:00:00 2001 From: Miroslav Mitev Date: Thu, 11 Dec 2025 12:33:02 +0200 Subject: [PATCH 2/2] Add changelog --- changelog/fix-course-list-patterns | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changelog/fix-course-list-patterns diff --git a/changelog/fix-course-list-patterns b/changelog/fix-course-list-patterns new file mode 100644 index 0000000000..e8132e1fdb --- /dev/null +++ b/changelog/fix-course-list-patterns @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Fix Course List pattern not working with newest Gutenberg