Automattic / sensei

Sensei LMS - Online Courses, Quizzes, & Learning
https://senseilms.com
GNU General Public License v2.0
536 stars 197 forks source link

Missing dependencies on Lessons admin page #4839

Closed renatho closed 2 years ago

renatho commented 2 years ago

Steps to Reproduce

  1. Build and install the Sensei core (Or install the current version) - The issue just happened to me with the built version.
  2. Go to WP Admin > Sensei LMS > Lessons
  3. Check the console

What I Expected

To not see errors.

What Happened Instead

I see some errors, and I noticed that the same doesn't happen on the course page. I also noticed that The wp.i18n is not available on the Lessons page.

I didn't see any relevant issues navigating on the page.

PHP / WordPress / Sensei LMS version

PHP 7 / WP 5.9 / Sensei 4.0.2

Browser / OS version

Chrome / Mac

Screenshot / Video

Screen Shot 2022-02-18 at 14 38 15

Screen Shot 2022-02-18 at 14 38 38

mikeyarce commented 2 years ago

This was fixed in https://github.com/Automattic/sensei/pull/5343