Customify – A Theme Customizer Booster - Version 2.1.1

Version Description

  • Hide the Fonts section for themes that do not declare support for Font Palettes
Download this release

Release Info

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

Code changes from version 2.1.0 to 2.1.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.1.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.1.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.1.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.1.1' );
65
 
66
  return $instance;
67
  }
includes/class-customify-font-palettes.php CHANGED
@@ -320,8 +320,8 @@ class Customify_Font_Palettes {
320
  * @return bool
321
  */
322
  public function is_supported() {
323
- // For now we will only use the fact that Style Manager is supported.
324
- return apply_filters( 'customify_font_palettes_are_supported', Customify_Style_Manager::instance()->is_supported() );
325
  }
326
 
327
  /**
320
  * @return bool
321
  */
322
  public function is_supported() {
323
+ $has_support = (bool) current_theme_supports( 'style_manager_font_palettes' );
324
+ return apply_filters( 'style_manager_font_palettes_are_supported', $has_support );
325
  }
326
 
327
  /**
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pixelgrade, euthelup, babbardel, vlad.olaru, cristianfrumusanu, ra
3
  Tags: customizer, css, editor, live, preview, customizer
4
  Requires at least: 4.7.0
5
  Tested up to: 4.9.8
6
- Stable tag: 2.1.0
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.1.0 =
49
  * This new version of Customify lets you conveniently change the design of your site with font palettes. Easy as pie.
50
  * Added previews for color palette filters.
3
  Tags: customizer, css, editor, live, preview, customizer
4
  Requires at least: 4.7.0
5
  Tested up to: 4.9.8
6
+ Stable tag: 2.1.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
45
 
46
  == Changelog ==
47
 
48
+ = 2.1.1 =
49
+ * Hide the Fonts section for themes that do not declare support for Font Palettes
50
+
51
  = 2.1.0 =
52
  * This new version of Customify lets you conveniently change the design of your site with font palettes. Easy as pie.
53
  * Added previews for color palette filters.