Gravity Forms 1.8.10

Gravity Forms was updated to version 1.8.10, from version 1.8.9. Changelog:

  • Added gform_enable_shortcode_notification_message hook to allow for disabling shortcode processing of notification messages.
  • Added $field_values as a third paramater for the gform_pre_render filter.
  • Added new hook: ‘gform_send_email_failed’; allows interception when a call to GFCommon::send_email() fails.
  • Added new JS filter: ‘gform_calculation_formula’ to allow modifying formula before it is processed by GF on frontend.
  • Added $rule and $form parameters to the gform_is_value_match filter.
  • Added GFCommon::esc_like() method to fix deprecation notice in WP 4.0 while maintaining backwards compatibility with previous WP versions.
  • Added condition to not include “gform_chosen” if “chosen” is already enqueued.
  • Updated gf_reset_to_default() to not select disabled options in drop downs when reseting default value.
  • Updated GCommon::is_valid_url() to use filter_var( $url, FILTER_VALIDATE_URL ).
  • Updated GCommon::is_valid_email() to use filter_var( $email, FILTER_VALIDATE_EMAIL ).
  • Updated entry details payment information markup.
  • Updated complete_payment function to update the entry’s payment_amount, transaction_id, and payment_date for the Payment Add-On.
  • Updated process for enqueuing chosen script to check if “chosen” is a registered handle and if so to include it instead of “gform_chosen”.
  • Updated French translation.
  • Updated product calculation field to allow the label to be changed dynamically like the single product field.
  • Updated delete_leads_by_form function to include deleting data from the lead meta table.
  • Fixed fatal error triggered on some servers.
  • Fixed Debug Mode Notice message.
  • Fixed an issue with multi-page, ajax-enabled forms with images as buttons where multiple spinners were displayed during form submission.
  • Fixed issue with multi file upload merge tag.
  • Fixed issue with confirmation type “Page” when permalink contains a query string.
  • Fixed bug with default values for conditional logic where any choice with a ‘price’ attr set (even if it wasn’t a pricing field) was incorrectly treated as a pricing value.
  • Fixed a issue with GFCommon::esc_like() causing a fatal error on WordPress < 4.0.
  • Fixed an issue with checkbox, radio button and drop-down fields which caused data to be saved incorrectly if a pipe (“|”) was used in a choice value.
  • Fixed the validation of the website field to accept commas in the path.
  • Fixed notices thrown in WP 4.0 on pages using/extending WP_List_Table.
  • Fixed an issue affecting the search function on the entry list and the conditional logic on the entry export page where field choice values would be taken into account but not their corresponding texts/labels while performing a global search based on any form field. This affects all radio, checkbox and drop-down fields plus derivative fields in add-ons i.e. Poll, Survey and Quiz fields.
  • Fixed a bug with conditional logic animation in Firefox.
  • Fixed “Index too large” error for payment addons.
  • Fixed issue with inactive notifications getting changed back to active when notification is edited.
  • Fixed issue where admin label was not used for fields in the inactive column on the “Select Columns” ui.
  • Fixed issue where is_section_empty() returned true even if section contained a product field and ‘gform_display_product_summary’ filter returned false.
  • Fixed issue where tags were being displayed on notifications even when the message type was set to “text”.
  • Fixed notice thrown in update_confirmation function when isDefault not set.
  • Fixed warnings thrown in get_version_info when the response is not an array.
  • Updated GFAPI::get_entries() to include field choice texts in addition to values when performing a global search.
  • Added support for checkbox item callback to allow an individual checkbox item to be customized.
  • Added a post_callback function to the Payment Add-On.
  • Added tooltips to the Payment Add-On.
  • Added support for formatting inputs as currency.
  • Added register and init_addons() function to allow for aid in initializing addons and support overriding them.
  • Added code to update the payment_gateway meta for the entry when the gateway is a URL redirect for the Payment Add-On.
  • Updated ‘name’ property of plugin settings tabs to use slug rather than short title.
  • Updated priority of Payment AF validation from 10 to 20 to ensure all validation has passed before payment validation occurs (resolves issue where validation could sometimes fail AFTER a subscription was created).
  • Updated payment Add-On so that redirect_url() is called earlier in the page life-cycle.
  • Updated process_capture function to set is_fulfilled to true so complete_payment function uses the entry value for Payment Add-On.
  • Updated maybe_process_feed function to handle delayed payments for the Payment Add-On.
  • Updated process_capture function in the Payment Add-on to call complete_payment.
  • Updated Payment AF validation to only validate if the validation result is valid.
  • Updated maybe_process_feeds function to not process feeds set as inactive.
  • Updated confirmation function to set the transaction type on the entry for payment gateways that redirect to a url for the Payment Add-On.
  • Fixed issue with sales page where payment method drop down displayed blank values.
  • Fixed issue when creating subscriptions upon first subscription payment.
  • Fixed issue with payment going to gateway when the amount was negative.
  • Fixed issue with results page displaying an error message for the Stripe Add-On.
  • Fixed issue that caused a $0.00 total when selecting the same product field for the subscription payment and trial payment.
  • Fixed issue with plugin settings page displaying slug instead of Title.
  • Fixed issue with payment add-on sending requests to payment gateways even when payment was $0.00.
  • Fixed notice thrown in the process_callback_action function when logging for the Payment Add-On.
  • Fixed misspelling on database key in create table for …gf_addon_payment_transaction for the Payment Add-On.
  • Fixed notices thrown in the complete_payment function in the Payment Add-On.
  • Fixed issue where “name” attribute was output twice.
  • Fixed issue where feed status was not saved.