Orbit Fox by ThemeIsle - Version 2.2.1

Version Description

  • 2017-11-24
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Orbit Fox by ThemeIsle
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2.0 to 2.2.1

CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
 
2
  ### v2.2.0 - 2017-11-23
3
  **Changes:**
4
  * - Added new Elementor Widgets module;
1
 
2
+ ### v2.2.1 - 2017-11-24
3
+ **Changes:**
4
+ * Fixed module loading for Elementor widgets module.
5
+
6
  ### v2.2.0 - 2017-11-23
7
  **Changes:**
8
  * - Added new Elementor Widgets module;
core/assets/css/orbit-fox-admin.css CHANGED
@@ -8,7 +8,7 @@
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
- Version: 2.2.0
12
  */
13
 
14
  /* Document
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
+ Version: 2.2.1
12
  */
13
 
14
  /* Document
core/includes/class-orbit-fox.php CHANGED
@@ -69,7 +69,7 @@ class Orbit_Fox {
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
- $this->version = '2.2.0';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
+ $this->version = '2.2.1';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
obfx_modules/elementor-widgets/init.php CHANGED
@@ -43,18 +43,6 @@ class Elementor_Widgets_OBFX_Module extends Orbit_Fox_Module_Abstract {
43
  $this->active_default = true;
44
  }
45
 
46
- /**
47
- * Check if Elementor exists.
48
- *
49
- * @return bool
50
- */
51
- private function has_elementor() {
52
- if ( defined( 'ELEMENTOR_VERSION' ) ) {
53
- return true;
54
- }
55
- return false;
56
- }
57
-
58
  /**
59
  * Determine if module should be loaded.
60
  *
@@ -63,10 +51,8 @@ class Elementor_Widgets_OBFX_Module extends Orbit_Fox_Module_Abstract {
63
  * @return bool
64
  */
65
  public function enable_module() {
66
- if ( $this->has_elementor() ) {
67
- return true;
68
- }
69
- return false;
70
  }
71
 
72
  /**
@@ -75,12 +61,7 @@ class Elementor_Widgets_OBFX_Module extends Orbit_Fox_Module_Abstract {
75
  * @since 1.0.0
76
  * @access public
77
  */
78
- public function load() {
79
- if ( $this->has_elementor() ) {
80
- return true;
81
- }
82
- return false;
83
- }
84
 
85
  /**
86
  * Method to define hooks needed.
43
  $this->active_default = true;
44
  }
45
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  /**
47
  * Determine if module should be loaded.
48
  *
51
  * @return bool
52
  */
53
  public function enable_module() {
54
+ require_once( ABSPATH . 'wp-admin' . '/includes/plugin.php' );
55
+ return is_plugin_active( 'elementor/elementor.php' );
 
 
56
  }
57
 
58
  /**
61
  * @since 1.0.0
62
  * @access public
63
  */
64
+ public function load() {}
 
 
 
 
 
65
 
66
  /**
67
  * Method to define hooks needed.
readme.md CHANGED
@@ -86,6 +86,11 @@ Activating the Orbit Fox Companion plugin is just like any other plugin. If you'
86
  3. Screenshot 3. How reports module is looking
87
 
88
  ## Changelog ##
 
 
 
 
 
89
  ### 2.2.0 - 2017-11-23 ###
90
 
91
  * - Added new Elementor Widgets module;
86
  3. Screenshot 3. How reports module is looking
87
 
88
  ## Changelog ##
89
+ ### 2.2.1 - 2017-11-24 ###
90
+
91
+ * Fixed module loading for Elementor widgets module.
92
+
93
+
94
  ### 2.2.0 - 2017-11-23 ###
95
 
96
  * - Added new Elementor Widgets module;
readme.txt CHANGED
@@ -86,6 +86,11 @@ Activating the Orbit Fox Companion plugin is just like any other plugin. If you'
86
  3. Screenshot 3. How reports module is looking
87
 
88
  == Changelog ==
 
 
 
 
 
89
  = 2.2.0 - 2017-11-23 =
90
 
91
  * - Added new Elementor Widgets module;
86
  3. Screenshot 3. How reports module is looking
87
 
88
  == Changelog ==
89
+ = 2.2.1 - 2017-11-24 =
90
+
91
+ * Fixed module loading for Elementor widgets module.
92
+
93
+
94
  = 2.2.0 - 2017-11-23 =
95
 
96
  * - Added new Elementor Widgets module;
themeisle-companion.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: Enhances ThemeIsle's themes with extra functionality.
18
- * Version: 2.2.0
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: Enhances ThemeIsle's themes with extra functionality.
18
+ * Version: 2.2.1
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit86304f41e0559d2363e0934cd9f8f1bb::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit6cda1f35f0ed08e317ab83d6aa820d32::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit86304f41e0559d2363e0934cd9f8f1bb
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit86304f41e0559d2363e0934cd9f8f1bb
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit86304f41e0559d2363e0934cd9f8f1bb', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit86304f41e0559d2363e0934cd9f8f1bb', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit86304f41e0559d2363e0934cd9f8f1bb
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire86304f41e0559d2363e0934cd9f8f1bb($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire86304f41e0559d2363e0934cd9f8f1bb($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit6cda1f35f0ed08e317ab83d6aa820d32
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit6cda1f35f0ed08e317ab83d6aa820d32', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit6cda1f35f0ed08e317ab83d6aa820d32', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire6cda1f35f0ed08e317ab83d6aa820d32($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire6cda1f35f0ed08e317ab83d6aa820d32($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;