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

replaced class_exists to interface_exists for interfaces

parent fc527096
No related branches found
No related tags found
1 merge request!29Bugfix/require interface
......@@ -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';
}
......
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