Skip to content
Snippets Groups Projects
Commit e18df43b authored by Marcin Kolanko's avatar Marcin Kolanko
Browse files

Merge branch 'bugfix/require-interface' into 'master'

Bugfix/require interface

See merge request !29
parents fc527096 cf8dc4bf
No related branches found
Tags 1.4.4
1 merge request!29Bugfix/require interface
Pipeline #9165 failed with stages
in 3 minutes and 43 seconds
## [1.4.4] - 2020-06-17
### Fixed
- Replaced class_exists to interface_exists for interfaces
## [1.4.3] - 2020-06-03 ## [1.4.3] - 2020-06-03
### Fixed ### Fixed
- Path for require_once - Path for require_once
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
if ( ! interface_exists( 'WPDesk_Translatable' ) ) { if ( ! interface_exists( 'WPDesk_Translatable' ) ) {
require_once __DIR__ . '/Translatable.php'; require_once __DIR__ . '/Translatable.php';
} }
if ( ! class_exists( 'WPDesk_Buildable' ) ) { if ( ! interface_exists( 'WPDesk_Buildable' ) ) {
require_once __DIR__ . '/Buildable.php'; 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'; require_once __DIR__ . '/Has_Plugin_Info.php';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment