diff --git a/CHANGELOG.md b/CHANGELOG.md index 153d1e45761afed8f27df62617e818770ea9b871..3a7e744ca15e9652f36ecc0fef46be771bbef0e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.4.4] - 2020-06-17 +### Fixed +- Replaced class_exists to interface_exists for interfaces + + ## [1.4.3] - 2020-06-03 ### Fixed - Path for require_once diff --git a/src/Plugin/WithoutNamespace/Plugin_Info.php b/src/Plugin/WithoutNamespace/Plugin_Info.php index 8f1b544baef4a8a0a043b7633194b2f8a0a2cd13..8c2967638d03971383efc3d1a0d3e3a56396de01 100644 --- a/src/Plugin/WithoutNamespace/Plugin_Info.php +++ b/src/Plugin/WithoutNamespace/Plugin_Info.php @@ -3,10 +3,10 @@ if ( ! interface_exists( 'WPDesk_Translatable' ) ) { require_once __DIR__ . '/Translatable.php'; } -if ( ! class_exists( 'WPDesk_Buildable' ) ) { +if ( ! interface_exists( 'WPDesk_Buildable' ) ) { require_once __DIR__ . '/Buildable.php'; } -if ( ! class_exists( 'WPDesk_Has_Plugin_Info' ) ) { +if ( ! interface_exists( 'WPDesk_Has_Plugin_Info' ) ) { require_once __DIR__ . '/Has_Plugin_Info.php'; }