Hueman Addons - Version 2.0.14

Version Description

November 12 2017 = * Fix : error when previewing theme in the customizer. Fixes #42.

Download this release

Release Info

Developer nikeo
Plugin Icon 128x128 Hueman Addons
Version 2.0.14
Comparing to
See all releases

Code changes from version 2.0.13 to 2.0.14

Files changed (5) hide show
  1. addons/ha-init.php +1 -1
  2. addons/skop/czr-skop.php +10 -8
  3. ha-fire.php +1 -1
  4. lang/en_US.po +1 -1
  5. readme.txt +4 -1
addons/ha-init.php CHANGED
@@ -71,7 +71,6 @@ if ( ! class_exists( 'HU_AD' ) ) :
71
  }
72
  }
73
 
74
-
75
  //TEXT DOMAIN
76
  //adds plugin text domain
77
  add_action( 'plugins_loaded', array( $this , 'ha_plugin_lang' ) );
@@ -385,6 +384,7 @@ if ( ! class_exists( 'HU_AD' ) ) :
385
  }
386
  }
387
 
 
388
  function ha_isprevdem() {
389
  $_active_theme = $this -> ha_get_raw_option( 'template' );
390
  $hu_theme = wp_get_theme();
71
  }
72
  }
73
 
 
74
  //TEXT DOMAIN
75
  //adds plugin text domain
76
  add_action( 'plugins_loaded', array( $this , 'ha_plugin_lang' ) );
384
  }
385
  }
386
 
387
+ //@return bool
388
  function ha_isprevdem() {
389
  $_active_theme = $this -> ha_get_raw_option( 'template' );
390
  $hu_theme = wp_get_theme();
addons/skop/czr-skop.php CHANGED
@@ -2147,14 +2147,16 @@ if ( ! class_exists( 'HA_Skop_Cust_Register' ) ) :
2147
  function ha_alter_wp_customizer_settings( $manager ) {
2148
  if ( is_object( $manager->get_setting( 'header_image_data' ) ) ) {
2149
  $manager -> remove_setting( 'header_image_data' );
2150
- $manager -> add_setting( new HA_Customize_Header_Image_Data_Setting( $manager, 'header_image_data', array(
2151
- 'theme_supports' => 'custom-header',
2152
- ) ) );
2153
- $manager -> remove_setting( 'header_image' );
2154
- $manager -> add_setting( new HA_Customize_Header_Image_Setting( $manager, 'header_image', array(
2155
- 'default' => get_theme_support( 'custom-header', 'default-image' ),
2156
- 'theme_supports' => 'custom-header',
2157
- ) ) );
 
 
2158
  }
2159
 
2160
  if ( is_object( $manager->get_control( 'hu_theme_options[layout-global]' ) ) ) {
2147
  function ha_alter_wp_customizer_settings( $manager ) {
2148
  if ( is_object( $manager->get_setting( 'header_image_data' ) ) ) {
2149
  $manager -> remove_setting( 'header_image_data' );
2150
+ if ( class_exists( 'HA_Customize_Header_Image_Data_Setting' ) && class_exists( 'HA_Customize_Header_Image_Setting' ) ) {
2151
+ $manager -> add_setting( new HA_Customize_Header_Image_Data_Setting( $manager, 'header_image_data', array(
2152
+ 'theme_supports' => 'custom-header',
2153
+ ) ) );
2154
+ $manager -> remove_setting( 'header_image' );
2155
+ $manager -> add_setting( new HA_Customize_Header_Image_Setting( $manager, 'header_image', array(
2156
+ 'default' => get_theme_support( 'custom-header', 'default-image' ),
2157
+ 'theme_supports' => 'custom-header',
2158
+ ) ) );
2159
+ }
2160
  }
2161
 
2162
  if ( is_object( $manager->get_control( 'hu_theme_options[layout-global]' ) ) ) {
ha-fire.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Hueman Addons
4
  * Plugin URI: http://presscustomizr.com
5
  * Description: Hueman Theme Addons
6
- * Version: 2.0.13
7
  * Text Domain: hueman-addons
8
  * Author: Press Customizr
9
  * Author URI: http://presscustomizr.com
3
  * Plugin Name: Hueman Addons
4
  * Plugin URI: http://presscustomizr.com
5
  * Description: Hueman Theme Addons
6
+ * Version: 2.0.14
7
  * Text Domain: hueman-addons
8
  * Author: Press Customizr
9
  * Author URI: http://presscustomizr.com
lang/en_US.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Hueman Addons v2.0.13\n"
4
  "POT-Creation-Date: 2016-12-19 18:13+0100\n"
5
  "PO-Revision-Date: 2016-12-19 18:14+0100\n"
6
  "Last-Translator: \n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Hueman Addons v2.0.14\n"
4
  "POT-Creation-Date: 2016-12-19 18:13+0100\n"
5
  "PO-Revision-Date: 2016-12-19 18:14+0100\n"
6
  "Last-Translator: \n"
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://wordpress.org/plugins/hueman-addons/
5
  Tags: hueman theme, hueman
6
  Requires at least: 3.4
7
  Tested up to: 4.9.0
8
- Stable tag: 2.0.13
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -37,6 +37,9 @@ The plugin has been designed specifically for the Hueman WordPress theme. Lightw
37
 
38
 
39
  == Changelog ==
 
 
 
40
  = 2.0.13 November 11th 2017 =
41
  * Fix : admin bar style printed when user not logged in
42
  * Fix : polylang compat => exclude nav_menu_locations, blogname and blogdescription from "by page customization" when polylang is active. Fixes #34. Fix presscustomizr/hueman#377
5
  Tags: hueman theme, hueman
6
  Requires at least: 3.4
7
  Tested up to: 4.9.0
8
+ Stable tag: 2.0.14
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
37
 
38
 
39
  == Changelog ==
40
+ = 2.0.14 November 12 2017 =
41
+ * Fix : error when previewing theme in the customizer. Fixes #42.
42
+
43
  = 2.0.13 November 11th 2017 =
44
  * Fix : admin bar style printed when user not logged in
45
  * Fix : polylang compat => exclude nav_menu_locations, blogname and blogdescription from "by page customization" when polylang is active. Fixes #34. Fix presscustomizr/hueman#377