Hueman Addons - Version 2.2.3

Version Description

Minor fix : deactivate the plugin when previewing Hueman Pro

=

Download this release

Release Info

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

Code changes from version 2.2.2 to 2.2.3

Files changed (3) hide show
  1. ha-fire.php +7 -2
  2. lang/en_US.po +1 -1
  3. readme.txt +6 -3
ha-fire.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Hueman Addons
4
  * Plugin URI: https://presscustomizr.com
5
  * Description: Hueman Theme Addons
6
- * Version: 2.2.2
7
  * Text Domain: hueman-addons
8
  * Author: Press Customizr
9
  * Author URI: https://presscustomizr.com
@@ -23,8 +23,13 @@ function ha_is_hueman_pro() {
23
  $hu_theme = $hu_theme -> parent() ? $hu_theme -> parent() : $hu_theme;
24
  return "hueman-pro" == sanitize_file_name( strtolower( $hu_theme -> name) );
25
  }
 
 
 
 
26
 
27
-
 
28
 
29
  if ( ! function_exists( 'hu_is_real_home') ) {
30
  function hu_is_real_home() {
3
  * Plugin Name: Hueman Addons
4
  * Plugin URI: https://presscustomizr.com
5
  * Description: Hueman Theme Addons
6
+ * Version: 2.2.3
7
  * Text Domain: hueman-addons
8
  * Author: Press Customizr
9
  * Author URI: https://presscustomizr.com
23
  $hu_theme = $hu_theme -> parent() ? $hu_theme -> parent() : $hu_theme;
24
  return "hueman-pro" == sanitize_file_name( strtolower( $hu_theme -> name) );
25
  }
26
+ // introduced to fix https://github.com/presscustomizr/hueman-addons/issues/52
27
+ function ha_is_previewing_hueman_pro() {
28
+ return ( isset( $_GET['theme'] ) && "hueman-pro" == $_GET['theme'] ) || ( isset( $_GET['customize_theme'] ) && "hueman-pro" == $_GET['customize_theme'] );
29
+ }
30
 
31
+ if ( ha_is_previewing_hueman_pro() )
32
+ return;
33
 
34
  if ( ! function_exists( 'hu_is_real_home') ) {
35
  function hu_is_real_home() {
lang/en_US.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Hueman Addons v2.2.2\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.2.3\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
@@ -6,7 +6,7 @@ Tags: hueman theme, hueman, customizer, contextualizer
6
  Requires at least: 4.7
7
  Requires PHP: 5.4
8
  Tested up to: 5.0.1
9
- Stable tag: 2.2.2
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
 
@@ -37,10 +37,13 @@ The plugin has been designed specifically for the Hueman WordPress theme. Lightw
37
  [Documentation here](http://docs.presscustomizr.com/article/242-hueman-addons-how-to-set-the-share-bar-options)
38
 
39
  == Upgrade Notice ==
40
- = 2.2.2 =
41
- Minor fix : unwanted error log displayed in some cases.
42
 
43
  == Changelog ==
 
 
 
44
  = 2.2.2 December 19th, 2018 =
45
  * fixed : unwanted error log displayed. reported here https://wordpress.org/support/topic/error-in-log-10/
46
 
6
  Requires at least: 4.7
7
  Requires PHP: 5.4
8
  Tested up to: 5.0.1
9
+ Stable tag: 2.2.3
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
 
37
  [Documentation here](http://docs.presscustomizr.com/article/242-hueman-addons-how-to-set-the-share-bar-options)
38
 
39
  == Upgrade Notice ==
40
+ = 2.2.3 =
41
+ Minor fix : deactivate the plugin when previewing Hueman Pro
42
 
43
  == Changelog ==
44
+ = 2.2.3 February 10th, 2019 =
45
+ * fixed : deactivate the plugin when previewing Hueman Pro
46
+
47
  = 2.2.2 December 19th, 2018 =
48
  * fixed : unwanted error log displayed. reported here https://wordpress.org/support/topic/error-in-log-10/
49