SAML-Toolkits / wordpress-saml

OneLogin SAML plugin for Wordpress
MIT License
65 stars 75 forks source link

Fix Undefined `is_plugin_active` function #141

Open michael-sumner opened 6 months ago

michael-sumner commented 6 months ago

When visiting the /wp-login.php page we've discovered that there is a fatal error emitted here:

Screenshot 2023-12-21 at 12 42 01

This fix addresses that issue by replacing the is_plugin_active function with an alternative solution.

This issue also appears within Pantheon hosting, where the WP core files are slightly different from the standard WP installation.

Closes #135

Issue: https://github.com/onelogin/wordpress-saml/issues/129