Skip to content

Commit

Permalink
Merge pull request #713 from brainstormforce/release-candidate
Browse files Browse the repository at this point in the history
Build: Release PR Release candidate to Master PR for v1.6.15
  • Loading branch information
sushmak02 authored Jul 27, 2023
2 parents 9da1c20 + a383bd5 commit b679aea
Show file tree
Hide file tree
Showing 10 changed files with 371 additions and 204 deletions.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Elementor Header & Footer Builder #
**Contributors:** [brainstormforce](https://profiles.wordpress.org/brainstormforce/), [nikschavan](https://profiles.wordpress.org/nikschavan/)
**Tags:** elementor, header footer builder, header template, footer template, elementor widget, WordPress header, WordPress footer, elementor menu, website header design, footer design, blocks
**Donate link:** https://www.paypal.me/BrainstormForce
**Requires at least:** 4.4
**Requires PHP:** 5.4
**Tested up to:** 6.2
**Stable tag:** 1.6.14
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
**Contributors:** [brainstormforce](https://profiles.wordpress.org/brainstormforce/), [nikschavan](https://profiles.wordpress.org/nikschavan/)
**Tags:** elementor, header footer builder, header template, footer template, elementor widget, WordPress header, WordPress footer, elementor menu, website header design, footer design, blocks
**Donate link:** https://www.paypal.me/BrainstormForce
**Requires at least:** 4.4
**Requires PHP:** 5.4
**Tested up to:** 6.2
**Stable tag:** 1.6.15
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Create Header, Footer and Blocks for your WordPress website using Elementor Page Builder for free.

Expand Down Expand Up @@ -138,6 +138,13 @@ This same applies when you are creating your Header/Footer using this plugin.

## Changelog ##

### 1.6.15 ###
- Improvement: Compatibility with latest Elementor and Elementor Pro 3.15 version.
- Improvement: Added WPML support.
- Fix: Navigation Menu - HTML validation error on mobile layout related to tabindex inside elements with attribute [role="button"].
- Fix: Polylang plugin language causes conflicts when set up with a custom Header Footer.
- Fix: Site Logo - Align icons not rendering in Elementor editor settings.

### 1.6.14 ###
- Improvement: Compatibility with Elementor version 3.13 and Elementor Pro version 3.13
- Fix: Navigation Menu - Accessibility error corrected for [aria-hidden="true"] attribute.
Expand Down
8 changes: 4 additions & 4 deletions header-footer-elementor.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
* Author URI: https://www.brainstormforce.com/
* Text Domain: header-footer-elementor
* Domain Path: /languages
* Version: 1.6.14
* Elementor tested up to: 3.13
* Elementor Pro tested up to: 3.13
* Version: 1.6.15
* Elementor tested up to: 3.15
* Elementor Pro tested up to: 3.15
*
* @package header-footer-elementor
*/

define( 'HFE_VER', '1.6.14' );
define( 'HFE_VER', '1.6.15' );
define( 'HFE_FILE', __FILE__ );
define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
Expand Down
8 changes: 7 additions & 1 deletion inc/class-header-footer-elementor.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,13 @@ public static function get_template_id( $type ) {

foreach ( $hfe_templates as $template ) {
if ( get_post_meta( absint( $template['id'] ), 'ehf_template_type', true ) === $type ) {
return $template['id'];
if ( function_exists( 'pll_current_language' ) ) {
if ( pll_current_language( 'slug' ) == pll_get_post_language( $template['id'], 'slug' ) ) {
return $template['id'];
}
} else {
return $template['id'];
}
}
}

Expand Down
5 changes: 4 additions & 1 deletion inc/widgets-manager/widgets/class-navigation-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -2020,7 +2020,10 @@ protected function render() {
<div role="button" class="hfe-nav-menu__toggle elementor-clickable">
<span class="screen-reader-text"><?php esc_html_e( 'Menu', 'header-footer-elementor' ); ?></span>
<div class="hfe-nav-menu-icon">
<?php echo isset( $menu_close_icons[0] ) ? $menu_close_icons[0] : ''; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<?php
$menu_close_icons[0] = str_replace( 'tabindex="0"', '', $menu_close_icons[0] );
echo isset( $menu_close_icons[0] ) ? $menu_close_icons[0] : ''; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
</div>
</div>
<nav <?php echo $this->get_render_attribute_string( 'hfe-nav-menu' ); ?>><?php echo $menu_html; ?></nav>
Expand Down
6 changes: 3 additions & 3 deletions inc/widgets-manager/widgets/class-site-logo.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ protected function register_content_site_logo_controls() {
'options' => [
'left' => [
'title' => __( 'Left', 'header-footer-elementor' ),
'icon' => 'fa fa-align-left',
'icon' => 'eicon-text-align-left',
],
'center' => [
'title' => __( 'Center', 'header-footer-elementor' ),
'icon' => 'fa fa-align-center',
'icon' => 'eicon-text-align-center',
],
'right' => [
'title' => __( 'Right', 'header-footer-elementor' ),
'icon' => 'fa fa-align-right',
'icon' => 'eicon-text-align-right',
],
],
'default' => 'center',
Expand Down
4 changes: 2 additions & 2 deletions languages/header-footer-elementor.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# This file is distributed under the same license as the Elementor Header & Footer Builder package.
msgid ""
msgstr ""
"Project-Id-Version: Elementor Header & Footer Builder 1.6.14\n"
"Project-Id-Version: Elementor Header & Footer Builder 1.6.15\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/header-footer-elementor\n"
"POT-Creation-Date: 2023-05-11 04:40:05+00:00\n"
"POT-Creation-Date: 2023-07-27 06:28:52+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Loading

0 comments on commit b679aea

Please sign in to comment.