Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a check to see if plugin is already active with Sensei Pro #237

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mikeyarce
Copy link

Currently, if you have Sensei Pro active and you go activate Content Drip, you'll get a Fatal Error becuase you're redeclaring the same constants.

Changes proposed in this Pull Request

  • Add a check before the plugin runs to check if it's already active through Sensei Pro

Testing instructions

  • Activate Sensei Pro
  • Activate Sensei Content Drip
  • You'll see a banner letting you know you have a legacy plugin
  • You won't see any Fatal Errors now!

Screenshot / Video

Screen Shot 2022-09-04 at 4 16 07 PM

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