Skip to content
Snippets Groups Projects
Commit 80286a8c authored by Krzysiek's avatar Krzysiek
Browse files

Merge branch 'devel-interface-exists' into 'devel'

Merge of devel-interface-exists to devel

See merge request wpdesk/plugin-template!12
parents 3f071dc0 b841eb39
No related branches found
No related tags found
1 merge request!12Merge of devel-interface-exists to devel
...@@ -35,6 +35,7 @@ stages: ...@@ -35,6 +35,7 @@ stages:
- mysql - mysql
script: script:
- ls -l - ls -l
- if [[ -f tests/integration/prepare.sh ]]; then sh tests/integration/prepare.sh; fi
- php --version - php --version
- composer phpunit-integration - composer phpunit-integration
......
...@@ -4,9 +4,12 @@ if ( ! defined( 'ABSPATH' ) ) { ...@@ -4,9 +4,12 @@ if ( ! defined( 'ABSPATH' ) ) {
exit; exit;
} // Exit if accessed directly } // Exit if accessed directly
if ( !interface_exists( 'WPDesk_Plugin_Factory_1_10' ) ) {
interface WPDesk_Plugin_Factory_1_10 { interface WPDesk_Plugin_Factory_1_10 {
const WPDESK_FILTER_PLUGIN_CLASS = 'wpdesk_plugin_class'; const WPDESK_FILTER_PLUGIN_CLASS = 'wpdesk_plugin_class';
static function build_plugin(); static function build_plugin();
static function get_plugin_instance(); static function get_plugin_instance();
} }
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment