Customify – A Theme Customizer Booster - Version 2.9.1

Version Description

  • Fixes errors with Google Fonts in some instances.
Download this release

Release Info

Developer pixelgrade
Plugin Icon Customify – A Theme Customizer Booster
Version 2.9.1
Comparing to
See all releases

Code changes from version 2.9.0 to 2.9.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 to easily and consistently customize Fonts, Colors, and other options for your site.
6
- * Version: 2.9.0
7
  * Author: Pixelgrade
8
  * Author URI: https://pixelgrade.com
9
  * Author Email: contact@pixelgrade.com
@@ -33,7 +33,7 @@ require_once 'includes/extras.php';
33
  function PixCustomifyPlugin() {
34
  require_once plugin_dir_path( __FILE__ ) . 'includes/class-pixcustomify.php';
35
 
36
- return PixCustomifyPlugin::instance( __FILE__, '2.9.0' );
37
  }
38
 
39
  // Now get the party started.
3
  * Plugin Name: Customify
4
  * Plugin URI: https://wordpress.org/plugins/customify/
5
  * Description: A Theme Customizer Booster to easily and consistently customize Fonts, Colors, and other options for your site.
6
+ * Version: 2.9.1
7
  * Author: Pixelgrade
8
  * Author URI: https://pixelgrade.com
9
  * Author Email: contact@pixelgrade.com
33
  function PixCustomifyPlugin() {
34
  require_once plugin_dir_path( __FILE__ ) . 'includes/class-pixcustomify.php';
35
 
36
+ return PixCustomifyPlugin::instance( __FILE__, '2.9.1' );
37
  }
38
 
39
  // Now get the party started.
includes/class-customify-fonts-global.php CHANGED
@@ -2175,7 +2175,7 @@ if (typeof WebFont !== 'undefined') {
2175
 
2176
  $axisTuplesList = [];
2177
  foreach ( $allWeights as $weight ) {
2178
- // Go through all axis determine the tuple (e.g. italic 400 becomes 1,400; or 700 becomes 0,700)
2179
  // The ital axis can only have the value 0 or 1.
2180
  if ( false !== array_search( $weight, $styleWeights['normal'] ) ) {
2181
  $axisTuplesList[] = '0,' . $weight;
@@ -2189,7 +2189,7 @@ if (typeof WebFont !== 'undefined') {
2189
  // We must make sure that the axis tags are ordered alphabetically.
2190
  sort( $axisTagsList, SORT_STRING );
2191
  // We also need to sort the tuples, numerically.
2192
- sort( $axisTuplesList, SORT_NUMERIC );
2193
 
2194
  $stylesString = join( ',', $axisTagsList ) . '@' . join( ';', $axisTuplesList );
2195
  }
2175
 
2176
  $axisTuplesList = [];
2177
  foreach ( $allWeights as $weight ) {
2178
+ // Go through all axes determine the tuple (e.g. italic 400 becomes 1,400; or 700 becomes 0,700)
2179
  // The ital axis can only have the value 0 or 1.
2180
  if ( false !== array_search( $weight, $styleWeights['normal'] ) ) {
2181
  $axisTuplesList[] = '0,' . $weight;
2189
  // We must make sure that the axis tags are ordered alphabetically.
2190
  sort( $axisTagsList, SORT_STRING );
2191
  // We also need to sort the tuples, numerically.
2192
+ sort( $axisTuplesList, SORT_STRING );
2193
 
2194
  $stylesString = join( ',', $axisTagsList ) . '@' . join( ';', $axisTuplesList );
2195
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pixelgrade, vlad.olaru, babbardel, razvanonofrei, gorby31
3
  Tags: design, customizer, fonts, colors, gutenberg, font palettes, color palettes
4
  Requires at least: 4.9.14
5
  Tested up to: 5.4.2
6
- Stable tag: 2.9.0
7
  Requires PHP: 5.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -30,6 +30,9 @@ This plugin is **primarily intended** to be used together with [Pixelgrade theme
30
 
31
  == Changelog ==
32
 
 
 
 
33
  = 2.9.0 =
34
  * **Feature:** Introduces the ability to easily **search through all Customizer settings, menus, and widgets**
35
  * **Feature:** Introduces the ability to migrate parent theme customization options when switching to a child theme; this way you don't lose your existing customizations
3
  Tags: design, customizer, fonts, colors, gutenberg, font palettes, color palettes
4
  Requires at least: 4.9.14
5
  Tested up to: 5.4.2
6
+ Stable tag: 2.9.1
7
  Requires PHP: 5.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
30
 
31
  == Changelog ==
32
 
33
+ = 2.9.1 =
34
+ * Fixes errors with Google Fonts in some instances.
35
+
36
  = 2.9.0 =
37
  * **Feature:** Introduces the ability to easily **search through all Customizer settings, menus, and widgets**
38
  * **Feature:** Introduces the ability to migrate parent theme customization options when switching to a child theme; this way you don't lose your existing customizations