Orbit Fox by ThemeIsle - Version 2.5.2

Version Description

  • 2018-07-06
Download this release

Release Info

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

Code changes from version 2.5.1 to 2.5.2

CHANGELOG.md CHANGED
@@ -1,4 +1,14 @@
1
 
 
 
 
 
 
 
 
 
 
 
2
  ### v2.5.1 - 2018-07-02
3
  **Changes:**
4
  * Fix social icons saving bug.
1
 
2
+ ### v2.5.2 - 2018-07-06
3
+ **Changes:**
4
+ * Fixes post grid pagination issue
5
+ * Fixes post grid colors not applying correctly
6
+ * Fixes Templates directory import issue
7
+ * New templates in the templates directory
8
+ * Fixes content forms placeholder not used
9
+ * Fixes for Hestia Theme enhancements module
10
+ * Fixes issue where url's were replaced with CDN url for beta users
11
+
12
  ### v2.5.1 - 2018-07-02
13
  **Changes:**
14
  * Fix social icons saving bug.
core/assets/css/orbit-fox-admin.css CHANGED
@@ -8,7 +8,7 @@
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
- Version: 2.5.1
12
  */
13
 
14
  /* Document
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
+ Version: 2.5.2
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.5.1';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
+ $this->version = '2.5.2';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
obfx_modules/companion-legacy/assets/css/hestia/clients-bar.css ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .hestia-clients-bar {
2
+ padding: 70px 0;
3
+ }
4
+ .hestia-clients-bar .clients-bar-wrapper {
5
+ list-style-type: none;
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+ .hestia-clients-bar .clients-bar-wrapper li {
10
+ display: inline-block;
11
+ margin: 25px;
12
+ vertical-align: middle;
13
+ }
14
+ .hestia-clients-bar .clients-bar-wrapper li a {
15
+ display: block;
16
+ padding: 5px;
17
+ }
18
+ .hestia-clients-bar .clients-bar-wrapper li img {
19
+ max-width: 100%;
20
+ height: auto;
21
+ }
22
+
23
+ .hestia-clients-bar .row > div {
24
+ padding: 30px;
25
+ }
obfx_modules/companion-legacy/inc/hestia/common-functions.php CHANGED
@@ -6,6 +6,12 @@
6
  * @package themeisle-companion
7
  */
8
 
 
 
 
 
 
 
9
 
10
  /**
11
  * Add default content to clients section;
6
  * @package themeisle-companion
7
  */
8
 
9
+ /**
10
+ * Change default alignment for top bar.
11
+ */
12
+ function themeisle_hestia_top_bar_default_alignment(){
13
+ return 'left';
14
+ }
15
 
16
  /**
17
  * Add default content to clients section;
obfx_modules/companion-legacy/inc/hestia/functions.php CHANGED
@@ -111,3 +111,12 @@ function themeisle_hestia_create_page( $slug, $page_title ) {
111
  }
112
  return $page_id;
113
  }
 
 
 
 
 
 
 
 
 
111
  }
112
  return $page_id;
113
  }
114
+
115
+ /**
116
+ * Enqueue style for clients bar to make sure that style doesn't brake after removing bootstrap on this section.
117
+ * Note: this can be deleted in a future version. It's just for maintaining compatibility, if user updates plugin but
118
+ * not the theme.
119
+ */
120
+ function themeisle_hestia_enqueue_clients_style(){
121
+ wp_enqueue_style( 'hestia-clients-bar', trailingslashit( THEMEISLE_COMPANION_URL ) . 'assets/css/hestia/clients-bar.css' );
122
+ }
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-clients-bar-section.php CHANGED
@@ -57,7 +57,7 @@ if ( ! function_exists( 'hestia_clients_bar' ) ) :
57
  hestia_clients_bar_section_content_trigger();
58
  }
59
  ?>
60
- <div class="row" <?php echo hestia_add_animationation( 'fade-up' ); ?>>
61
  <?php
62
  if ( ! empty( $hestia_clients_bar_content_decoded ) ) {
63
  foreach ( $hestia_clients_bar_content_decoded as $client ) {
@@ -71,7 +71,7 @@ if ( ! function_exists( 'hestia_clients_bar' ) ) :
71
  }
72
 
73
  if ( ! empty( $image ) ) {
74
- echo '<div class="col-md-3">';
75
  if ( ! empty( $link ) ) {
76
  $link_html = '<a href="' . esc_url( $link ) . '"';
77
  if ( function_exists( 'hestia_is_external_url' ) ) {
@@ -84,12 +84,12 @@ if ( ! function_exists( 'hestia_clients_bar' ) ) :
84
  if ( ! empty( $link ) ) {
85
  echo '</a>';
86
  }
87
- echo '</div>';
88
  }
89
  }
90
  }
91
  ?>
92
- </div>
93
  </div>
94
  </section>
95
  <?php
57
  hestia_clients_bar_section_content_trigger();
58
  }
59
  ?>
60
+ <ul class="clients-bar-wrapper" <?php echo hestia_add_animationation( 'fade-up' ); ?>>
61
  <?php
62
  if ( ! empty( $hestia_clients_bar_content_decoded ) ) {
63
  foreach ( $hestia_clients_bar_content_decoded as $client ) {
71
  }
72
 
73
  if ( ! empty( $image ) ) {
74
+ echo '<li class="clients-bar-item">';
75
  if ( ! empty( $link ) ) {
76
  $link_html = '<a href="' . esc_url( $link ) . '"';
77
  if ( function_exists( 'hestia_is_external_url' ) ) {
84
  if ( ! empty( $link ) ) {
85
  echo '</a>';
86
  }
87
+ echo '</li>';
88
  }
89
  }
90
  }
91
  ?>
92
+ </ul>
93
  </div>
94
  </section>
95
  <?php
obfx_modules/companion-legacy/init.php CHANGED
@@ -320,6 +320,24 @@ class Companion_Legacy_OBFX_Module extends Orbit_Fox_Module_Abstract {
320
  return themeisle_hestia_clients_default_content();
321
  }
322
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
 
324
  /**
325
  * Wrapper method for themeisle_hestia_load_controls function call.
@@ -412,7 +430,9 @@ class Companion_Legacy_OBFX_Module extends Orbit_Fox_Module_Abstract {
412
  if ( $this->is_hestia() ) {
413
  $this->loader->add_action( 'after_setup_theme', $this, 'hestia_require' );
414
  $this->loader->add_action( 'after_setup_theme', $this, 'hestia_fix_duplicate_widgets' );
 
415
  $this->loader->add_filter( 'hestia_clients_bar_default_content', $this, 'hestia_load_clients_default_content' );
 
416
  $this->loader->add_action( 'customize_register', $this, 'hestia_require_customizer', 0 );
417
  $this->loader->add_action( 'after_switch_theme', $this, 'hestia_set_front_page' );
418
  }
@@ -420,6 +440,7 @@ class Companion_Legacy_OBFX_Module extends Orbit_Fox_Module_Abstract {
420
  if ( $this->is_hestia_pro() ) {
421
  $this->loader->add_action( 'after_setup_theme', $this, 'hestia_fix_duplicate_widgets' );
422
  $this->loader->add_filter( 'hestia_clients_bar_default_content', $this, 'hestia_load_clients_default_content' );
 
423
  }
424
 
425
  if( $this->is_shop_isle() ) {
320
  return themeisle_hestia_clients_default_content();
321
  }
322
 
323
+ /**
324
+ * Wrapper method for themeisle_hestia_enqueue_clients_style function call.
325
+ *
326
+ * @access public
327
+ */
328
+ public function hestia_enqueue_clients_style(){
329
+ themeisle_hestia_enqueue_clients_style();
330
+ }
331
+
332
+ /**
333
+ * Wrapper method for themeisle_hestia_top_bar_default_alignment function call.
334
+ *
335
+ * @since 2.1.1
336
+ * @access public
337
+ */
338
+ public function hestia_top_bar_default_alignment(){
339
+ return themeisle_hestia_top_bar_default_alignment();
340
+ }
341
 
342
  /**
343
  * Wrapper method for themeisle_hestia_load_controls function call.
430
  if ( $this->is_hestia() ) {
431
  $this->loader->add_action( 'after_setup_theme', $this, 'hestia_require' );
432
  $this->loader->add_action( 'after_setup_theme', $this, 'hestia_fix_duplicate_widgets' );
433
+ $this->loader->add_action( 'wp_enqueue_scripts', $this, 'hestia_enqueue_clients_style' );
434
  $this->loader->add_filter( 'hestia_clients_bar_default_content', $this, 'hestia_load_clients_default_content' );
435
+ $this->loader->add_filter( 'hestia_top_bar_alignment_default', $this, 'hestia_top_bar_default_alignment' );
436
  $this->loader->add_action( 'customize_register', $this, 'hestia_require_customizer', 0 );
437
  $this->loader->add_action( 'after_switch_theme', $this, 'hestia_set_front_page' );
438
  }
440
  if ( $this->is_hestia_pro() ) {
441
  $this->loader->add_action( 'after_setup_theme', $this, 'hestia_fix_duplicate_widgets' );
442
  $this->loader->add_filter( 'hestia_clients_bar_default_content', $this, 'hestia_load_clients_default_content' );
443
+ $this->loader->add_filter( 'hestia_top_bar_alignment_default', $this, 'hestia_top_bar_default_alignment' );
444
  }
445
 
446
  if( $this->is_shop_isle() ) {
obfx_modules/image-cdn/inc/class-orbit-fox-image-replacer.php CHANGED
@@ -305,6 +305,18 @@ class Image_CDN_Replacer {
305
  * @return string
306
  */
307
  protected function get_imgcdn_url( $url, $args = array( 'width' => 'auto', 'height' => 'auto' ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
308
  // not used yet.
309
  $compress_level = 55;
310
  // this will authorize the image
305
  * @return string
306
  */
307
  protected function get_imgcdn_url( $url, $args = array( 'width' => 'auto', 'height' => 'auto' ) ) {
308
+
309
+ $mimes = array(
310
+ 'jpg|jpeg|jpe' => 'image/jpeg',
311
+ 'png' => 'image/png',
312
+ 'webp' => 'image/webp',
313
+ );
314
+
315
+ $type = wp_check_filetype( $url, $mimes );
316
+
317
+ if ( ! isset( $type['ext'] ) || empty( $type['ext'] ) ) {
318
+ return $url;
319
+ }
320
  // not used yet.
321
  $compress_level = 55;
322
  // this will authorize the image
readme.md CHANGED
@@ -103,6 +103,17 @@ 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.1 - 2018-07-02 ###
107
 
108
  * Fix social icons saving bug.
103
  5. Social Sharing Module
104
 
105
  ## Changelog ##
106
+ ### 2.5.2 - 2018-07-06 ###
107
+
108
+ * Fixes post grid pagination issue
109
+ * Fixes post grid colors not applying correctly
110
+ * Fixes Templates directory import issue
111
+ * New templates in the templates directory
112
+ * Fixes content forms placeholder not used
113
+ * Fixes for Hestia Theme enhancements module
114
+ * Fixes issue where url's were replaced with CDN url for beta users
115
+
116
+
117
  ### 2.5.1 - 2018-07-02 ###
118
 
119
  * Fix social icons saving bug.
readme.txt CHANGED
@@ -103,6 +103,17 @@ 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.1 - 2018-07-02 =
107
 
108
  * Fix social icons saving bug.
103
  5. Social Sharing Module
104
 
105
  == Changelog ==
106
+ = 2.5.2 - 2018-07-06 =
107
+
108
+ * Fixes post grid pagination issue
109
+ * Fixes post grid colors not applying correctly
110
+ * Fixes Templates directory import issue
111
+ * New templates in the templates directory
112
+ * Fixes content forms placeholder not used
113
+ * Fixes for Hestia Theme enhancements module
114
+ * Fixes issue where url's were replaced with CDN url for beta users
115
+
116
+
117
  = 2.5.1 - 2018-07-02 =
118
 
119
  * Fix social icons saving bug.
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.1
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.2
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":"2e8ebcfc26648c3506f1350325e9c04d","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
1
+ {"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"737a31570ff2f6d389830cb37100b06b","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit8ec3ebe3a4697e872d5b94a8cb45422e::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit4750015d706ad06c4bd026d62914b020::getLoader();
vendor/codeinwp/elementor-extra-widgets/widgets/elementor/posts-grid.php CHANGED
@@ -1422,7 +1422,10 @@ class Posts_Grid extends \Elementor\Widget_Base {
1422
 
1423
  // Pagination.
1424
  if ( ! empty( $settings['grid_pagination'] ) ) {
1425
- $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
 
 
 
1426
  $args['paged'] = $paged;
1427
  }
1428
 
1422
 
1423
  // Pagination.
1424
  if ( ! empty( $settings['grid_pagination'] ) ) {
1425
+ $paged = get_query_var( 'paged' );
1426
+ if ( empty( $paged ) ) {
1427
+ $paged = get_query_var( 'page' );
1428
+ }
1429
  $args['paged'] = $paged;
1430
  }
1431
 
vendor/codeinwp/templates-directory/class-page-templates-directory.php CHANGED
@@ -14,7 +14,7 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
14
  * The version of this library
15
  * @var string
16
  */
17
- public static $version = '1.0.3';
18
 
19
  /**
20
  * Holds the module slug.
@@ -329,9 +329,10 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
329
  require_once( ABSPATH . 'wp-admin' . '/includes/image.php' );
330
 
331
  $template = download_url( esc_url( $_POST['template_url'] ) );
 
332
  $_FILES['file']['tmp_name'] = $template;
333
  $elementor = new \Elementor\TemplateLibrary\Source_Local;
334
- $elementor->import_template();
335
  unlink( $template );
336
 
337
  $args = array(
14
  * The version of this library
15
  * @var string
16
  */
17
+ public static $version = '1.0.4';
18
 
19
  /**
20
  * Holds the module slug.
329
  require_once( ABSPATH . 'wp-admin' . '/includes/image.php' );
330
 
331
  $template = download_url( esc_url( $_POST['template_url'] ) );
332
+ $name = $_POST['template_name'];
333
  $_FILES['file']['tmp_name'] = $template;
334
  $elementor = new \Elementor\TemplateLibrary\Source_Local;
335
+ $elementor->import_template( $name, $template );
336
  unlink( $template );
337
 
338
  $args = array(
vendor/codeinwp/templates-directory/composer.json CHANGED
@@ -2,7 +2,7 @@
2
  "name": "codeinwp/templates-directory",
3
  "description": "A WordPress library to manage page templates.",
4
  "type": "library",
5
- "version": "1.0.3",
6
  "license": "GPL-2.0-or-later",
7
  "homepage": "https://github.com/Codeinwp/templates-directory",
8
  "authors": [
2
  "name": "codeinwp/templates-directory",
3
  "description": "A WordPress library to manage page templates.",
4
  "type": "library",
5
+ "version": "1.0.4",
6
  "license": "GPL-2.0-or-later",
7
  "homepage": "https://github.com/Codeinwp/templates-directory",
8
  "authors": [
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit8ec3ebe3a4697e872d5b94a8cb45422e
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit8ec3ebe3a4697e872d5b94a8cb45422e
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,14 +42,14 @@ class ComposerAutoloaderInit8ec3ebe3a4697e872d5b94a8cb45422e
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;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit4750015d706ad06c4bd026d62914b020
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit4750015d706ad06c4bd026d62914b020', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit4750015d706ad06c4bd026d62914b020', '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
+ composerRequire4750015d706ad06c4bd026d62914b020($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire4750015d706ad06c4bd026d62914b020($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -46,15 +46,15 @@
46
  "source": {
47
  "type": "git",
48
  "url": "https://github.com/Codeinwp/elementor-extra-widgets.git",
49
- "reference": "4169cc53dc84502d85ea43c52b1ea255b699b6d5"
50
  },
51
  "dist": {
52
  "type": "zip",
53
- "url": "https://api.github.com/repos/Codeinwp/elementor-extra-widgets/zipball/4169cc53dc84502d85ea43c52b1ea255b699b6d5",
54
- "reference": "4169cc53dc84502d85ea43c52b1ea255b699b6d5",
55
  "shasum": ""
56
  },
57
- "time": "2018-06-19 11:53:09",
58
  "type": "library",
59
  "installation-source": "dist",
60
  "autoload": {
@@ -119,18 +119,18 @@
119
  "source": {
120
  "type": "git",
121
  "url": "https://github.com/Codeinwp/templates-directory.git",
122
- "reference": "a13b7ddfaa636085e3ad167440c2b0b4c9ab0605"
123
  },
124
  "dist": {
125
  "type": "zip",
126
- "url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/a13b7ddfaa636085e3ad167440c2b0b4c9ab0605",
127
- "reference": "a13b7ddfaa636085e3ad167440c2b0b4c9ab0605",
128
  "shasum": ""
129
  },
130
  "require": {
131
  "codeinwp/full-width-page-templates": "master"
132
  },
133
- "time": "2018-06-21 14:36:16",
134
  "type": "library",
135
  "installation-source": "dist",
136
  "autoload": {
46
  "source": {
47
  "type": "git",
48
  "url": "https://github.com/Codeinwp/elementor-extra-widgets.git",
49
+ "reference": "27e237afcb6396c21b15217fe6f96ce84cb62368"
50
  },
51
  "dist": {
52
  "type": "zip",
53
+ "url": "https://api.github.com/repos/Codeinwp/elementor-extra-widgets/zipball/27e237afcb6396c21b15217fe6f96ce84cb62368",
54
+ "reference": "27e237afcb6396c21b15217fe6f96ce84cb62368",
55
  "shasum": ""
56
  },
57
+ "time": "2018-07-06 11:23:31",
58
  "type": "library",
59
  "installation-source": "dist",
60
  "autoload": {
119
  "source": {
120
  "type": "git",
121
  "url": "https://github.com/Codeinwp/templates-directory.git",
122
+ "reference": "b8ae48d4fa49aa5383f37613f20c653cdb5810e9"
123
  },
124
  "dist": {
125
  "type": "zip",
126
+ "url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/b8ae48d4fa49aa5383f37613f20c653cdb5810e9",
127
+ "reference": "b8ae48d4fa49aa5383f37613f20c653cdb5810e9",
128
  "shasum": ""
129
  },
130
  "require": {
131
  "codeinwp/full-width-page-templates": "master"
132
  },
133
+ "time": "2018-07-03 11:37:41",
134
  "type": "library",
135
  "installation-source": "dist",
136
  "autoload": {