Unyson - Version 2.7.20

Version Description

  • Fixed #3629
Download this release

Release Info

Developer Unyson
Plugin Icon 128x128 Unyson
Version 2.7.20
Comparing to
See all releases

Code changes from version 2.7.19 to 2.7.20

framework/core/class-fw-manifest.php CHANGED
@@ -569,4 +569,4 @@ class FW_Extension_Manifest extends FW_Manifest
569
  {
570
  return $this->manifest['requirements']['extensions'];
571
  }
572
- }
569
  {
570
  return $this->manifest['requirements']['extensions'];
571
  }
572
+ }
framework/core/components/backend/class-fw-settings-form-theme.php CHANGED
@@ -106,6 +106,10 @@ class FW_Settings_Form_Theme extends FW_Settings_Form {
106
  return;
107
  }
108
 
 
 
 
 
109
  if ( ! fw()->theme->locate_path('/options/settings.php') ) {
110
  return;
111
  }
@@ -215,4 +219,4 @@ class FW_Settings_Form_Theme extends FW_Settings_Form {
215
  }
216
  }
217
  }
218
- }
106
  return;
107
  }
108
 
109
+ if (fw()->theme->get_config('disable_theme_settings_page', false)) {
110
+ return;
111
+ }
112
+
113
  if ( ! fw()->theme->locate_path('/options/settings.php') ) {
114
  return;
115
  }
219
  }
220
  }
221
  }
222
+ }
framework/core/components/extensions/manager/class--fw-extensions-manager.php CHANGED
@@ -202,7 +202,7 @@ final class _FW_Extensions_Manager
202
  $available = $available['extensions'];
203
 
204
  // Allow theme to register available extensions
205
- $theme_available_ext_file = fw_fix_path( get_template_directory() ) . fw_get_framework_customizations_dir_rel_path( '/theme/available-extensions.php' );
206
 
207
  if ( file_exists( $theme_available_ext_file ) ) {
208
 
202
  $available = $available['extensions'];
203
 
204
  // Allow theme to register available extensions
205
+ $theme_available_ext_file = fw_fix_path( get_template_directory() ) . apply_filters('fw_theme_available_extensions_file_path', fw_get_framework_customizations_dir_rel_path( '/theme/available-extensions.php' ));
206
 
207
  if ( file_exists( $theme_available_ext_file ) ) {
208
 
framework/core/components/theme.php CHANGED
@@ -15,7 +15,7 @@ final class _FW_Component_Theme {
15
  public function __construct() {
16
  $manifest = array();
17
 
18
- if ( ( $manifest_file = fw_get_template_customizations_directory( '/theme/manifest.php' ) ) && is_file( $manifest_file ) ) {
19
  @include $manifest_file;
20
  }
21
 
@@ -228,7 +228,7 @@ final class _FW_Component_Theme {
228
  <p>
229
  <a href="' . $url_install_plugin . '">' .
230
  __( 'Activate Now | for FREE', 'fw' ) .
231
- '</a>
232
  </p>
233
  <style>
234
  .fw-brz-dismiss {
@@ -262,7 +262,7 @@ final class _FW_Component_Theme {
262
  jQuery(document).ready(function(){
263
  jQuery(document).on( "click", ".fw-brz-dismiss .notice-dismiss", function(){
264
  jQuery.ajax({
265
- url: "' . admin_url( 'admin-ajax.php' ) . ' ",
266
  type: "POST",
267
  data: {fw_brz_admin_notice: 1, action: "fw_brz_dismiss_notice"}
268
  });
15
  public function __construct() {
16
  $manifest = array();
17
 
18
+ if ( ( $manifest_file = apply_filters('fw_framework_manifest_path', fw_get_template_customizations_directory( '/theme/manifest.php' )) ) && is_file( $manifest_file ) ) {
19
  @include $manifest_file;
20
  }
21
 
228
  <p>
229
  <a href="' . $url_install_plugin . '">' .
230
  __( 'Activate Now | for FREE', 'fw' ) .
231
+ '</a>
232
  </p>
233
  <style>
234
  .fw-brz-dismiss {
262
  jQuery(document).ready(function(){
263
  jQuery(document).on( "click", ".fw-brz-dismiss .notice-dismiss", function(){
264
  jQuery.ajax({
265
+ url: "' . admin_url( 'admin-ajax.php' ) . '",
266
  type: "POST",
267
  data: {fw_brz_admin_notice: 1, action: "fw_brz_dismiss_notice"}
268
  });
framework/manifest.php CHANGED
@@ -4,4 +4,4 @@ $manifest = array();
4
 
5
  $manifest['name'] = __('Unyson', 'fw');
6
 
7
- $manifest['version'] = '2.7.19';
4
 
5
  $manifest['name'] = __('Unyson', 'fw');
6
 
7
+ $manifest['version'] = '2.7.20';
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: unyson
3
  Tags: page builder, editor, drag-and-drop, landing-page, widgets, sidebar, backup, shortcodes, backup, seo, breadcrumbs, portfolio, framework
4
  Requires at least: 4.4
5
- Tested up to: 4.9.6
6
- Stable tag: 2.7.19
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -89,6 +89,9 @@ Yes; Unyson will work with any theme.
89
 
90
  == Changelog ==
91
 
 
 
 
92
  = 2.7.19 =
93
  * Security Issue
94
 
2
  Contributors: unyson
3
  Tags: page builder, editor, drag-and-drop, landing-page, widgets, sidebar, backup, shortcodes, backup, seo, breadcrumbs, portfolio, framework
4
  Requires at least: 4.4
5
+ Tested up to: 4.9.8
6
+ Stable tag: 2.7.20
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
89
 
90
  == Changelog ==
91
 
92
+ = 2.7.20 =
93
+ * Fixed [#3629](https://github.com/ThemeFuse/Unyson/issues/3629)
94
+
95
  = 2.7.19 =
96
  * Security Issue
97
 
unyson.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Unyson
4
  * Plugin URI: http://unyson.io/
5
  * Description: A free drag & drop framework that comes with a bunch of built in extensions that will help you develop premium themes fast & easy.
6
- * Version: 2.7.19
7
  * Author: ThemeFuse
8
  * Author URI: http://themefuse.com
9
  * License: GPL2+
3
  * Plugin Name: Unyson
4
  * Plugin URI: http://unyson.io/
5
  * Description: A free drag & drop framework that comes with a bunch of built in extensions that will help you develop premium themes fast & easy.
6
+ * Version: 2.7.20
7
  * Author: ThemeFuse
8
  * Author URI: http://themefuse.com
9
  * License: GPL2+