Version Description
- 2018-11-26
Download this release
Release Info
| Developer | codeinwp |
| Plugin | |
| Version | 2.7.0 |
| Comparing to | |
| See all releases | |
Code changes from version 2.6.4 to 2.7.0
- CHANGELOG.md +7 -0
- core/app/views/partials/module-tile-tpl.php +4 -2
- core/assets/css/orbit-fox-admin.css +11 -1
- core/assets/js/orbit-fox-admin.js +2 -1
- core/includes/class-orbit-fox-neve-dropin.php +161 -0
- core/includes/class-orbit-fox.php +42 -27
- obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php +9 -5
- obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php +21 -17
- obfx_modules/policy-notice/init.php +11 -12
- readme.md +8 -0
- readme.txt +8 -0
- themeisle-companion.php +1 -2
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php +3 -3
- vendor/codeinwp/themeisle-sdk/load.php +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +4 -4
CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
### v2.6.4 - 2018-11-12
|
| 3 |
**Changes:**
|
| 4 |
* Fix issue with elementor content forms php notice
|
| 1 |
|
| 2 |
+
### v2.7.0 - 2018-11-26
|
| 3 |
+
**Changes:**
|
| 4 |
+
* Fix small typo on the module activation button.
|
| 5 |
+
* Improves compatibility with Hestia Theme.
|
| 6 |
+
* Adds compatibility for Neve theme.
|
| 7 |
+
* Fix translation text for Agree button in Cookie notice.
|
| 8 |
+
|
| 9 |
### v2.6.4 - 2018-11-12
|
| 10 |
**Changes:**
|
| 11 |
* Fix issue with elementor content forms php notice
|
core/app/views/partials/module-tile-tpl.php
CHANGED
|
@@ -60,10 +60,12 @@ $noance = wp_create_nonce( 'obfx_activate_mod_' . $slug );
|
|
| 60 |
</div>
|
| 61 |
<div class="tile-action">
|
| 62 |
<div class="form-group">
|
| 63 |
-
<label class="form-switch">
|
| 64 |
<input class="<?php echo esc_attr( $toggle_class ); ?>" type="checkbox" name="<?php echo $slug; ?>"
|
| 65 |
value="<?php echo $noance; ?>" <?php echo $checked; ?> >
|
| 66 |
-
<i class="form-icon"></i
|
|
|
|
|
|
|
| 67 |
|
| 68 |
</label>
|
| 69 |
<?php if ( $beta ) { ?>
|
| 60 |
</div>
|
| 61 |
<div class="tile-action">
|
| 62 |
<div class="form-group">
|
| 63 |
+
<label class="form-switch <?php echo empty( $checked ) ? '' : 'activated'; ?>">
|
| 64 |
<input class="<?php echo esc_attr( $toggle_class ); ?>" type="checkbox" name="<?php echo $slug; ?>"
|
| 65 |
value="<?php echo $noance; ?>" <?php echo $checked; ?> >
|
| 66 |
+
<i class="form-icon"></i>
|
| 67 |
+
<span class="inactive"><?php echo __( 'Activate', 'themeisle-companion' ); ?></span>
|
| 68 |
+
<i class="dashicons dashicons-yes"></i>
|
| 69 |
|
| 70 |
</label>
|
| 71 |
<?php if ( $beta ) { ?>
|
core/assets/css/orbit-fox-admin.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
* Extends Spectre.css Library
|
| 9 |
*/
|
| 10 |
/*
|
| 11 |
-
Version: 2.
|
| 12 |
*/
|
| 13 |
|
| 14 |
/* Document
|
|
@@ -3377,6 +3377,16 @@ html {
|
|
| 3377 |
animation: loading 500ms infinite linear;
|
| 3378 |
}
|
| 3379 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3380 |
.obfx-wrapper .clearfix::after,
|
| 3381 |
.obfx-wrapper .container::after {
|
| 3382 |
display: table;
|
| 8 |
* Extends Spectre.css Library
|
| 9 |
*/
|
| 10 |
/*
|
| 11 |
+
Version: 2.7.0
|
| 12 |
*/
|
| 13 |
|
| 14 |
/* Document
|
| 3377 |
animation: loading 500ms infinite linear;
|
| 3378 |
}
|
| 3379 |
|
| 3380 |
+
.obfx-wrapper .form-switch.activated span.inactive,
|
| 3381 |
+
.obfx-wrapper .form-switch i.dashicons.dashicons-yes {
|
| 3382 |
+
display: none;
|
| 3383 |
+
}
|
| 3384 |
+
|
| 3385 |
+
.obfx-wrapper .form-switch.activated i.dashicons.dashicons-yes {
|
| 3386 |
+
display: block;
|
| 3387 |
+
color: #2faa3f;
|
| 3388 |
+
}
|
| 3389 |
+
|
| 3390 |
.obfx-wrapper .clearfix::after,
|
| 3391 |
.obfx-wrapper .container::after {
|
| 3392 |
display: table;
|
core/assets/js/orbit-fox-admin.js
CHANGED
|
@@ -65,7 +65,7 @@ var obfx_admin = function ( $ ) {
|
|
| 65 |
var name = switch_ref.attr( 'name' );
|
| 66 |
var noance = switch_ref.val();
|
| 67 |
var formSwitch = $( switch_ref ).parent();
|
| 68 |
-
$( formSwitch ).addClass( 'loading' );
|
| 69 |
if ( $( this ).hasClass( 'obfx-mod-confirm-intent' ) ) {
|
| 70 |
var modal = $( '.modal#' + name );
|
| 71 |
}
|
|
@@ -88,6 +88,7 @@ var obfx_admin = function ( $ ) {
|
|
| 88 |
if ( response.type === 'success' ) {
|
| 89 |
var modulePanel = $( '#obfx-mod-' + name );
|
| 90 |
if ( checked ) {
|
|
|
|
| 91 |
$( modulePanel ).find( 'fieldset' ).removeAttr( 'disabled' );
|
| 92 |
$( modulePanel ).show();
|
| 93 |
if ( modal ) {
|
| 65 |
var name = switch_ref.attr( 'name' );
|
| 66 |
var noance = switch_ref.val();
|
| 67 |
var formSwitch = $( switch_ref ).parent();
|
| 68 |
+
$( formSwitch ).addClass( 'loading' ).removeClass( 'activated' );
|
| 69 |
if ( $( this ).hasClass( 'obfx-mod-confirm-intent' ) ) {
|
| 70 |
var modal = $( '.modal#' + name );
|
| 71 |
}
|
| 88 |
if ( response.type === 'success' ) {
|
| 89 |
var modulePanel = $( '#obfx-mod-' + name );
|
| 90 |
if ( checked ) {
|
| 91 |
+
formSwitch.addClass( 'activated' );
|
| 92 |
$( modulePanel ).find( 'fieldset' ).removeAttr( 'disabled' );
|
| 93 |
$( modulePanel ).show();
|
| 94 |
if ( modal ) {
|
core/includes/class-orbit-fox-neve-dropin.php
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
*
|
| 4 |
+
* Drop-in file for neve recommendation.
|
| 5 |
+
*/
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* Class Droping for Neve recommandation.
|
| 9 |
+
*/
|
| 10 |
+
class Orbit_Fox_Neve_Dropin {
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* How long the notice will show since the user sees it.
|
| 14 |
+
*
|
| 15 |
+
* @var string Dismiss option key.
|
| 16 |
+
*/
|
| 17 |
+
const EXPIRATION = WEEK_IN_SECONDS;
|
| 18 |
+
/**
|
| 19 |
+
* Singleton object.
|
| 20 |
+
*
|
| 21 |
+
* @var null Instance object.
|
| 22 |
+
*/
|
| 23 |
+
protected static $instance = null;
|
| 24 |
+
/**
|
| 25 |
+
* Dismiss option key.
|
| 26 |
+
*
|
| 27 |
+
* @var string Dismiss option key.
|
| 28 |
+
*/
|
| 29 |
+
protected static $dismiss_key = 'neve_upsell_off';
|
| 30 |
+
|
| 31 |
+
/**
|
| 32 |
+
* Init the OrbitFox instance.
|
| 33 |
+
*
|
| 34 |
+
* @return Orbit_Fox_Neve_Dropin|null
|
| 35 |
+
*/
|
| 36 |
+
public static function instance() {
|
| 37 |
+
if ( is_null( self::$instance ) ) {
|
| 38 |
+
self::$instance = new self();
|
| 39 |
+
self::$instance->init();
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
return self::$instance;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
/**
|
| 46 |
+
* Drop-in actions
|
| 47 |
+
*/
|
| 48 |
+
public function init() {
|
| 49 |
+
add_action( 'admin_notices', array( $this, 'admin_notice' ), defined( 'PHP_INT_MIN' ) ? PHP_INT_MIN : 99999 );
|
| 50 |
+
add_action( 'admin_init', array( $this, 'remove_notice' ), defined( 'PHP_INT_MIN' ) ? PHP_INT_MIN : 99999 );
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
/**
|
| 54 |
+
* Remove notice;
|
| 55 |
+
*/
|
| 56 |
+
public function remove_notice() {
|
| 57 |
+
if ( ! isset( $_GET[ self::$dismiss_key ] ) ) {
|
| 58 |
+
return;
|
| 59 |
+
}
|
| 60 |
+
if ( $_GET[ self::$dismiss_key ] !== 'yes' ) {
|
| 61 |
+
return;
|
| 62 |
+
}
|
| 63 |
+
if ( ! isset( $_GET['remove_upsell'] ) ) {
|
| 64 |
+
return;
|
| 65 |
+
}
|
| 66 |
+
if ( ! wp_verify_nonce( $_GET['remove_upsell'], 'remove_upsell_confirmation' ) ) {
|
| 67 |
+
return;
|
| 68 |
+
}
|
| 69 |
+
update_option( self::$dismiss_key, 'yes' );
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
/**
|
| 73 |
+
* Add notice.
|
| 74 |
+
*/
|
| 75 |
+
public function admin_notice() {
|
| 76 |
+
|
| 77 |
+
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
|
| 78 |
+
return;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
if ( is_network_admin() ) {
|
| 82 |
+
return;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
if ( ! current_user_can( 'manage_options' ) ) {
|
| 86 |
+
return;
|
| 87 |
+
}
|
| 88 |
+
if ( get_option( self::$dismiss_key, 'no' ) === 'yes' ) {
|
| 89 |
+
return;
|
| 90 |
+
}
|
| 91 |
+
$theme = wp_get_theme();
|
| 92 |
+
|
| 93 |
+
if ( $theme->get( 'Name' ) === 'Neve' ) {
|
| 94 |
+
return;
|
| 95 |
+
}
|
| 96 |
+
// Dont show the notice if the plugin is recently installed.
|
| 97 |
+
$plugin_installed = get_option( 'themeisle_companion_install', '' );
|
| 98 |
+
if ( empty( $plugin_installed ) || ( time() - intval( $plugin_installed ) < DAY_IN_SECONDS ) ) {
|
| 99 |
+
return;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
if ( ( $expiration = get_option( self::$dismiss_key . '_exp', '' ) ) === '' ) {
|
| 103 |
+
update_option( self::$dismiss_key . '_exp', time() );
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
// Let's dismiss the notice if the user sees it for more than 1 week.
|
| 107 |
+
if ( ! empty( $expiration ) && ( time() - intval( $expiration ) ) > self::EXPIRATION ) {
|
| 108 |
+
update_option( self::$dismiss_key, 'yes' );
|
| 109 |
+
|
| 110 |
+
return;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
?>
|
| 114 |
+
<style type="text/css">
|
| 115 |
+
.neve-notice-upsell a {
|
| 116 |
+
text-decoration: none;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.neve-notice-upsell {
|
| 120 |
+
position: relative;
|
| 121 |
+
}
|
| 122 |
+
.theme-install-php #wpbody-content .wrap > .notice:not(.neve-notice-upsell),
|
| 123 |
+
.themes-php #wpbody-content .wrap > .notice:not(.neve-notice-upsell) {
|
| 124 |
+
display: none;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
</style>
|
| 129 |
+
<div class="notice notice-success neve-notice-upsell">
|
| 130 |
+
<p>
|
| 131 |
+
<strong> Check the newest theme recommended by Orbit Fox</strong></p>
|
| 132 |
+
<p class="neve-upsell-text">
|
| 133 |
+
Fully AMP optimized and responsive, <strong>Neve</strong> will load in mere seconds and adapt
|
| 134 |
+
perfectly on any viewing device. Neve works perfectly with Gutenberg and the most popular page builders.
|
| 135 |
+
You will love it!
|
| 136 |
+
|
| 137 |
+
</p>
|
| 138 |
+
<p>
|
| 139 |
+
<a href="<?php echo esc_url( admin_url( 'theme-install.php?theme=neve' ) ); ?>" target="_blank"
|
| 140 |
+
class="button neve-upsell-try button-primary"><span class="dashicons dashicons-external"></span>Get
|
| 141 |
+
started</a></p>
|
| 142 |
+
<a href="<?php echo wp_nonce_url( add_query_arg( array( self::$dismiss_key => 'yes' ) ), 'remove_upsell_confirmation', 'remove_upsell' ); ?>"
|
| 143 |
+
class=" notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
|
| 144 |
+
</div>
|
| 145 |
+
<?php
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
/**
|
| 149 |
+
* Deny clone.
|
| 150 |
+
*/
|
| 151 |
+
public function __clone() {
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
/**
|
| 155 |
+
* Deny un-serialize.
|
| 156 |
+
*/
|
| 157 |
+
public function __wakeup() {
|
| 158 |
+
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
}
|
core/includes/class-orbit-fox.php
CHANGED
|
@@ -34,7 +34,7 @@ class Orbit_Fox {
|
|
| 34 |
*
|
| 35 |
* @since 1.0.0
|
| 36 |
* @access protected
|
| 37 |
-
* @var Orbit_Fox_Loader
|
| 38 |
*/
|
| 39 |
protected $loader;
|
| 40 |
|
|
@@ -43,7 +43,7 @@ class Orbit_Fox {
|
|
| 43 |
*
|
| 44 |
* @since 1.0.0
|
| 45 |
* @access protected
|
| 46 |
-
* @var string
|
| 47 |
*/
|
| 48 |
protected $plugin_name;
|
| 49 |
|
|
@@ -52,7 +52,7 @@ class Orbit_Fox {
|
|
| 52 |
*
|
| 53 |
* @since 1.0.0
|
| 54 |
* @access protected
|
| 55 |
-
* @var string
|
| 56 |
*/
|
| 57 |
protected $version;
|
| 58 |
|
|
@@ -69,7 +69,7 @@ class Orbit_Fox {
|
|
| 69 |
|
| 70 |
$this->plugin_name = 'orbit-fox';
|
| 71 |
|
| 72 |
-
|
| 73 |
|
| 74 |
$this->load_dependencies();
|
| 75 |
$this->set_locale();
|
|
@@ -142,6 +142,26 @@ class Orbit_Fox {
|
|
| 142 |
}
|
| 143 |
}
|
| 144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
/**
|
| 146 |
* Register all of the hooks related to the functionality
|
| 147 |
* of the plugin.
|
|
@@ -167,15 +187,21 @@ class Orbit_Fox {
|
|
| 167 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
|
| 168 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
| 169 |
|
| 170 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
|
| 172 |
-
/**
|
| 173 |
-
* Run the loader to execute all of the hooks with WordPress.
|
| 174 |
-
*
|
| 175 |
-
* @since 1.0.0
|
| 176 |
-
*/
|
| 177 |
-
public function run() {
|
| 178 |
-
$this->loader->run();
|
| 179 |
}
|
| 180 |
|
| 181 |
/**
|
|
@@ -190,23 +216,12 @@ class Orbit_Fox {
|
|
| 190 |
}
|
| 191 |
|
| 192 |
/**
|
| 193 |
-
*
|
| 194 |
-
*
|
| 195 |
-
* @since 1.0.0
|
| 196 |
-
* @return Orbit_Fox_Loader Orchestrates the hooks of the plugin.
|
| 197 |
-
*/
|
| 198 |
-
public function get_loader() {
|
| 199 |
-
return $this->loader;
|
| 200 |
-
}
|
| 201 |
-
|
| 202 |
-
/**
|
| 203 |
-
* Retrieve the version number of the plugin.
|
| 204 |
*
|
| 205 |
-
* @since
|
| 206 |
-
* @return string The version number of the plugin.
|
| 207 |
*/
|
| 208 |
-
public function
|
| 209 |
-
|
| 210 |
}
|
| 211 |
|
| 212 |
}
|
| 34 |
*
|
| 35 |
* @since 1.0.0
|
| 36 |
* @access protected
|
| 37 |
+
* @var Orbit_Fox_Loader $loader Maintains and registers all hooks for the plugin.
|
| 38 |
*/
|
| 39 |
protected $loader;
|
| 40 |
|
| 43 |
*
|
| 44 |
* @since 1.0.0
|
| 45 |
* @access protected
|
| 46 |
+
* @var string $plugin_name The string used to uniquely identify this plugin.
|
| 47 |
*/
|
| 48 |
protected $plugin_name;
|
| 49 |
|
| 52 |
*
|
| 53 |
* @since 1.0.0
|
| 54 |
* @access protected
|
| 55 |
+
* @var string $version The current version of the plugin.
|
| 56 |
*/
|
| 57 |
protected $version;
|
| 58 |
|
| 69 |
|
| 70 |
$this->plugin_name = 'orbit-fox';
|
| 71 |
|
| 72 |
+
$this->version = '2.7.0';
|
| 73 |
|
| 74 |
$this->load_dependencies();
|
| 75 |
$this->set_locale();
|
| 142 |
}
|
| 143 |
}
|
| 144 |
|
| 145 |
+
/**
|
| 146 |
+
* The reference to the class that orchestrates the hooks with the plugin.
|
| 147 |
+
*
|
| 148 |
+
* @since 1.0.0
|
| 149 |
+
* @return Orbit_Fox_Loader Orchestrates the hooks of the plugin.
|
| 150 |
+
*/
|
| 151 |
+
public function get_loader() {
|
| 152 |
+
return $this->loader;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
/**
|
| 156 |
+
* Retrieve the version number of the plugin.
|
| 157 |
+
*
|
| 158 |
+
* @since 1.0.0
|
| 159 |
+
* @return string The version number of the plugin.
|
| 160 |
+
*/
|
| 161 |
+
public function get_version() {
|
| 162 |
+
return $this->version;
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
/**
|
| 166 |
* Register all of the hooks related to the functionality
|
| 167 |
* of the plugin.
|
| 187 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
|
| 188 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
| 189 |
|
| 190 |
+
$this->loader->add_action( 'init', Orbit_Fox_Neve_Dropin::instance(), 'init' );
|
| 191 |
+
|
| 192 |
+
// Fix update checks on themeisle.com for non-premium themes
|
| 193 |
+
add_filter( 'neve_enable_licenser', '__return_false' );
|
| 194 |
+
add_filter( 'hestia_enable_licenser', '__return_false' );
|
| 195 |
+
add_filter( 'orfeo_enable_licenser', '__return_false' );
|
| 196 |
+
add_filter( 'fagri_enable_licenser', '__return_false' );
|
| 197 |
+
add_filter( 'capri_lite_enable_licenser', '__return_false' );
|
| 198 |
+
add_filter( 'belise_lite_enable_licenser', '__return_false' );
|
| 199 |
+
add_filter( 'themotion_lite_enable_licenser', '__return_false' );
|
| 200 |
+
add_filter( 'capri_lite_enable_licenser', '__return_false' );
|
| 201 |
+
add_filter( 'visualizer_enable_licenser', '__return_false' );
|
| 202 |
+
add_filter( 'wp_product_review_enable_licenser', '__return_false' );
|
| 203 |
+
add_filter( 'feedzy_rss_feeds_licenser', '__return_false' );
|
| 204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
}
|
| 206 |
|
| 207 |
/**
|
| 216 |
}
|
| 217 |
|
| 218 |
/**
|
| 219 |
+
* Run the loader to execute all of the hooks with WordPress.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
*
|
| 221 |
+
* @since 1.0.0
|
|
|
|
| 222 |
*/
|
| 223 |
+
public function run() {
|
| 224 |
+
$this->loader->run();
|
| 225 |
}
|
| 226 |
|
| 227 |
}
|
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php
CHANGED
|
@@ -139,10 +139,14 @@ function hestia_features_content( $hestia_features_content, $is_callback = false
|
|
| 139 |
break;
|
| 140 |
case 'customizer_repeater_icon':
|
| 141 |
if ( ! empty( $icon ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
?>
|
| 143 |
<div class="icon" <?php echo ( ! empty( $color ) ? 'style="color:' . $color . '"' : '' ); ?>>
|
| 144 |
-
|
| 145 |
-
|
| 146 |
<?php
|
| 147 |
}
|
| 148 |
break;
|
|
@@ -182,21 +186,21 @@ function hestia_get_features_default() {
|
|
| 182 |
'hestia_features_default_content', json_encode(
|
| 183 |
array(
|
| 184 |
array(
|
| 185 |
-
'icon_value' => 'fa-
|
| 186 |
'title' => esc_html__( 'Responsive', 'themeisle-companion' ),
|
| 187 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
| 188 |
'link' => '#',
|
| 189 |
'color' => '#e91e63',
|
| 190 |
),
|
| 191 |
array(
|
| 192 |
-
'icon_value' => 'fa-check',
|
| 193 |
'title' => esc_html__( 'Quality', 'themeisle-companion' ),
|
| 194 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
| 195 |
'link' => '#',
|
| 196 |
'color' => '#00bcd4',
|
| 197 |
),
|
| 198 |
array(
|
| 199 |
-
'icon_value' => 'fa-
|
| 200 |
'title' => esc_html__( 'Support', 'themeisle-companion' ),
|
| 201 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
| 202 |
'link' => '#',
|
| 139 |
break;
|
| 140 |
case 'customizer_repeater_icon':
|
| 141 |
if ( ! empty( $icon ) ) {
|
| 142 |
+
$class_before = 'fa';
|
| 143 |
+
if( substr( $icon, 0, 3 ) !== "fa-" ){
|
| 144 |
+
$class_before = '';
|
| 145 |
+
}
|
| 146 |
?>
|
| 147 |
<div class="icon" <?php echo ( ! empty( $color ) ? 'style="color:' . $color . '"' : '' ); ?>>
|
| 148 |
+
<i class="<?php echo esc_attr( $class_before . ' ' . $icon ); ?>"></i>
|
| 149 |
+
</div>
|
| 150 |
<?php
|
| 151 |
}
|
| 152 |
break;
|
| 186 |
'hestia_features_default_content', json_encode(
|
| 187 |
array(
|
| 188 |
array(
|
| 189 |
+
'icon_value' => 'fab fa-weixin',
|
| 190 |
'title' => esc_html__( 'Responsive', 'themeisle-companion' ),
|
| 191 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
| 192 |
'link' => '#',
|
| 193 |
'color' => '#e91e63',
|
| 194 |
),
|
| 195 |
array(
|
| 196 |
+
'icon_value' => 'fas fa-check',
|
| 197 |
'title' => esc_html__( 'Quality', 'themeisle-companion' ),
|
| 198 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
| 199 |
'link' => '#',
|
| 200 |
'color' => '#00bcd4',
|
| 201 |
),
|
| 202 |
array(
|
| 203 |
+
'icon_value' => 'far fa-life-ring',
|
| 204 |
'title' => esc_html__( 'Support', 'themeisle-companion' ),
|
| 205 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
| 206 |
'link' => '#',
|
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php
CHANGED
|
@@ -209,7 +209,11 @@ function hestia_team_content( $hestia_team_content, $is_callback = false ) {
|
|
| 209 |
if ( function_exists( 'hestia_is_external_url' ) ) {
|
| 210 |
$link .= hestia_is_external_url( $social_link );
|
| 211 |
}
|
| 212 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
echo $link;
|
| 214 |
}
|
| 215 |
}
|
|
@@ -258,22 +262,22 @@ function hestia_get_team_default() {
|
|
| 258 |
array(
|
| 259 |
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
| 260 |
'link' => 'facebook.com',
|
| 261 |
-
'icon' => 'fa-facebook',
|
| 262 |
),
|
| 263 |
array(
|
| 264 |
'id' => 'customizer-repeater-social-repeater-57fb9148530ft',
|
| 265 |
'link' => 'plus.google.com',
|
| 266 |
-
'icon' => 'fa-google-plus',
|
| 267 |
),
|
| 268 |
array(
|
| 269 |
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
| 270 |
'link' => 'twitter.com',
|
| 271 |
-
'icon' => 'fa-twitter',
|
| 272 |
),
|
| 273 |
array(
|
| 274 |
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
| 275 |
'link' => 'linkedin.com',
|
| 276 |
-
'icon' => 'fa-linkedin',
|
| 277 |
),
|
| 278 |
)
|
| 279 |
),
|
|
@@ -289,22 +293,22 @@ function hestia_get_team_default() {
|
|
| 289 |
array(
|
| 290 |
'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
|
| 291 |
'link' => 'facebook.com',
|
| 292 |
-
'icon' => 'fa-facebook',
|
| 293 |
),
|
| 294 |
array(
|
| 295 |
'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
|
| 296 |
'link' => 'twitter.com',
|
| 297 |
-
'icon' => 'fa-twitter',
|
| 298 |
),
|
| 299 |
array(
|
| 300 |
'id' => 'customizer-repeater-social-repeater-57fb9160ab484',
|
| 301 |
'link' => 'pinterest.com',
|
| 302 |
-
'icon' => 'fa-pinterest',
|
| 303 |
),
|
| 304 |
array(
|
| 305 |
'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
|
| 306 |
'link' => 'linkedin.com',
|
| 307 |
-
'icon' => 'fa-linkedin',
|
| 308 |
),
|
| 309 |
)
|
| 310 |
),
|
|
@@ -320,22 +324,22 @@ function hestia_get_team_default() {
|
|
| 320 |
array(
|
| 321 |
'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
|
| 322 |
'link' => 'facebook.com',
|
| 323 |
-
'icon' => 'fa-facebook',
|
| 324 |
),
|
| 325 |
array(
|
| 326 |
'id' => 'customizer-repeater-social-repeater-57fb91830825c',
|
| 327 |
'link' => 'twitter.com',
|
| 328 |
-
'icon' => 'fa-twitter',
|
| 329 |
),
|
| 330 |
array(
|
| 331 |
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
|
| 332 |
'link' => 'linkedin.com',
|
| 333 |
-
'icon' => 'fa-linkedin',
|
| 334 |
),
|
| 335 |
array(
|
| 336 |
'id' => 'customizer-repeater-social-repeater-57fb918d65f2x',
|
| 337 |
'link' => 'dribbble.com',
|
| 338 |
-
'icon' => 'fa-dribbble',
|
| 339 |
),
|
| 340 |
)
|
| 341 |
),
|
|
@@ -351,22 +355,22 @@ function hestia_get_team_default() {
|
|
| 351 |
array(
|
| 352 |
'id' => 'customizer-repeater-social-repeater-57fb925cedcg5',
|
| 353 |
'link' => 'github.com',
|
| 354 |
-
'icon' => 'fa-github-square',
|
| 355 |
),
|
| 356 |
array(
|
| 357 |
'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
|
| 358 |
'link' => 'facebook.com',
|
| 359 |
-
'icon' => 'fa-facebook',
|
| 360 |
),
|
| 361 |
array(
|
| 362 |
'id' => 'customizer-repeater-social-repeater-57fb92615f030',
|
| 363 |
'link' => 'twitter.com',
|
| 364 |
-
'icon' => 'fa-twitter',
|
| 365 |
),
|
| 366 |
array(
|
| 367 |
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
| 368 |
'link' => 'linkedin.com',
|
| 369 |
-
'icon' => 'fa-linkedin',
|
| 370 |
),
|
| 371 |
)
|
| 372 |
),
|
| 209 |
if ( function_exists( 'hestia_is_external_url' ) ) {
|
| 210 |
$link .= hestia_is_external_url( $social_link );
|
| 211 |
}
|
| 212 |
+
$class_before = 'fa';
|
| 213 |
+
if( substr( $social_icon, 0, 3 ) !== "fa-" ){
|
| 214 |
+
$class_before = '';
|
| 215 |
+
}
|
| 216 |
+
$link .= ' class="btn btn-just-icon btn-simple"><i class="' . esc_attr( $class_before . ' ' . $social_icon ) . '"></i></a>';
|
| 217 |
echo $link;
|
| 218 |
}
|
| 219 |
}
|
| 262 |
array(
|
| 263 |
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
| 264 |
'link' => 'facebook.com',
|
| 265 |
+
'icon' => 'fab fa-facebook-f',
|
| 266 |
),
|
| 267 |
array(
|
| 268 |
'id' => 'customizer-repeater-social-repeater-57fb9148530ft',
|
| 269 |
'link' => 'plus.google.com',
|
| 270 |
+
'icon' => 'fab fa-google-plus-g',
|
| 271 |
),
|
| 272 |
array(
|
| 273 |
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
| 274 |
'link' => 'twitter.com',
|
| 275 |
+
'icon' => 'fab fa-twitter',
|
| 276 |
),
|
| 277 |
array(
|
| 278 |
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
| 279 |
'link' => 'linkedin.com',
|
| 280 |
+
'icon' => 'fab fa-linkedin-in',
|
| 281 |
),
|
| 282 |
)
|
| 283 |
),
|
| 293 |
array(
|
| 294 |
'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
|
| 295 |
'link' => 'facebook.com',
|
| 296 |
+
'icon' => 'fab fa-facebook-f',
|
| 297 |
),
|
| 298 |
array(
|
| 299 |
'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
|
| 300 |
'link' => 'twitter.com',
|
| 301 |
+
'icon' => 'fab fa-twitter',
|
| 302 |
),
|
| 303 |
array(
|
| 304 |
'id' => 'customizer-repeater-social-repeater-57fb9160ab484',
|
| 305 |
'link' => 'pinterest.com',
|
| 306 |
+
'icon' => 'fab fa-pinterest',
|
| 307 |
),
|
| 308 |
array(
|
| 309 |
'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
|
| 310 |
'link' => 'linkedin.com',
|
| 311 |
+
'icon' => 'fab fa-linkedin-in',
|
| 312 |
),
|
| 313 |
)
|
| 314 |
),
|
| 324 |
array(
|
| 325 |
'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
|
| 326 |
'link' => 'facebook.com',
|
| 327 |
+
'icon' => 'fab fa-facebook-f',
|
| 328 |
),
|
| 329 |
array(
|
| 330 |
'id' => 'customizer-repeater-social-repeater-57fb91830825c',
|
| 331 |
'link' => 'twitter.com',
|
| 332 |
+
'icon' => 'fab fa-twitter',
|
| 333 |
),
|
| 334 |
array(
|
| 335 |
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
|
| 336 |
'link' => 'linkedin.com',
|
| 337 |
+
'icon' => 'fab fa-linkedin-in',
|
| 338 |
),
|
| 339 |
array(
|
| 340 |
'id' => 'customizer-repeater-social-repeater-57fb918d65f2x',
|
| 341 |
'link' => 'dribbble.com',
|
| 342 |
+
'icon' => 'fab fa-dribbble',
|
| 343 |
),
|
| 344 |
)
|
| 345 |
),
|
| 355 |
array(
|
| 356 |
'id' => 'customizer-repeater-social-repeater-57fb925cedcg5',
|
| 357 |
'link' => 'github.com',
|
| 358 |
+
'icon' => 'fab fa-github-square',
|
| 359 |
),
|
| 360 |
array(
|
| 361 |
'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
|
| 362 |
'link' => 'facebook.com',
|
| 363 |
+
'icon' => 'fab fa-facebook-f',
|
| 364 |
),
|
| 365 |
array(
|
| 366 |
'id' => 'customizer-repeater-social-repeater-57fb92615f030',
|
| 367 |
'link' => 'twitter.com',
|
| 368 |
+
'icon' => 'fab fa-twitter',
|
| 369 |
),
|
| 370 |
array(
|
| 371 |
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
| 372 |
'link' => 'linkedin.com',
|
| 373 |
+
'icon' => 'fab fa-linkedin-in',
|
| 374 |
),
|
| 375 |
)
|
| 376 |
),
|
obfx_modules/policy-notice/init.php
CHANGED
|
@@ -102,15 +102,6 @@ class Policy_Notice_OBFX_Module extends Orbit_Fox_Module_Abstract {
|
|
| 102 |
'type' => 'text',
|
| 103 |
'default' => esc_html__( 'This website uses cookies to improve your experience. We\'ll assume you accept this policy as long as you are using this website', 'themeisle-companion' ),
|
| 104 |
),
|
| 105 |
-
|
| 106 |
-
// array(
|
| 107 |
-
// 'id' => 'notice_accept_label',
|
| 108 |
-
// 'name' => 'notice_accept_label',
|
| 109 |
-
// 'title' => esc_html__( 'Policy Link Label', 'themeisle-companion' ),
|
| 110 |
-
// 'type' => 'text',
|
| 111 |
-
// 'default' => esc_html__( 'View Policy', 'themeisle-companion' ),
|
| 112 |
-
// ),
|
| 113 |
-
|
| 114 |
array(
|
| 115 |
'id' => 'policy_page',
|
| 116 |
'name' => 'policy_page',
|
|
@@ -119,7 +110,6 @@ class Policy_Notice_OBFX_Module extends Orbit_Fox_Module_Abstract {
|
|
| 119 |
'default' => 0,
|
| 120 |
'options' => $this->get_policy_pages_array()
|
| 121 |
),
|
| 122 |
-
|
| 123 |
array(
|
| 124 |
'id' => 'notice_link_label',
|
| 125 |
'name' => 'notice_link_label',
|
|
@@ -127,6 +117,13 @@ class Policy_Notice_OBFX_Module extends Orbit_Fox_Module_Abstract {
|
|
| 127 |
'type' => 'text',
|
| 128 |
'default' => esc_html__( 'View Policy', 'themeisle-companion' ),
|
| 129 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
);
|
| 131 |
}
|
| 132 |
|
|
@@ -172,11 +169,13 @@ class Policy_Notice_OBFX_Module extends Orbit_Fox_Module_Abstract {
|
|
| 172 |
|
| 173 |
$policy_text = $this->get_option( 'policy_notice_text' );
|
| 174 |
$policy_button = $this->get_option( 'notice_link_label' );
|
|
|
|
| 175 |
|
| 176 |
$options = array(
|
| 177 |
'policy_link' => $policy_link,
|
| 178 |
'policy_text' => $policy_text,
|
| 179 |
-
'policy_button' => $policy_button
|
|
|
|
| 180 |
);
|
| 181 |
|
| 182 |
// @TODO maybe think at some template system for a further hookable customization.
|
|
@@ -187,7 +186,7 @@ class Policy_Notice_OBFX_Module extends Orbit_Fox_Module_Abstract {
|
|
| 187 |
// we'll add the buttons as a separate var and we'll start with the close button
|
| 188 |
$buttons = '<label for="obfx-checkbox-cb" class="obfx-close-cb">X</label>';
|
| 189 |
// the "Acceptance" button
|
| 190 |
-
$buttons .= '<a href="#" id="obfx-accept-cookie-policy" >' .
|
| 191 |
// the "View Policy button"
|
| 192 |
$buttons .= '<a href="' . $policy_link . '" >' . $policy_button . '</a>';
|
| 193 |
|
| 102 |
'type' => 'text',
|
| 103 |
'default' => esc_html__( 'This website uses cookies to improve your experience. We\'ll assume you accept this policy as long as you are using this website', 'themeisle-companion' ),
|
| 104 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
array(
|
| 106 |
'id' => 'policy_page',
|
| 107 |
'name' => 'policy_page',
|
| 110 |
'default' => 0,
|
| 111 |
'options' => $this->get_policy_pages_array()
|
| 112 |
),
|
|
|
|
| 113 |
array(
|
| 114 |
'id' => 'notice_link_label',
|
| 115 |
'name' => 'notice_link_label',
|
| 117 |
'type' => 'text',
|
| 118 |
'default' => esc_html__( 'View Policy', 'themeisle-companion' ),
|
| 119 |
),
|
| 120 |
+
array(
|
| 121 |
+
'id' => 'notice_accept_label',
|
| 122 |
+
'name' => 'notice_accept_label',
|
| 123 |
+
'title' => esc_html__( 'Accept Cookie Button Label', 'themeisle-companion' ),
|
| 124 |
+
'type' => 'text',
|
| 125 |
+
'default' => esc_html__( 'Accept', 'themeisle-companion' ),
|
| 126 |
+
),
|
| 127 |
);
|
| 128 |
}
|
| 129 |
|
| 169 |
|
| 170 |
$policy_text = $this->get_option( 'policy_notice_text' );
|
| 171 |
$policy_button = $this->get_option( 'notice_link_label' );
|
| 172 |
+
$accept_button = $this->get_option( 'notice_accept_label' );
|
| 173 |
|
| 174 |
$options = array(
|
| 175 |
'policy_link' => $policy_link,
|
| 176 |
'policy_text' => $policy_text,
|
| 177 |
+
'policy_button' => $policy_button,
|
| 178 |
+
'accept_button' => $accept_button,
|
| 179 |
);
|
| 180 |
|
| 181 |
// @TODO maybe think at some template system for a further hookable customization.
|
| 186 |
// we'll add the buttons as a separate var and we'll start with the close button
|
| 187 |
$buttons = '<label for="obfx-checkbox-cb" class="obfx-close-cb">X</label>';
|
| 188 |
// the "Acceptance" button
|
| 189 |
+
$buttons .= '<a href="#" id="obfx-accept-cookie-policy" >' . $accept_button . '</a>';
|
| 190 |
// the "View Policy button"
|
| 191 |
$buttons .= '<a href="' . $policy_link . '" >' . $policy_button . '</a>';
|
| 192 |
|
readme.md
CHANGED
|
@@ -110,6 +110,14 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
|
|
| 110 |
5. Social Sharing Module
|
| 111 |
|
| 112 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
### 2.6.4 - 2018-11-12 ###
|
| 114 |
|
| 115 |
* Fix issue with elementor content forms php notice
|
| 110 |
5. Social Sharing Module
|
| 111 |
|
| 112 |
## Changelog ##
|
| 113 |
+
### 2.7.0 - 2018-11-26 ###
|
| 114 |
+
|
| 115 |
+
* Fix small typo on the module activation button.
|
| 116 |
+
* Improves compatibility with Hestia Theme.
|
| 117 |
+
* Adds compatibility for Neve theme.
|
| 118 |
+
* Fix translation text for Agree button in Cookie notice.
|
| 119 |
+
|
| 120 |
+
|
| 121 |
### 2.6.4 - 2018-11-12 ###
|
| 122 |
|
| 123 |
* Fix issue with elementor content forms php notice
|
readme.txt
CHANGED
|
@@ -110,6 +110,14 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
|
|
| 110 |
5. Social Sharing Module
|
| 111 |
|
| 112 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
= 2.6.4 - 2018-11-12 =
|
| 114 |
|
| 115 |
* Fix issue with elementor content forms php notice
|
| 110 |
5. Social Sharing Module
|
| 111 |
|
| 112 |
== Changelog ==
|
| 113 |
+
= 2.7.0 - 2018-11-26 =
|
| 114 |
+
|
| 115 |
+
* Fix small typo on the module activation button.
|
| 116 |
+
* Improves compatibility with Hestia Theme.
|
| 117 |
+
* Adds compatibility for Neve theme.
|
| 118 |
+
* Fix translation text for Agree button in Cookie notice.
|
| 119 |
+
|
| 120 |
+
|
| 121 |
= 2.6.4 - 2018-11-12 =
|
| 122 |
|
| 123 |
* Fix issue with elementor content forms php notice
|
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, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
|
| 18 |
-
* Version: 2.
|
| 19 |
* Author: Themeisle
|
| 20 |
* Author URI: https://orbitfox.com/
|
| 21 |
* License: GPL-2.0+
|
|
@@ -78,7 +78,6 @@ function run_orbit_fox() {
|
|
| 78 |
return $products;
|
| 79 |
}
|
| 80 |
);
|
| 81 |
-
|
| 82 |
add_filter(
|
| 83 |
'themeisle_companion_friendly_name',
|
| 84 |
function( $name ) {
|
| 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, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
|
| 18 |
+
* Version: 2.7.0
|
| 19 |
* Author: Themeisle
|
| 20 |
* Author URI: https://orbitfox.com/
|
| 21 |
* License: GPL-2.0+
|
| 78 |
return $products;
|
| 79 |
}
|
| 80 |
);
|
|
|
|
| 81 |
add_filter(
|
| 82 |
'themeisle_companion_friendly_name',
|
| 83 |
function( $name ) {
|
themeisle-hash.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"
|
| 1 |
+
{"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"0162e42b4097294405469fad748cfe56","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
|
vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInitb8289832ab45c25143ad1e50c128deb4::getLoader();
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php
CHANGED
|
@@ -397,8 +397,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
| 397 |
private function get_api_versions() {
|
| 398 |
|
| 399 |
$cache_key = $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions';
|
| 400 |
-
$cache_versions = get_transient( $
|
| 401 |
-
if ( false
|
| 402 |
$versions = array();
|
| 403 |
if ( ! $this->is_wordpress_available() ) {
|
| 404 |
$versions = $this->get_pro_versions();
|
|
@@ -410,7 +410,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
| 410 |
$versions = $this->get_theme_versions();
|
| 411 |
}
|
| 412 |
}
|
| 413 |
-
set_transient( $cache_key, $versions,
|
| 414 |
} else {
|
| 415 |
$versions = is_array( $cache_versions ) ? $cache_versions : array();
|
| 416 |
}
|
| 397 |
private function get_api_versions() {
|
| 398 |
|
| 399 |
$cache_key = $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions';
|
| 400 |
+
$cache_versions = get_transient( $cache_key );
|
| 401 |
+
if ( false === $cache_versions ) {
|
| 402 |
$versions = array();
|
| 403 |
if ( ! $this->is_wordpress_available() ) {
|
| 404 |
$versions = $this->get_pro_versions();
|
| 410 |
$versions = $this->get_theme_versions();
|
| 411 |
}
|
| 412 |
}
|
| 413 |
+
set_transient( $cache_key, $versions, 5 * DAY_IN_SECONDS );
|
| 414 |
} else {
|
| 415 |
$versions = is_array( $cache_versions ) ? $cache_versions : array();
|
| 416 |
}
|
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.
|
| 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.8';
|
| 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
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit9021d76497f6e08153e2b2a46b5a7fff
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 27 |
foreach ($map as $namespace => $path) {
|
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit9021d76497f6e08153e2b2a46b5a7fff
|
|
| 42 |
|
| 43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
| 44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 45 |
-
|
| 46 |
}
|
| 47 |
|
| 48 |
return $loader;
|
| 49 |
}
|
| 50 |
}
|
| 51 |
|
| 52 |
-
function
|
| 53 |
{
|
| 54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 55 |
require $file;
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInitb8289832ab45c25143ad1e50c128deb4
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInitb8289832ab45c25143ad1e50c128deb4', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitb8289832ab45c25143ad1e50c128deb4', '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 |
+
composerRequireb8289832ab45c25143ad1e50c128deb4($fileIdentifier, $file);
|
| 46 |
}
|
| 47 |
|
| 48 |
return $loader;
|
| 49 |
}
|
| 50 |
}
|
| 51 |
|
| 52 |
+
function composerRequireb8289832ab45c25143ad1e50c128deb4($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": "
|
| 10 |
},
|
| 11 |
"dist": {
|
| 12 |
"type": "zip",
|
| 13 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
| 14 |
-
"reference": "
|
| 15 |
"shasum": ""
|
| 16 |
},
|
| 17 |
-
"time": "2018-
|
| 18 |
"type": "library",
|
| 19 |
"installation-source": "dist",
|
| 20 |
"autoload": {
|
| 6 |
"source": {
|
| 7 |
"type": "git",
|
| 8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
| 9 |
+
"reference": "951cde6e799e00d46a52416b62221fd771ddc326"
|
| 10 |
},
|
| 11 |
"dist": {
|
| 12 |
"type": "zip",
|
| 13 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/951cde6e799e00d46a52416b62221fd771ddc326",
|
| 14 |
+
"reference": "951cde6e799e00d46a52416b62221fd771ddc326",
|
| 15 |
"shasum": ""
|
| 16 |
},
|
| 17 |
+
"time": "2018-11-26 14:24:47",
|
| 18 |
"type": "library",
|
| 19 |
"installation-source": "dist",
|
| 20 |
"autoload": {
|
