Skip to content

Commit

Permalink
updating fix for new PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Dec 21, 2023
1 parent b77d806 commit 81a2bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eightshift-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Description: Eightshift Forms is a complete form builder plugin that utilizes modern Block editor features with multiple third-party integrations, bringing your project to a new level.
* Author: WordPress team @Infinum
* Author URI: https://eightshift.com/
* Version: 4.0.118
* Version: 4.0.119
* Text Domain: eightshift-forms
*
* @package EightshiftForms
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ public static function isBlockEditor(): bool
return false;
}

$currentScreen = \get_current_screen();
$currentScreen = \get_current_screen() ?? '';

if (!\method_exists($currentScreen, 'is_block_editor')) {
return false;
Expand Down

0 comments on commit 81a2bec

Please sign in to comment.