Tightened condition on Hybrid events to prevent breakage with v3
Fixes #4
This commit is contained in:
1 parent
112c14fde3
commit
c593e1e925
1 file changed
+1
-1
@@ -14,7 +14,7 @@ class Hybrid_Events extends Laps_Events {
|
|||||||
*/
|
*/
|
||||||
protected function is_applicable() {
|
protected function is_applicable() {
|
||||||
|
|
||||||
return defined( 'HYBRID_VERSION' );
|
return defined( 'HYBRID_VERSION' ) && function_exists( 'hybrid_get_prefix' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user