Skip to content

Commit

Permalink
Remove redundant code logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Dec 19, 2024
1 parent 9dc900f commit 8437522
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions classes/ThirdParty/Plugins/GravityForms.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public function imagify_gf_noconflict_scripts( $scripts ): array {
* @return bool
*/
private function is_gravity_forms_no_conflict_mode_enabled(): bool {
return get_option( 'gform_enable_noconflict', false )
&& GFForms::is_gravity_page();
return (bool) get_option( 'gform_enable_noconflict', false );
}
}

0 comments on commit 8437522

Please sign in to comment.