Skip to content

Commit

Permalink
FIX: render unique wpnonce for each form
Browse files Browse the repository at this point in the history
  • Loading branch information
girafffee committed Mar 26, 2024
1 parent a5a798f commit fa195a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/security/wp-nonce/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function on_render_form( string $html ): string {
}

public function get_nonce_id(): string {
$form_id = jet_fb_live_args()->form_id;
$form_id = jet_fb_live()->form_id;

return self::NONCE_ACTION_PREF . $form_id;
}
Expand Down

0 comments on commit fa195a2

Please sign in to comment.