Skip to content

Commit

Permalink
Fix: add give-form-title and give_title to serialized fields check (#…
Browse files Browse the repository at this point in the history
…7461)

Co-authored-by: Jon Waldstein <[email protected]>
  • Loading branch information
jonwaldstein and Jon Waldstein authored Aug 7, 2024
1 parent a38b14c commit 39d41fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/process-donation.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ function give_donation_form_validate_fields() {
/**
* Detect serialized fields.
*
* @unreleased add give-form-title, give_title
* @since 3.5.0
*/
function give_donation_form_has_serialized_fields(array $post_data): bool
Expand All @@ -438,6 +439,8 @@ function give_donation_form_has_serialized_fields(array $post_data): bool
'give_last',
'give_user_login',
'give_user_pass',
'give-form-title',
'give_title',
];

foreach ($post_data as $key => $value) {
Expand Down

0 comments on commit 39d41fc

Please sign in to comment.