Skip to content

Commit

Permalink
Merge pull request #819 from brainstormforce/post-access-issue
Browse files Browse the repository at this point in the history
Version 1.6.33
  • Loading branch information
sushmak02 authored May 20, 2024
2 parents 81fd51d + 93120e0 commit 5637a0d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
**Requires at least:** 4.4
**Requires PHP:** 5.4
**Tested up to:** 6.5
**Stable tag:** 1.6.32
**Stable tag:** 1.6.33
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

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

## Changelog ##

### 1.6.33 ###
- Fix: Unable to edit the Header/Footer with Elementor in few cases.

### 1.6.32 ###
- Fix: Improved plugin security.

Expand Down
2 changes: 1 addition & 1 deletion admin/class-hfe-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function column_display_location_rules( $locations ) {
* Register Post type for Elementor Header & Footer Builder templates
*/
public function header_footer_posttype() {
if ( ! ( is_admin() && current_user_can( 'manage_options' ) ) ) {
if ( ! current_user_can( 'manage_options' ) ) {
return;
}
$labels = [
Expand Down
4 changes: 2 additions & 2 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.32
* Version: 1.6.33
* Elementor tested up to: 3.21
* Elementor Pro tested up to: 3.21
*
* @package header-footer-elementor
*/

define( 'HFE_VER', '1.6.32' );
define( 'HFE_VER', '1.6.33' );
define( 'HFE_FILE', __FILE__ );
define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "header-footer-elementor",
"version": "1.6.32",
"version": "1.6.33",
"main": "Gruntfile.js",
"author": "Nikhil Chavan",
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Donate link: https://www.paypal.me/BrainstormForce
Requires at least: 4.4
Requires PHP: 5.4
Tested up to: 6.5
Stable tag: 1.6.32
Stable tag: 1.6.33
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

= 1.6.33 =
- Fix: Unable to edit the Header/Footer with Elementor in few cases.

= 1.6.32 =
- Fix: Improved plugin security.

Expand Down

0 comments on commit 5637a0d

Please sign in to comment.