Code Duplication    Length = 6-11 lines in 2 locations

uix-bootstrap.php 1 location

@@ 15-20 (lines=6) @@
12
// If this file is called directly, abort.
13
if ( defined( 'WPINC' ) ) {
14
15
	if ( ! defined( 'UIX_CORE' ) ) {
16
		define( 'UIX_CORE', __FILE__ );
17
		define( 'UIX_PATH', plugin_dir_path( __FILE__ ) );
18
		define( 'UIX_URL', plugin_dir_url( __FILE__ ) );
19
		define( 'UIX_VER', '1.0.0' );
20
	}
21
	if ( ! defined( 'UIX_ASSET_DEBUG' ) ) {
22
		if ( ! defined( 'DEBUG_SCRIPTS' ) ) {
23
			define( 'UIX_ASSET_DEBUG', '.min' );

uix-plugin.php 1 location

@@ 24-34 (lines=11) @@
21
 * Domain Path: /languages
22
 */
23
// If this file is called directly, abort.
24
if ( defined( 'WPINC' ) ) {
25
26
	define( 'UIX_CORE', __FILE__ );
27
	define( 'UIX_PATH', plugin_dir_path( __FILE__ ) );
28
	define( 'UIX_URL', plugin_dir_url( __FILE__ ) );
29
	define( 'UIX_VER', '1.0.0' );
30
31
	// include uix bootstrap.
32
	require_once UIX_PATH . 'uix-bootstrap.php';
33
34
}
35