diff --git a/changelog/fix-divi-learning-mode-admin-css-path b/changelog/fix-divi-learning-mode-admin-css-path new file mode 100644 index 0000000000..28ab784e04 --- /dev/null +++ b/changelog/fix-divi-learning-mode-admin-css-path @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Fix the Learning Mode admin editor stylesheet path for the Divi theme, which pointed at a non-existent "div" directory instead of "divi". diff --git a/includes/3rd-party/themes/divi.php b/includes/3rd-party/themes/divi.php index e63dc1fd43..17d4667036 100644 --- a/includes/3rd-party/themes/divi.php +++ b/includes/3rd-party/themes/divi.php @@ -123,7 +123,7 @@ function sensei_admin_load_learning_mode_style_for_divi_theme() { if ( $is_lesson_editor || $is_site_editor ) { Sensei()->assets->enqueue( 'divi-learning-mode', - 'css/3rd-party/themes/div/learning-mode.css' + 'css/3rd-party/themes/divi/learning-mode.css' ); Sensei()->assets->enqueue(