Orbit Fox by ThemeIsle - Version 2.5.1

Version Description

  • 2018-07-02
Download this release

Release Info

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

Code changes from version 2.5.0 to 2.5.1

CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
 
 
 
 
 
 
2
  ### v2.5.0 - 2018-06-22
3
  **Changes:**
4
  * Adds privacy policy module, allows users to set a notice for their visitors.
1
 
2
+ ### v2.5.1 - 2018-07-02
3
+ **Changes:**
4
+ * Fix social icons saving bug.
5
+ * Fix z-index issue on policy notice.
6
+
7
  ### v2.5.0 - 2018-06-22
8
  **Changes:**
9
  * Adds privacy policy module, allows users to set a notice for their visitors.
core/assets/css/orbit-fox-admin.css CHANGED
@@ -8,7 +8,7 @@
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
- Version: 2.5.0
12
  */
13
 
14
  /* Document
@@ -3650,7 +3650,7 @@ html {
3650
  }
3651
 
3652
  .obfx-wrapper .panel.options.active {
3653
- max-height: 1000px;
3654
  }
3655
 
3656
  .obfx-wrapper .panel.options {
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
+ Version: 2.5.1
12
  */
13
 
14
  /* Document
3650
  }
3651
 
3652
  .obfx-wrapper .panel.options.active {
3653
+ max-height: 3000px;
3654
  }
3655
 
3656
  .obfx-wrapper .panel.options {
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.5.0';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
+ $this->version = '2.5.1';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
obfx_modules/image-cdn/init.php CHANGED
@@ -52,7 +52,7 @@ class Image_CDN_OBFX_Module extends Orbit_Fox_Module_Abstract {
52
  * @return bool
53
  */
54
  public function enable_module() {
55
- return ( $this->beta ) ? $this->is_lucky_user() : true;
56
  }
57
 
58
  /**
52
  * @return bool
53
  */
54
  public function enable_module() {
55
+ return ( $this->beta ) ? $this->is_lucky_user( 30 ) : true;
56
  }
57
 
58
  /**
obfx_modules/policy-notice/init.php CHANGED
@@ -240,6 +240,7 @@ class Policy_Notice_OBFX_Module extends Orbit_Fox_Module_Abstract {
240
  .obfx-cookie-bar {
241
  padding: 12px 25px;
242
  position: fixed;
 
243
  text-align: center;
244
  bottom: 0;
245
  left: 0;
240
  .obfx-cookie-bar {
241
  padding: 12px 25px;
242
  position: fixed;
243
+ z-index: 9999;
244
  text-align: center;
245
  bottom: 0;
246
  left: 0;
readme.md CHANGED
@@ -103,6 +103,12 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
103
  5. Social Sharing Module
104
 
105
  ## Changelog ##
 
 
 
 
 
 
106
  ### 2.5.0 - 2018-06-22 ###
107
 
108
  * Adds privacy policy module, allows users to set a notice for their visitors.
103
  5. Social Sharing Module
104
 
105
  ## Changelog ##
106
+ ### 2.5.1 - 2018-07-02 ###
107
+
108
+ * Fix social icons saving bug.
109
+ * Fix z-index issue on policy notice.
110
+
111
+
112
  ### 2.5.0 - 2018-06-22 ###
113
 
114
  * Adds privacy policy module, allows users to set a notice for their visitors.
readme.txt CHANGED
@@ -103,6 +103,12 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
103
  5. Social Sharing Module
104
 
105
  == Changelog ==
 
 
 
 
 
 
106
  = 2.5.0 - 2018-06-22 =
107
 
108
  * Adds privacy policy module, allows users to set a notice for their visitors.
103
  5. Social Sharing Module
104
 
105
  == Changelog ==
106
+ = 2.5.1 - 2018-07-02 =
107
+
108
+ * Fix social icons saving bug.
109
+ * Fix z-index issue on policy notice.
110
+
111
+
112
  = 2.5.0 - 2018-06-22 =
113
 
114
  * Adds privacy policy module, allows users to set a notice for their visitors.
themeisle-companion.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://orbitfox.com/
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
- * Version: 2.5.0
19
  * Author: Themeisle
20
  * Author URI: https://orbitfox.com/
21
  * License: GPL-2.0+
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://orbitfox.com/
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
+ * Version: 2.5.1
19
  * Author: Themeisle
20
  * Author URI: https://orbitfox.com/
21
  * License: GPL-2.0+
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"81f9e46a922320de89d1a8c5171be630","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
1
+ {"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"2e8ebcfc26648c3506f1350325e9c04d","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitef776c7a9adba0d3d6ce2273f046d008::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit8ec3ebe3a4697e872d5b94a8cb45422e::getLoader();
vendor/codeinwp/themeisle-content-forms/class-themeisle-content-forms-elementor.php CHANGED
@@ -90,6 +90,39 @@ class ElementorWidget extends \Elementor\Widget_Base {
90
  }
91
  }
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }
94
 
95
  protected function _register_settings_controls() {
@@ -120,6 +153,8 @@ class ElementorWidget extends \Elementor\Widget_Base {
120
  );
121
  }
122
 
 
 
123
  $this->end_controls_section();
124
  }
125
 
@@ -252,13 +287,13 @@ class ElementorWidget extends \Elementor\Widget_Base {
252
  $control_value = $settings[ $control_name ];
253
  }
254
  if ( isset( $control['required'] ) && $control['required'] && empty( $control_value ) ) { ?>
255
- <div class="content-forms-required">
256
  <?php
257
  printf(
258
  esc_html__( 'The %s setting is required!', 'themeisle-companion' ),
259
  '<strong>' . $control['label'] . '</strong>'
260
  ); ?>
261
- </div>
262
  <?php
263
  }
264
  }
@@ -274,11 +309,11 @@ class ElementorWidget extends \Elementor\Widget_Base {
274
  if ( ! empty( $controls['submit_label'] ) ) {
275
  $btn_label = $this->get_settings( 'submit_label' );
276
  } ?>
277
- <fieldset>
278
- <button type="submit" name="submit" value="submit-<?php echo $this->form_type; ?>-<?php echo $form_id; ?>">
279
  <?php echo $btn_label; ?>
280
- </button>
281
- </fieldset>
282
  <?php
283
 
284
  $this->render_form_footer();
@@ -290,9 +325,9 @@ class ElementorWidget extends \Elementor\Widget_Base {
290
  */
291
  protected function maybe_load_widget_style() {
292
  if ( \Elementor\Plugin::$instance->editor->is_edit_mode() === true && apply_filters( 'themeisle_content_forms_register_default_style', true ) ) { ?>
293
- <style>
294
- <?php echo file_get_contents( plugin_dir_path( __FILE__ ) . '/assets/content-forms.css' ) ?>
295
- </style>
296
  <?php
297
  } else {
298
  // if `themeisle_content_forms_register_default_style` is false, the style won't be registered anyway
@@ -358,34 +393,34 @@ class ElementorWidget extends \Elementor\Widget_Base {
358
  $field_name = 'data[' . $form_id . '][' . $key . ']';
359
 
360
  $this->add_inline_editing_attributes( $item_index . '_label', 'none' ); ?>
361
- <fieldset class="content-form-field-<?php echo $field['type'] ?>"
362
  <?php echo $this->get_render_attribute_string( 'fieldset' . $item_index ); ?> >
363
 
364
- <label for="<?php echo $field_name ?>"
365
  <?php echo $this->get_render_attribute_string( 'label' . $item_index ); ?>>
366
  <?php echo $field['label']; ?>
367
- </label>
368
 
369
  <?php
370
  switch ( $field['type'] ) {
371
  case 'textarea': ?>
372
- <textarea name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
373
  <?php echo $disabled; ?>
374
  <?php echo $required; ?>
375
- placeholder="<?php echo esc_attr ( $placeholder ); ?>"
376
- cols="30" rows="5"></textarea>
377
  <?php break;
378
  case 'password': ?>
379
- <input type="password" name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
380
  <?php echo $required; ?> <?php echo $disabled; ?>>
381
  <?php break;
382
  default: ?>
383
- <input type="text" name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
384
  <?php echo $required; ?> <?php echo $disabled; ?> placeholder="<?php echo esc_attr ( $placeholder ); ?>">
385
  <?php
386
  break;
387
  } ?>
388
- </fieldset>
389
  <?php
390
  }
391
 
90
  }
91
  }
92
 
93
+
94
+ }
95
+
96
+ /**
97
+ * Add alignment control for button
98
+ */
99
+ protected function add_submit_button_align() {
100
+ $this->add_responsive_control(
101
+ 'align_submit',
102
+ [
103
+ 'label' => __( 'Alignment', 'themeisle-companion' ),
104
+ 'type' => \Elementor\Controls_Manager::CHOOSE,
105
+ 'toggle' => false,
106
+ 'default' => 'left',
107
+ 'options' => [
108
+ 'left' => [
109
+ 'title' => __( 'Left', 'themeisle-companion' ),
110
+ 'icon' => 'fa fa-align-left',
111
+ ],
112
+ 'center' => [
113
+ 'title' => __( 'Center', 'themeisle-companion' ),
114
+ 'icon' => 'fa fa-align-center',
115
+ ],
116
+ 'right' => [
117
+ 'title' => __( 'Right', 'themeisle-companion' ),
118
+ 'icon' => 'fa fa-align-right',
119
+ ],
120
+ ],
121
+ 'selectors' => [
122
+ '{{WRAPPER}} .content-form .submit-form' => 'text-align: {{VALUE}};',
123
+ ],
124
+ ]
125
+ );
126
  }
127
 
128
  protected function _register_settings_controls() {
153
  );
154
  }
155
 
156
+ $this->add_submit_button_align();
157
+
158
  $this->end_controls_section();
159
  }
160
 
287
  $control_value = $settings[ $control_name ];
288
  }
289
  if ( isset( $control['required'] ) && $control['required'] && empty( $control_value ) ) { ?>
290
+ <div class="content-forms-required">
291
  <?php
292
  printf(
293
  esc_html__( 'The %s setting is required!', 'themeisle-companion' ),
294
  '<strong>' . $control['label'] . '</strong>'
295
  ); ?>
296
+ </div>
297
  <?php
298
  }
299
  }
309
  if ( ! empty( $controls['submit_label'] ) ) {
310
  $btn_label = $this->get_settings( 'submit_label' );
311
  } ?>
312
+ <fieldset class="submit-form">
313
+ <button type="submit" name="submit" value="submit-<?php echo $this->form_type; ?>-<?php echo $form_id; ?>">
314
  <?php echo $btn_label; ?>
315
+ </button>
316
+ </fieldset>
317
  <?php
318
 
319
  $this->render_form_footer();
325
  */
326
  protected function maybe_load_widget_style() {
327
  if ( \Elementor\Plugin::$instance->editor->is_edit_mode() === true && apply_filters( 'themeisle_content_forms_register_default_style', true ) ) { ?>
328
+ <style>
329
+ <?php echo file_get_contents( plugin_dir_path( __FILE__ ) . '/assets/content-forms.css' ) ?>
330
+ </style>
331
  <?php
332
  } else {
333
  // if `themeisle_content_forms_register_default_style` is false, the style won't be registered anyway
393
  $field_name = 'data[' . $form_id . '][' . $key . ']';
394
 
395
  $this->add_inline_editing_attributes( $item_index . '_label', 'none' ); ?>
396
+ <fieldset class="content-form-field-<?php echo $field['type'] ?>"
397
  <?php echo $this->get_render_attribute_string( 'fieldset' . $item_index ); ?> >
398
 
399
+ <label for="<?php echo $field_name ?>"
400
  <?php echo $this->get_render_attribute_string( 'label' . $item_index ); ?>>
401
  <?php echo $field['label']; ?>
402
+ </label>
403
 
404
  <?php
405
  switch ( $field['type'] ) {
406
  case 'textarea': ?>
407
+ <textarea name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
408
  <?php echo $disabled; ?>
409
  <?php echo $required; ?>
410
+ placeholder="<?php echo esc_attr ( $placeholder ); ?>"
411
+ cols="30" rows="5"></textarea>
412
  <?php break;
413
  case 'password': ?>
414
+ <input type="password" name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
415
  <?php echo $required; ?> <?php echo $disabled; ?>>
416
  <?php break;
417
  default: ?>
418
+ <input type="text" name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
419
  <?php echo $required; ?> <?php echo $disabled; ?> placeholder="<?php echo esc_attr ( $placeholder ); ?>">
420
  <?php
421
  break;
422
  } ?>
423
+ </fieldset>
424
  <?php
425
  }
426
 
vendor/codeinwp/themeisle-content-forms/composer.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "codeinwp/themeisle-content-forms",
3
- "version": "1.0.2",
4
  "description": "ThemeIsle Content Forms ",
5
  "keywords": [
6
  "wordpress"
1
  {
2
  "name": "codeinwp/themeisle-content-forms",
3
+ "version": "1.0.3",
4
  "description": "ThemeIsle Content Forms ",
5
  "keywords": [
6
  "wordpress"
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php CHANGED
@@ -579,6 +579,9 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
579
  set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
580
  }
581
  }
 
 
 
582
  if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
583
  return false;
584
  }
579
  set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
580
  }
581
  }
582
+ if ( ! isset( $update_data->new_version ) ) {
583
+ return false;
584
+ }
585
  if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
586
  return false;
587
  }
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '2.2.5';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
11
  */
12
 
13
  // Current SDK version and path.
14
+ $themeisle_sdk_version = '2.2.6';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitef776c7a9adba0d3d6ce2273f046d008
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitef776c7a9adba0d3d6ce2273f046d008
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitef776c7a9adba0d3d6ce2273f046d008', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitef776c7a9adba0d3d6ce2273f046d008', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInitef776c7a9adba0d3d6ce2273f046d008
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequireef776c7a9adba0d3d6ce2273f046d008($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequireef776c7a9adba0d3d6ce2273f046d008($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 ComposerAutoloaderInit8ec3ebe3a4697e872d5b94a8cb45422e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit8ec3ebe3a4697e872d5b94a8cb45422e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit8ec3ebe3a4697e872d5b94a8cb45422e', '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
+ composerRequire8ec3ebe3a4697e872d5b94a8cb45422e($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire8ec3ebe3a4697e872d5b94a8cb45422e($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -6,15 +6,15 @@
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
- "reference": "33d470402379047bc430c39ecab9a8a4a850d0d2"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/33d470402379047bc430c39ecab9a8a4a850d0d2",
14
- "reference": "33d470402379047bc430c39ecab9a8a4a850d0d2",
15
  "shasum": ""
16
  },
17
- "time": "2018-06-06 14:49:32",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
@@ -159,15 +159,15 @@
159
  "source": {
160
  "type": "git",
161
  "url": "https://github.com/Codeinwp/themeisle-content-forms.git",
162
- "reference": "41bc455814a993ce17baa5f23d1d02edd3503ccf"
163
  },
164
  "dist": {
165
  "type": "zip",
166
- "url": "https://api.github.com/repos/Codeinwp/themeisle-content-forms/zipball/41bc455814a993ce17baa5f23d1d02edd3503ccf",
167
- "reference": "41bc455814a993ce17baa5f23d1d02edd3503ccf",
168
  "shasum": ""
169
  },
170
- "time": "2018-06-19 13:14:27",
171
  "type": "library",
172
  "installation-source": "dist",
173
  "autoload": {
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
+ "reference": "56c6a769b08f0559e5085937e40409fb04b7a166"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/56c6a769b08f0559e5085937e40409fb04b7a166",
14
+ "reference": "56c6a769b08f0559e5085937e40409fb04b7a166",
15
  "shasum": ""
16
  },
17
+ "time": "2018-06-28 13:22:23",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
159
  "source": {
160
  "type": "git",
161
  "url": "https://github.com/Codeinwp/themeisle-content-forms.git",
162
+ "reference": "c8467927295b3e63f94cae2b19eac37b98dba87e"
163
  },
164
  "dist": {
165
  "type": "zip",
166
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-content-forms/zipball/c8467927295b3e63f94cae2b19eac37b98dba87e",
167
+ "reference": "c8467927295b3e63f94cae2b19eac37b98dba87e",
168
  "shasum": ""
169
  },
170
+ "time": "2018-06-28 10:49:56",
171
  "type": "library",
172
  "installation-source": "dist",
173
  "autoload": {