Skip to content
Snippets Groups Projects
Commit 57d76f5a authored by Dyszczo's avatar Dyszczo
Browse files

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

interface_exists on interface

See merge request !5
parents b6395d2f fbc5682c
No related branches found
No related tags found
1 merge request!5interface_exists on interface
Pipeline #8309 failed
<?php <?php
if ( ! class_exists( 'WPDesk_Translable' ) ) { if ( ! interface_exists( 'WPDesk_Translable' ) ) {
require_once 'Translable.php'; require_once 'Translable.php';
} }
......
<?php <?php
if (!class_exists('WPDesk_Translable')) { if ( ! interface_exists( 'WPDesk_Translable' ) ) {
require_once dirname(__FILE__) . '/../Translable.php'; require_once dirname(__FILE__) . '/../Translable.php';
} }
......
<?php <?php
if (!class_exists('WPDesk_Translable')) { if ( ! interface_exists( 'WPDesk_Translable' ) ) {
require_once dirname(__FILE__) . '/../Translable.php'; require_once dirname(__FILE__) . '/../Translable.php';
} }
if ( ! class_exists( 'WPDesk_Buildable' ) ) { if ( ! class_exists( 'WPDesk_Buildable' ) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment