gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
183 stars 135 forks source link

Setting only the end date for the Course Time Period shows an incorrect notice #2810

Open brianhogg opened 1 day ago

brianhogg commented 1 day ago

Reproduction Steps

  1. In the "Restrictions" tab for a Course, click "Enable Course Time Period"
  2. Enter only the "Course End Date" and leave "Course Start Date" blank
  3. View the course

Expected Behavior

No notice is displayed.

Actual Behavior

A notice "This course opens on ." is displayed

CleanShot 2024-11-21 at 7  32 49@2x

This issue has be recreated:

Browser, Device, and Operating System Information