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

If the Terms and Conditions page is invalid, the link during checkout is incorrect / broken #2803

Open brianhogg opened 1 week ago

brianhogg commented 1 week ago

Reproduction Steps

  1. Set a "Terms and Conditions Page" in LifterLMS > Settings, Accounts tab.
  2. Move the selected page to Trash (in Pages)

Expected Behavior

Show a warning that the Terms and Conditions page is invalid

Actual Behavior

There is no warning, the link is broken in checkout (if in Trash) or does not appear at all if the page is deleted permanently.

CleanShot 2024-11-13 at 9  02 55@2x

This issue has be recreated:

Browser, Device, and Operating System Information