Version Description
- 2019-09-13
Download this release
Release Info
| Developer | codeinwp |
| Plugin | |
| Version | 2.8.10 |
| Comparing to | |
| See all releases | |
Code changes from version 2.8.8 to 2.8.10
- CHANGELOG.md +4 -0
- core/assets/css/orbit-fox-admin.css +1 -1
- core/includes/class-orbit-fox.php +1 -1
- obfx_modules/beaver-widgets/modules/post-grid/includes/frontend.php +3 -2
- readme.md +5 -0
- readme.txt +5 -0
- themeisle-companion.php +1 -1
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/codeinwp/themeisle-sdk/CHANGELOG.md +9 -0
- vendor/codeinwp/themeisle-sdk/load.php +1 -1
- vendor/codeinwp/themeisle-sdk/src/Modules/Dashboard_widget.php +3 -1
- vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php +46 -14
- vendor/codeinwp/themeisle-sdk/src/Modules/Notification.php +3 -0
- vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php +5 -0
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +6 -6
CHANGELOG.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
### v2.8.8 - 2019-09-11
|
| 3 |
**Changes:**
|
| 4 |
* Fixes Constant Warning for Beaver Widgets Module
|
| 1 |
|
| 2 |
+
### v2.8.10 - 2019-09-13
|
| 3 |
+
**Changes:**
|
| 4 |
+
* Development
|
| 5 |
+
|
| 6 |
### v2.8.8 - 2019-09-11
|
| 7 |
**Changes:**
|
| 8 |
* Fixes Constant Warning for Beaver Widgets Module
|
core/assets/css/orbit-fox-admin.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
* Extends Spectre.css Library
|
| 9 |
*/
|
| 10 |
/*
|
| 11 |
-
Version: 2.8.
|
| 12 |
*/
|
| 13 |
|
| 14 |
/* Document
|
| 8 |
* Extends Spectre.css Library
|
| 9 |
*/
|
| 10 |
/*
|
| 11 |
+
Version: 2.8.10
|
| 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.8.
|
| 73 |
|
| 74 |
$this->load_dependencies();
|
| 75 |
$this->set_locale();
|
| 69 |
|
| 70 |
$this->plugin_name = 'orbit-fox';
|
| 71 |
|
| 72 |
+
$this->version = '2.8.10';
|
| 73 |
|
| 74 |
$this->load_dependencies();
|
| 75 |
$this->set_locale();
|
obfx_modules/beaver-widgets/modules/post-grid/includes/frontend.php
CHANGED
|
@@ -89,7 +89,8 @@ if ( ! function_exists( 'obfx_show_post_grid_meta' ) ) {
|
|
| 89 |
$show_icons = ! empty( $settings->show_icons ) ? $settings->show_icons : '';
|
| 90 |
echo '<div class="obfx-post-grid-meta">';
|
| 91 |
if ( in_array( 'author', $meta_data, true ) ) {
|
| 92 |
-
$
|
|
|
|
| 93 |
if ( ! empty( $author ) ) {
|
| 94 |
echo '<div class="obfx-author">';
|
| 95 |
if ( $show_icons === 'yes' ) {
|
|
@@ -102,7 +103,7 @@ if ( ! function_exists( 'obfx_show_post_grid_meta' ) ) {
|
|
| 102 |
/* translators: %1$s is Author name, %2$s is author link */
|
| 103 |
'<a href="%2$s" title="%1$s"><b>%1$s</b></a>',
|
| 104 |
esc_html( get_the_author() ),
|
| 105 |
-
esc_url( get_author_posts_url(
|
| 106 |
)
|
| 107 |
);
|
| 108 |
echo '</div>';
|
| 89 |
$show_icons = ! empty( $settings->show_icons ) ? $settings->show_icons : '';
|
| 90 |
echo '<div class="obfx-post-grid-meta">';
|
| 91 |
if ( in_array( 'author', $meta_data, true ) ) {
|
| 92 |
+
$author_id = get_post_field( 'post_author', $pid );
|
| 93 |
+
$author = get_the_author_meta( 'display_name', $author_id );
|
| 94 |
if ( ! empty( $author ) ) {
|
| 95 |
echo '<div class="obfx-author">';
|
| 96 |
if ( $show_icons === 'yes' ) {
|
| 103 |
/* translators: %1$s is Author name, %2$s is author link */
|
| 104 |
'<a href="%2$s" title="%1$s"><b>%1$s</b></a>',
|
| 105 |
esc_html( get_the_author() ),
|
| 106 |
+
esc_url( get_author_posts_url( $author_id ) )
|
| 107 |
)
|
| 108 |
);
|
| 109 |
echo '</div>';
|
readme.md
CHANGED
|
@@ -109,6 +109,11 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
|
|
| 109 |
5. Social Sharing Module
|
| 110 |
|
| 111 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
### 2.8.8 - 2019-09-11 ###
|
| 113 |
|
| 114 |
* Fixes Constant Warning for Beaver Widgets Module
|
| 109 |
5. Social Sharing Module
|
| 110 |
|
| 111 |
## Changelog ##
|
| 112 |
+
### 2.8.10 - 2019-09-13 ###
|
| 113 |
+
|
| 114 |
+
* Development
|
| 115 |
+
|
| 116 |
+
|
| 117 |
### 2.8.8 - 2019-09-11 ###
|
| 118 |
|
| 119 |
* Fixes Constant Warning for Beaver Widgets Module
|
readme.txt
CHANGED
|
@@ -109,6 +109,11 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
|
|
| 109 |
5. Social Sharing Module
|
| 110 |
|
| 111 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
= 2.8.8 - 2019-09-11 =
|
| 113 |
|
| 114 |
* Fixes Constant Warning for Beaver Widgets Module
|
| 109 |
5. Social Sharing Module
|
| 110 |
|
| 111 |
== Changelog ==
|
| 112 |
+
= 2.8.10 - 2019-09-13 =
|
| 113 |
+
|
| 114 |
+
* Development
|
| 115 |
+
|
| 116 |
+
|
| 117 |
= 2.8.8 - 2019-09-11 =
|
| 118 |
|
| 119 |
* Fixes Constant Warning for Beaver Widgets Module
|
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.8.
|
| 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, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
|
| 18 |
+
* Version: 2.8.10
|
| 19 |
* Author: Themeisle
|
| 20 |
* Author URI: https://orbitfox.com/
|
| 21 |
* License: GPL-2.0+
|
themeisle-hash.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"class-autoloader.php":"61ea652f66f6ca0ead234c6357f88791","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"
|
| 1 |
+
{"class-autoloader.php":"61ea652f66f6ca0ead234c6357f88791","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"805b0fee0d200d89145556c85915c95f","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 ComposerAutoloaderInit5399fc80dcfc94f1993e27be1b382c0f::getLoader();
|
vendor/codeinwp/themeisle-sdk/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
## [3.1.4](https://github.com/Codeinwp/themeisle-sdk/compare/v3.1.3...v3.1.4) (2019-08-23)
|
| 2 |
|
| 3 |
|
| 1 |
+
## [3.1.5](https://github.com/Codeinwp/themeisle-sdk/compare/v3.1.4...v3.1.5) (2019-09-11)
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
### Bug Fixes
|
| 5 |
+
|
| 6 |
+
* allow unloading certain module features ([2a2559a](https://github.com/Codeinwp/themeisle-sdk/commit/2a2559a))
|
| 7 |
+
* license activation workflow, show error message when failed to a… ([ade795c](https://github.com/Codeinwp/themeisle-sdk/commit/ade795c))
|
| 8 |
+
* license activation workflow, show error message when failed to activate ([2f5cbae](https://github.com/Codeinwp/themeisle-sdk/commit/2f5cbae))
|
| 9 |
+
|
| 10 |
## [3.1.4](https://github.com/Codeinwp/themeisle-sdk/compare/v3.1.3...v3.1.4) (2019-08-23)
|
| 11 |
|
| 12 |
|
vendor/codeinwp/themeisle-sdk/load.php
CHANGED
|
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 14 |
return;
|
| 15 |
}
|
| 16 |
// Current SDK version and path.
|
| 17 |
-
$themeisle_sdk_version = '3.1.
|
| 18 |
$themeisle_sdk_path = dirname( __FILE__ );
|
| 19 |
|
| 20 |
global $themeisle_sdk_max_version;
|
| 14 |
return;
|
| 15 |
}
|
| 16 |
// Current SDK version and path.
|
| 17 |
+
$themeisle_sdk_version = '3.1.5';
|
| 18 |
$themeisle_sdk_path = dirname( __FILE__ );
|
| 19 |
|
| 20 |
global $themeisle_sdk_max_version;
|
vendor/codeinwp/themeisle-sdk/src/Modules/Dashboard_widget.php
CHANGED
|
@@ -72,7 +72,9 @@ class Dashboard_Widget extends Abstract_Module {
|
|
| 72 |
* @return Dashboard_Widget Module instance.
|
| 73 |
*/
|
| 74 |
public function load( $product ) {
|
| 75 |
-
|
|
|
|
|
|
|
| 76 |
$this->product = $product;
|
| 77 |
$this->dashboard_name = apply_filters( 'themeisle_sdk_dashboard_widget_name', 'WordPress Guides/Tutorials' );
|
| 78 |
$this->feeds = apply_filters(
|
| 72 |
* @return Dashboard_Widget Module instance.
|
| 73 |
*/
|
| 74 |
public function load( $product ) {
|
| 75 |
+
if ( apply_filters( 'themeisle_sdk_hide_dashboard_widget', false ) ) {
|
| 76 |
+
return;
|
| 77 |
+
}
|
| 78 |
$this->product = $product;
|
| 79 |
$this->dashboard_name = apply_filters( 'themeisle_sdk_dashboard_widget_name', 'WordPress Guides/Tutorials' );
|
| 80 |
$this->feeds = apply_filters(
|
vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php
CHANGED
|
@@ -89,6 +89,9 @@ class Licenser extends Abstract_Module {
|
|
| 89 |
if ( ! is_admin() ) {
|
| 90 |
return false;
|
| 91 |
}
|
|
|
|
|
|
|
|
|
|
| 92 |
add_settings_field(
|
| 93 |
$this->product->get_key() . '_license',
|
| 94 |
$this->product->get_name() . ' license',
|
|
@@ -109,6 +112,7 @@ class Licenser extends Abstract_Module {
|
|
| 109 |
$valid_string = apply_filters( $this->product->get_key() . '_lc_valid_string', 'Valid' );
|
| 110 |
$invalid_string = apply_filters( $this->product->get_key() . '_lc_invalid_string', 'Invalid' );
|
| 111 |
$license_message = apply_filters( $this->product->get_key() . '_lc_license_message', 'Enter your license from %s purchase history in order to get %s updates' );
|
|
|
|
| 112 |
?>
|
| 113 |
<style type="text/css">
|
| 114 |
input.themeisle-sdk-text-input-valid {
|
|
@@ -157,7 +161,7 @@ class Licenser extends Abstract_Module {
|
|
| 157 |
</style>
|
| 158 |
<?php
|
| 159 |
echo sprintf(
|
| 160 |
-
'<p>%s<input class="themeisle-sdk-license-input %s" type="text" id="%s_license" name="%s_license" value="%s" /><a class="%s">%s</a> <button name="%s_btn_trigger" class="button button-primary themeisle-sdk-licenser-button-cta" value="yes" type="submit" >%s</button></p><p class="description">%s</p
|
| 161 |
( ( 'valid' === $status ) ? sprintf( '<input type="hidden" value="%s" name="%s_license" />', $value, $this->product->get_key() ) : '' ),
|
| 162 |
( ( 'valid' === $status ) ? 'themeisle-sdk-text-input-valid' : '' ),
|
| 163 |
$this->product->get_key(),
|
|
@@ -167,7 +171,8 @@ class Licenser extends Abstract_Module {
|
|
| 167 |
( 'valid' === $status ? $valid_string : $invalid_string ),
|
| 168 |
$this->product->get_key(),
|
| 169 |
( 'valid' === $status ? $deactivate_string : $activate_string ),
|
| 170 |
-
sprintf( $license_message, '<a href="' . $this->get_api_url() . '">' . $this->get_distributor_name() . '</a> ', $this->product->get_type() )
|
|
|
|
| 171 |
);
|
| 172 |
|
| 173 |
}
|
|
@@ -224,6 +229,10 @@ class Licenser extends Abstract_Module {
|
|
| 224 |
if ( ! is_admin() ) {
|
| 225 |
return false;
|
| 226 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
$status = $this->get_license_status();
|
| 228 |
$no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No activations left for %s !!!. You need to upgrade your plan in order to use %s on more websites. Please ask the %s Staff for more details.' );
|
| 229 |
$no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
|
|
@@ -413,6 +422,26 @@ class Licenser extends Abstract_Module {
|
|
| 413 |
update_option( $this->product->get_key() . '_failed_checks', $this->failed_checks );
|
| 414 |
}
|
| 415 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 416 |
/**
|
| 417 |
* Activate the license remotely.
|
| 418 |
*/
|
|
@@ -439,19 +468,22 @@ class Licenser extends Abstract_Module {
|
|
| 439 |
$response = wp_remote_get( add_query_arg( $api_params, $this->get_api_url() ) );
|
| 440 |
// make sure the response came back okay.
|
| 441 |
if ( is_wp_error( $response ) ) {
|
| 442 |
-
$
|
| 443 |
-
$license_data->license = ( 'valid' != $status ) ? 'valid' : 'invalid';
|
| 444 |
|
| 445 |
-
|
| 446 |
-
$license_data = json_decode( wp_remote_retrieve_body( $response ) );
|
| 447 |
-
if ( ! is_object( $license_data ) ) {
|
| 448 |
-
$license_data = new \stdClass();
|
| 449 |
-
$license_data->license = ( 'valid' != $status ) ? 'valid' : 'invalid';
|
| 450 |
-
}
|
| 451 |
-
if ( ! isset( $license_data->license ) ) {
|
| 452 |
-
$license_data->license = 'invalid';
|
| 453 |
-
}
|
| 454 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 455 |
if ( ! isset( $license_data->key ) ) {
|
| 456 |
$license_data->key = $license;
|
| 457 |
}
|
|
@@ -462,7 +494,7 @@ class Licenser extends Abstract_Module {
|
|
| 462 |
if ( isset( $license_data->plan ) ) {
|
| 463 |
update_option( $this->product->get_key() . '_license_plan', $license_data->plan );
|
| 464 |
}
|
| 465 |
-
|
| 466 |
update_option( $this->product->get_key() . '_license_data', $license_data );
|
| 467 |
set_transient( $this->product->get_key() . '_license_data', $license_data, 12 * HOUR_IN_SECONDS );
|
| 468 |
|
| 89 |
if ( ! is_admin() ) {
|
| 90 |
return false;
|
| 91 |
}
|
| 92 |
+
if ( apply_filters( $this->product->get_key() . '_hide_license_field', false ) ) {
|
| 93 |
+
return;
|
| 94 |
+
}
|
| 95 |
add_settings_field(
|
| 96 |
$this->product->get_key() . '_license',
|
| 97 |
$this->product->get_name() . ' license',
|
| 112 |
$valid_string = apply_filters( $this->product->get_key() . '_lc_valid_string', 'Valid' );
|
| 113 |
$invalid_string = apply_filters( $this->product->get_key() . '_lc_invalid_string', 'Invalid' );
|
| 114 |
$license_message = apply_filters( $this->product->get_key() . '_lc_license_message', 'Enter your license from %s purchase history in order to get %s updates' );
|
| 115 |
+
$error_message = $this->get_error();
|
| 116 |
?>
|
| 117 |
<style type="text/css">
|
| 118 |
input.themeisle-sdk-text-input-valid {
|
| 161 |
</style>
|
| 162 |
<?php
|
| 163 |
echo sprintf(
|
| 164 |
+
'<p>%s<input class="themeisle-sdk-license-input %s" type="text" id="%s_license" name="%s_license" value="%s" /><a class="%s">%s</a> <button name="%s_btn_trigger" class="button button-primary themeisle-sdk-licenser-button-cta" value="yes" type="submit" >%s</button></p><p class="description">%s</p>%s',
|
| 165 |
( ( 'valid' === $status ) ? sprintf( '<input type="hidden" value="%s" name="%s_license" />', $value, $this->product->get_key() ) : '' ),
|
| 166 |
( ( 'valid' === $status ) ? 'themeisle-sdk-text-input-valid' : '' ),
|
| 167 |
$this->product->get_key(),
|
| 171 |
( 'valid' === $status ? $valid_string : $invalid_string ),
|
| 172 |
$this->product->get_key(),
|
| 173 |
( 'valid' === $status ? $deactivate_string : $activate_string ),
|
| 174 |
+
sprintf( $license_message, '<a href="' . $this->get_api_url() . '">' . $this->get_distributor_name() . '</a> ', $this->product->get_type() ),
|
| 175 |
+
empty( $error_message ) ? '' : sprintf( '<p style="color:#dd3d36">%s</p>', $error_message )
|
| 176 |
);
|
| 177 |
|
| 178 |
}
|
| 229 |
if ( ! is_admin() ) {
|
| 230 |
return false;
|
| 231 |
}
|
| 232 |
+
|
| 233 |
+
if ( apply_filters( $this->product->get_key() . '_hide_license_notices', false ) ) {
|
| 234 |
+
return;
|
| 235 |
+
}
|
| 236 |
$status = $this->get_license_status();
|
| 237 |
$no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No activations left for %s !!!. You need to upgrade your plan in order to use %s on more websites. Please ask the %s Staff for more details.' );
|
| 238 |
$no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
|
| 422 |
update_option( $this->product->get_key() . '_failed_checks', $this->failed_checks );
|
| 423 |
}
|
| 424 |
|
| 425 |
+
/**
|
| 426 |
+
* Set license validation error message.
|
| 427 |
+
*
|
| 428 |
+
* @param string $message Error message.
|
| 429 |
+
*/
|
| 430 |
+
public function set_error( $message = '' ) {
|
| 431 |
+
set_transient( $this->product->get_key() . 'act_err', $message, MINUTE_IN_SECONDS );
|
| 432 |
+
|
| 433 |
+
return;
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
/**
|
| 437 |
+
* Return the last error message.
|
| 438 |
+
*
|
| 439 |
+
* @return mixed Error message.
|
| 440 |
+
*/
|
| 441 |
+
public function get_error() {
|
| 442 |
+
return get_transient( $this->product->get_key() . 'act_err' );
|
| 443 |
+
}
|
| 444 |
+
|
| 445 |
/**
|
| 446 |
* Activate the license remotely.
|
| 447 |
*/
|
| 468 |
$response = wp_remote_get( add_query_arg( $api_params, $this->get_api_url() ) );
|
| 469 |
// make sure the response came back okay.
|
| 470 |
if ( is_wp_error( $response ) ) {
|
| 471 |
+
$this->set_error( sprintf( 'ERROR: Failed to connect to the license service. Please try again later. Reason: %s', $response->get_error_message() ) );
|
|
|
|
| 472 |
|
| 473 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 474 |
}
|
| 475 |
+
|
| 476 |
+
$license_data = json_decode( wp_remote_retrieve_body( $response ) );
|
| 477 |
+
|
| 478 |
+
if ( ! is_object( $license_data ) ) {
|
| 479 |
+
$this->set_error( 'ERROR: Failed to validate license. Please try again in one minute.' );
|
| 480 |
+
|
| 481 |
+
return;
|
| 482 |
+
}
|
| 483 |
+
if ( ! isset( $license_data->license ) ) {
|
| 484 |
+
$license_data->license = 'invalid';
|
| 485 |
+
}
|
| 486 |
+
|
| 487 |
if ( ! isset( $license_data->key ) ) {
|
| 488 |
$license_data->key = $license;
|
| 489 |
}
|
| 494 |
if ( isset( $license_data->plan ) ) {
|
| 495 |
update_option( $this->product->get_key() . '_license_plan', $license_data->plan );
|
| 496 |
}
|
| 497 |
+
$this->set_error( '' );
|
| 498 |
update_option( $this->product->get_key() . '_license_data', $license_data );
|
| 499 |
set_transient( $this->product->get_key() . '_license_data', $license_data, 12 * HOUR_IN_SECONDS );
|
| 500 |
|
vendor/codeinwp/themeisle-sdk/src/Modules/Notification.php
CHANGED
|
@@ -430,6 +430,9 @@ class Notification extends Abstract_Module {
|
|
| 430 |
* @return Notification Module instance.
|
| 431 |
*/
|
| 432 |
public function load( $product ) {
|
|
|
|
|
|
|
|
|
|
| 433 |
$this->product = $product;
|
| 434 |
|
| 435 |
$notifications = apply_filters( 'themeisle_sdk_registered_notifications', [] );
|
| 430 |
* @return Notification Module instance.
|
| 431 |
*/
|
| 432 |
public function load( $product ) {
|
| 433 |
+
if ( apply_filters( 'themeisle_sdk_hide_notifications', false ) ) {
|
| 434 |
+
return;
|
| 435 |
+
}
|
| 436 |
$this->product = $product;
|
| 437 |
|
| 438 |
$notifications = apply_filters( 'themeisle_sdk_registered_notifications', [] );
|
vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php
CHANGED
|
@@ -836,6 +836,11 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
| 836 |
* @return Uninstall_Feedback Current module instance.
|
| 837 |
*/
|
| 838 |
public function load( $product ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 839 |
$this->product = $product;
|
| 840 |
add_action( 'admin_head', array( $this, 'load_resources' ) );
|
| 841 |
add_action( 'wp_ajax_' . $this->product->get_key() . '_uninstall_feedback', array( $this, 'post_deactivate' ) );
|
| 836 |
* @return Uninstall_Feedback Current module instance.
|
| 837 |
*/
|
| 838 |
public function load( $product ) {
|
| 839 |
+
|
| 840 |
+
if ( apply_filters( $product->get_key() . '_hide_uninstall_feedback', false ) ) {
|
| 841 |
+
return;
|
| 842 |
+
}
|
| 843 |
+
|
| 844 |
$this->product = $product;
|
| 845 |
add_action( 'admin_head', array( $this, 'load_resources' ) );
|
| 846 |
add_action( 'wp_ajax_' . $this->product->get_key() . '_uninstall_feedback', array( $this, 'post_deactivate' ) );
|
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 ComposerAutoloaderInit77983c28fea376a5a14202bc4c78a2c7
|
|
| 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 ComposerAutoloaderInit77983c28fea376a5a14202bc4c78a2c7
|
|
| 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 ComposerAutoloaderInit5399fc80dcfc94f1993e27be1b382c0f
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit5399fc80dcfc94f1993e27be1b382c0f', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit5399fc80dcfc94f1993e27be1b382c0f', '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 |
+
composerRequire5399fc80dcfc94f1993e27be1b382c0f($fileIdentifier, $file);
|
| 46 |
}
|
| 47 |
|
| 48 |
return $loader;
|
| 49 |
}
|
| 50 |
}
|
| 51 |
|
| 52 |
+
function composerRequire5399fc80dcfc94f1993e27be1b382c0f($fileIdentifier, $file)
|
| 53 |
{
|
| 54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 55 |
require $file;
|
vendor/composer/installed.json
CHANGED
|
@@ -191,17 +191,17 @@
|
|
| 191 |
},
|
| 192 |
{
|
| 193 |
"name": "codeinwp/themeisle-sdk",
|
| 194 |
-
"version": "3.1.
|
| 195 |
-
"version_normalized": "3.1.
|
| 196 |
"source": {
|
| 197 |
"type": "git",
|
| 198 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
| 199 |
-
"reference": "
|
| 200 |
},
|
| 201 |
"dist": {
|
| 202 |
"type": "zip",
|
| 203 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
| 204 |
-
"reference": "
|
| 205 |
"shasum": ""
|
| 206 |
},
|
| 207 |
"require-dev": {
|
|
@@ -209,7 +209,7 @@
|
|
| 209 |
"squizlabs/php_codesniffer": "^3.1",
|
| 210 |
"wp-coding-standards/wpcs": "^1.0.0"
|
| 211 |
},
|
| 212 |
-
"time": "2019-
|
| 213 |
"type": "library",
|
| 214 |
"installation-source": "dist",
|
| 215 |
"notification-url": "https://packagist.org/downloads/",
|
| 191 |
},
|
| 192 |
{
|
| 193 |
"name": "codeinwp/themeisle-sdk",
|
| 194 |
+
"version": "3.1.5",
|
| 195 |
+
"version_normalized": "3.1.5.0",
|
| 196 |
"source": {
|
| 197 |
"type": "git",
|
| 198 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
| 199 |
+
"reference": "1f98fb7bd044ac52721cd49a1aeca8864d95b23d"
|
| 200 |
},
|
| 201 |
"dist": {
|
| 202 |
"type": "zip",
|
| 203 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/1f98fb7bd044ac52721cd49a1aeca8864d95b23d",
|
| 204 |
+
"reference": "1f98fb7bd044ac52721cd49a1aeca8864d95b23d",
|
| 205 |
"shasum": ""
|
| 206 |
},
|
| 207 |
"require-dev": {
|
| 209 |
"squizlabs/php_codesniffer": "^3.1",
|
| 210 |
"wp-coding-standards/wpcs": "^1.0.0"
|
| 211 |
},
|
| 212 |
+
"time": "2019-09-11 15:16:53",
|
| 213 |
"type": "library",
|
| 214 |
"installation-source": "dist",
|
| 215 |
"notification-url": "https://packagist.org/downloads/",
|
