Customify – A Theme Customizer Booster - Version 2.3.1

Version Description

  • Fixed some warnings that appeared in certain situations.
Download this release

Release Info

Developer vlad.olaru
Plugin Icon Customify – A Theme Customizer Booster
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3.0 to 2.3.1

Files changed (3) hide show
  1. customify.php +2 -2
  2. features/class-Font_Selector.php +2 -2
  3. readme.txt +4 -1
customify.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Customify
4
  Plugin URI: https://wordpress.org/plugins/customify/
5
  Description: A Theme Customizer Booster
6
- Version: 2.3.0
7
  Author: Pixelgrade
8
  Author URI: https://pixelgrade.com
9
  Author Email: contact@pixelgrade.com
@@ -61,7 +61,7 @@ function PixCustomifyPlugin() {
61
  */
62
  require_once plugin_dir_path( __FILE__ ) . 'class-pixcustomify.php';
63
 
64
- $instance = PixCustomifyPlugin::instance( __FILE__, '2.3.0' );
65
 
66
  return $instance;
67
  }
3
  Plugin Name: Customify
4
  Plugin URI: https://wordpress.org/plugins/customify/
5
  Description: A Theme Customizer Booster
6
+ Version: 2.3.1
7
  Author: Pixelgrade
8
  Author URI: https://pixelgrade.com
9
  Author Email: contact@pixelgrade.com
61
  */
62
  require_once plugin_dir_path( __FILE__ ) . 'class-pixcustomify.php';
63
 
64
+ $instance = PixCustomifyPlugin::instance( __FILE__, '2.3.1' );
65
 
66
  return $instance;
67
  }
features/class-Font_Selector.php CHANGED
@@ -218,11 +218,11 @@ class Customify_Font_Selector {
218
  // $args['local_srcs'] .= $this->theme_fonts[ $value['font_family'] ]['src'] . ',';
219
  // $value['variants'] = $this->theme_fonts[ $value['font_family'] ]['variants'];
220
 
221
- if ( false === strpos( $args['local_families'], $value['font_family'] ) ) {
222
  $args['local_families'][] = "'" . $value['font_family'] . "'";
223
  }
224
 
225
- if ( false === strpos( $args['local_srcs'], $this->theme_fonts[ $value['font_family'] ]['src'] ) ) {
226
  $args['local_srcs'][] = "'" . $this->theme_fonts[ $value['font_family'] ]['src'] . "'";
227
  }
228
  }
218
  // $args['local_srcs'] .= $this->theme_fonts[ $value['font_family'] ]['src'] . ',';
219
  // $value['variants'] = $this->theme_fonts[ $value['font_family'] ]['variants'];
220
 
221
+ if ( false === array_search( $value['font_family'], $args['local_families'] ) ) {
222
  $args['local_families'][] = "'" . $value['font_family'] . "'";
223
  }
224
 
225
+ if ( false === array_search( $this->theme_fonts[ $value['font_family'] ]['src'], $args['local_srcs'] ) ) {
226
  $args['local_srcs'][] = "'" . $this->theme_fonts[ $value['font_family'] ]['src'] . "'";
227
  }
228
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pixelgrade, euthelup, babbardel, vlad.olaru, raduconstantin, razva
3
  Tags: customizer, css, editor, live, preview, customizer
4
  Requires at least: 4.7.0
5
  Tested up to: 5.0.0
6
- Stable tag: 2.1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -45,6 +45,9 @@ With [Customify](https://github.com/pixelgrade/customify), developers can easily
45
 
46
  == Changelog ==
47
 
 
 
 
48
  = 2.3.0 =
49
  * Improved support for the new **Gutenberg block editor.** Compatible with the latest WordPress 5.0 beta version.
50
  * Big **performance improvements** both in the frontend and also in the Customizer.
3
  Tags: customizer, css, editor, live, preview, customizer
4
  Requires at least: 4.7.0
5
  Tested up to: 5.0.0
6
+ Stable tag: 2.3.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
45
 
46
  == Changelog ==
47
 
48
+ = 2.3.1 =
49
+ * Fixed some warnings that appeared in certain situations.
50
+
51
  = 2.3.0 =
52
  * Improved support for the new **Gutenberg block editor.** Compatible with the latest WordPress 5.0 beta version.
53
  * Big **performance improvements** both in the frontend and also in the Customizer.