Skip to content

Commit

Permalink
Fixed issue with gform_post_save_feed_settings hook callback that p…
Browse files Browse the repository at this point in the history
…otentially breaks other plugins.
  • Loading branch information
veryspry authored and claygriffiths committed Jun 26, 2024
1 parent eb19f20 commit be979a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions class-gwiz-gf-code-chest.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ public function noconflict_styles( $scripts = array() ) {
}

public function save_code_chest_settings( $feed_id, $form_id, $settings, $feed_addon_instance ) {
if ( ! ( $feed_addon_instance instanceof GWiz_GF_Code_Chest ) ) {
return;
}

/**
* Note that this must be handled manually as we (almost) completelty override the
* settings form markup which apparently prevents GF from saving the settings.
Expand Down

0 comments on commit be979a4

Please sign in to comment.