iseqqavoq / apsis-pro-user-subscriptions

0 stars 1 forks source link

Failing to activate plugin #1

Closed sbangnielsen closed 7 years ago

sbangnielsen commented 7 years ago

The plugin will not activate, if parent plugin is downloaded from wordpress.org

The problem is that .org-plugin has a different path than the github-version, so the check for parent-plugin fails.

/wp-content/plugins/APSIS-Pro-for-WP/apsis-pro-for-wp.php vs /wp-content/plugins/apsis-pro-for-wp/apsis-pro-for-wp.php

It’s worth considering to check for Class or Function instead, since plugin path is unreliable in many cases.

https://pippinsplugins.com/checking-dependent-plugin-active/

mattiasiqq commented 7 years ago

Fixed.