Skip to content

Add class_exists check so the class isn't defined twice#8

Merged
brianhogg merged 2 commits intodevfrom
fix/check-class-exists
Aug 19, 2025
Merged

Add class_exists check so the class isn't defined twice#8
brianhogg merged 2 commits intodevfrom
fix/check-class-exists

Conversation

@brianhogg
Copy link
Copy Markdown
Collaborator

Description

Avoid a fatal error if the class already exists, ie. via Paid Memberships Pro

Checklist:

  • This PR requires and contains at least one changelog file.
  • My code has been tested.
  • My code passes all existing automated tests.
  • My code follows the LifterLMS Coding & Documentation Standards.

@brianhogg brianhogg changed the base branch from trunk to dev August 19, 2025 20:56
@brianhogg brianhogg merged commit 93c4804 into dev Aug 19, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant