You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: change_log.txt
+10
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,13 @@
1
+
### 2.9.7.2
2
+
- API: Fixed an issue with the gform/post_render event being fired too early during an AJAX submission, which causes conflicts with certain add-ons.
3
+
- Updated the default honeypot action from "Do not create an entry" to "Create an entry and mark it as spam".
4
+
- Fixed an issue where the honeypot doesn't work with new Ajax.
5
+
- API: Updated GFAPI::submit_form() to support an optional 6th param, $initiated_by, the process that initiated the submission. Supported integers are 1 (aka GFFormDisplay::SUBMISSION_INITIATED_BY_WEBFORM) or 2 (aka GFFormDisplay::SUBMISSION_INITIATED_BY_API). Defaults to GFFormDisplay::SUBMISSION_INITIATED_BY_API.
6
+
- API: Updated the result returned by GFAPI::submit_form() to include the is_spam, confirmation_message, and confirmation_type properties when the form fails honeypot validation and it is configured to use the "Do not create an entry" action.
7
+
- Fixed a PHP fatal error that occurs during background processing if another plugin includes an older version of WP_Async_Request that doesn't include maybe_wp_die().
8
+
- Fixed a PHP fatal error that occurs in wp_date() for some PHP versions and timestamps during background processing if a batch has previously been attempted.
9
+
- Fixed a 403 error that occurs when a background processor dispatch method is called during an admin-ajax.php request, such as the one used to process new Ajax enabled form submissions.
10
+
1
11
### 2.9.7.1
2
12
- Fixed an accessibility issue where the consent field description does not get keyboard focus.
3
13
- Added a setting to disable the dashboard widget.
* @since 2.9.9 Added the optional $initiated_by param.
1673
1668
*
1674
-
* @param int $form_id The Form ID
1675
-
* @param array $input_values An array of values. Not $_POST, that will be automatically merged with the $input_values.
1676
-
* @param array $field_values Optional.
1677
-
* @param int $target_page Optional.
1678
-
* @param int $source_page Optional.
1669
+
* @param int $form_id The Form ID
1670
+
* @param array $input_values An array of values. Not $_POST, that will be automatically merged with the $input_values.
1671
+
* @param array $field_values Optional. An array of dynamic population parameter keys with their corresponding values used to populate the fields.
1672
+
* @param int $target_page Optional. For multi-page forms to indicate which page is to be loaded if the current page passes validation. Default is 0, indicating the last or only page is being submitted.
1673
+
* @param int $source_page Optional. For multi-page forms to indicate which page of the form was just submitted. Default is 1.
1674
+
* @param null|int $initiated_by Optional. The process that initiated the submission. Supported integers are 1 (aka GFFormDisplay::SUBMISSION_INITIATED_BY_WEBFORM) or 2 (aka GFFormDisplay::SUBMISSION_INITIATED_BY_API). Defaults to GFFormDisplay::SUBMISSION_INITIATED_BY_API.
1679
1675
*
1680
1676
* @return array|WP_Error An array containing the result of the submission.
0 commit comments