Header Footer Elementor - Version 1.0.14

Version Description

  • Fix: Fixes possible PHP notices/Errors due to WP_Query being called early for all the supported themes.
Download this release

Release Info

Developer Nikschavan
Plugin Icon Header Footer Elementor
Version 1.0.14
Comparing to
See all releases

Code changes from version 1.0.13 to 1.0.14

header-footer-elementor.php CHANGED
@@ -7,12 +7,12 @@
7
  * Author URI: https://www.brainstormforce.com/
8
  * Text Domain: header-footer-elementor
9
  * Domain Path: /languages
10
- * Version: 1.0.12
11
  *
12
  * @package header-footer-elementor
13
  */
14
 
15
- define( 'HFE_VER', '1.0.12' );
16
  define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
17
  define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
18
  define( 'HFE_PATH', plugin_basename( __FILE__ ) );
7
  * Author URI: https://www.brainstormforce.com/
8
  * Text Domain: header-footer-elementor
9
  * Domain Path: /languages
10
+ * Version: 1.0.14
11
  *
12
  * @package header-footer-elementor
13
  */
14
 
15
+ define( 'HFE_VER', '1.0.14' );
16
  define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
17
  define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
18
  define( 'HFE_PATH', plugin_basename( __FILE__ ) );
languages/header-footer-elementor.pot CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Header Footer Elementor 1.0.12\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/header-footer-elementor\n"
8
- "POT-Creation-Date: 2018-05-22 05:25:27+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
5
  "Project-Id-Version: Header Footer Elementor 1.0.12\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/header-footer-elementor\n"
8
+ "POT-Creation-Date: 2018-05-22 06:47:41+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.paypal.me/BrainstormForce
5
  Requires at least: 4.4
6
  Requires PHP: 5.4
7
  Tested up to: 4.9.6
8
- Stable tag: 1.0.13
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -90,6 +90,9 @@ If the above is nnot possible, You can also add support for the plugin from your
90
 
91
  == Changelog ==
92
 
 
 
 
93
  = 1.0.13 =
94
  - Fix: PHP Notices and errors due to WP_Query being called early when some plugins use filters inside WP_Query.
95
 
5
  Requires at least: 4.4
6
  Requires PHP: 5.4
7
  Tested up to: 4.9.6
8
+ Stable tag: 1.0.14
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
90
 
91
  == Changelog ==
92
 
93
+ = 1.0.14 =
94
+ - Fix: Fixes possible PHP notices/Errors due to WP_Query being called early for all the supported themes.
95
+
96
  = 1.0.13 =
97
  - Fix: PHP Notices and errors due to WP_Query being called early when some plugins use filters inside WP_Query.
98
 
themes/astra/class-hfe-astra-compat.php CHANGED
@@ -25,7 +25,7 @@ class HFE_Astra_Compat {
25
  if ( ! isset( self::$instance ) ) {
26
  self::$instance = new HFE_Astra_Compat();
27
 
28
- self::$instance->hooks();
29
  }
30
 
31
  return self::$instance;
25
  if ( ! isset( self::$instance ) ) {
26
  self::$instance = new HFE_Astra_Compat();
27
 
28
+ add_action( 'wp', array( self::$instance, 'hooks' ) );
29
  }
30
 
31
  return self::$instance;
themes/bb-theme/class-hfe-bb-theme-compat.php CHANGED
@@ -27,7 +27,7 @@ class HFE_BB_Theme_Compat {
27
  if ( ! isset( self::$instance ) ) {
28
  self::$instance = new HFE_BB_Theme_Compat();
29
 
30
- self::$instance->hooks();
31
  }
32
 
33
  return self::$instance;
27
  if ( ! isset( self::$instance ) ) {
28
  self::$instance = new HFE_BB_Theme_Compat();
29
 
30
+ add_action( 'wp', array( self::$instance, 'hooks' ) );
31
  }
32
 
33
  return self::$instance;
themes/generatepress/class-hfe-generatepress-compat.php CHANGED
@@ -27,7 +27,7 @@ class HFE_GeneratePress_Compat {
27
  if ( ! isset( self::$instance ) ) {
28
  self::$instance = new HFE_GeneratePress_Compat();
29
 
30
- self::$instance->hooks();
31
  }
32
 
33
  return self::$instance;
27
  if ( ! isset( self::$instance ) ) {
28
  self::$instance = new HFE_GeneratePress_Compat();
29
 
30
+ add_action( 'wp', array( self::$instance, 'hooks' ) );
31
  }
32
 
33
  return self::$instance;
themes/genesis/class-hfe-genesis-compat.php CHANGED
@@ -25,7 +25,7 @@ class HFE_Genesis_Compat {
25
  if ( ! isset( self::$instance ) ) {
26
  self::$instance = new HFE_Genesis_Compat();
27
 
28
- self::$instance->hooks();
29
  }
30
 
31
  return self::$instance;
25
  if ( ! isset( self::$instance ) ) {
26
  self::$instance = new HFE_Genesis_Compat();
27
 
28
+ add_action( 'wp', array( self::$instance, 'hooks' ) );
29
  }
30
 
31
  return self::$instance;
themes/oceanwp/class-hfe-oceanwp-compat.php CHANGED
@@ -25,7 +25,7 @@ class HFE_OceanWP_Compat {
25
  if ( ! isset( self::$instance ) ) {
26
  self::$instance = new HFE_OceanWP_Compat();
27
 
28
- self::$instance->hooks();
29
  }
30
 
31
  return self::$instance;
25
  if ( ! isset( self::$instance ) ) {
26
  self::$instance = new HFE_OceanWP_Compat();
27
 
28
+ add_action( 'wp', array( self::$instance, 'hooks' ) );
29
  }
30
 
31
  return self::$instance;