We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e3827 commit 1e56ba3Copy full SHA for 1e56ba3
plugin.php
@@ -26,7 +26,8 @@ function stackable_multiple_plugins_check() {
26
}
27
28
29
-if ( defined('STACKABLE_FILE') && STACKABLE_FILE !== __FILE__ && ! isset( $GLOBALS['OTHER_STACKABLE_FILE'] ) ) {
+if ( defined('STACKABLE_FILE') && STACKABLE_FILE !== __FILE__ && ! isset( $GLOBALS['OTHER_STACKABLE_FILE'] ) &&
30
+ defined( 'STACKABLE_BUILD' ) && defined( 'STACKABLE_VERSION' ) ) {
31
// Get relative file path of the other Stackable version.
32
$GLOBALS['OTHER_STACKABLE_FILE'] = plugin_basename( STACKABLE_FILE );
33
0 commit comments