Fix premium plugin detection
When mounted the plugin was mounted directly to the plugin folder get_plugins() function ignored it. We had a similar issue in the past when we were using a softlink. Copying the plugin is a workaround that fixes the issue. [MAILPOET-4662]
This commit is contained in:
committed by
Veljko V
parent
791c9ff002
commit
17a990c94d
@@ -192,6 +192,8 @@ if [[ $MULTISITE == "1" ]]; then
|
||||
fi
|
||||
|
||||
if [[ $CIRCLE_JOB == *"_with_premium_"* ]]; then
|
||||
# Copy MailPoet Premium to plugin path
|
||||
cp -r -n /project/mailpoet-premium /wp-core/wp-content/plugins/mailpoet-premium
|
||||
# Activate MailPoet Premium
|
||||
wp plugin activate mailpoet-premium
|
||||
fi
|
||||
|
Reference in New Issue
Block a user