2016-08-10

Hello buddies! This is the last release of Gravity Forms.

Download Gravity Forms 2.0.6 – 2016.08.08 – Changelog

You can read the latest entries in Gravity Forms changelog below:

Version 2.0.6
– Fixed a JS error which could occur when conditional logic was based on a calculation result.
– Fixed an issue where the form title could revert back to the previous title if the update form button is used in the form editor after using the form title editor.

Version 2.0.5
– Added debug statements for troubleshooting uploads.
– Fixed an issue with the upgrade process for some database configurations.
– Fixed an issue with the location of the js gf_get_field_number_format function.
– Fixed an issue in the form editor when using Firefox which prevented the field from opening for editing when clicking on a field input.
– Fixed an issue where an upgrade error admin notice is displayed unnecessarily when the database upgrade is complete but there are no entries to migrate.
– Fixed issue with conditional logic dependent on any Pricing field.
– Fixed an issue with the capability required to access the import forms tab.

– AF: Fixed PHP notice when using a save callback on a plugin or feed settings field.

Version 2.0.4
– Added support for the “urlencode” modifier on the field merge tag e.g. {File:5:urlencode}.
– Added support for using the fileupload field “download” modifier with the {all_fields} merge tag.
– Added gform_export_max_execution_time filter to allow the max execution time for exports to be changed.
– Added the gform_default_address_type filter for overriding the default address type for new fields.
– Updated rgar() and rgars() to support object with ArrayAccess.
– Updated inline form title editor so that only users with form edit permissions can change form title.
– Fixed a conflict between the Partials Entries Add-On and the Payment Add-Ons that would cause payments to be captured before the submit button was clicked.
– Fixed an issue preventing the completion of the installation wizard on some sites.
– Fixed issue with calculation rounding.
– Fixed issue where inputs-specific conditional logic was not correctly evaluated on submission.
– Fixed fatal error which could occur on the entry list page.
– Fixed a fatal error which could occur in some situations when cleaning currency formatted values.
– Fixed an issue with entry export for some installations that use alternative stream wrappers for writing to the uploads folder e.g. S3.
– Fixed issue with conditional logic on different number formats.
– Fixed an issue with the Address field in the form editor.
– Fixed {all_fields} merge tag converting field label characters to HTML entities when using the text format.

Version 2.0.3
– Added support for embed shortcode for HTML fields.
– Added form switcher to entry detail view.
– Added the “download” modifier to the fileupload field merge tag to force the file to be downloaded instead of opened in the browser.
– Added the gform_secure_file_download_location filter to allow the file security to be bypassed. Not recommended – use with caution.
– Added form title edit popup so that form title can be edited from any form page.
– Added new form switcher.
– Updated create form popup so that the form can be created by pressing the “enter” key while on the title input.
– Updated the error messages for upgrade issues.
– Fixed issues the gform_entries_column_filter and gform_entries_column hooks.
– Fixed issue with entry export.
– Fixed issue with gform_entries_first_column hook.
– Fixed an issue with the validation of the notification reply-to and bcc fields.
– Fixed issue with conditional logic when using translations that change number formatting.
– Fixed issue causing form to be submitted on any key press when button had focus.
– Fixed issue saving background updates setting in installation wizard.
– Fixed issues with sales graph.
– Fixed issues with {pricing_fields} markup.
– Fixed an issue with the upgrade process from 1.9 to 2.0 for some installations with the HyperDB plugin configured.
– Fixed issue where long custom meta keys caused Custom Field Name select to break out of field settings container.
– Fixed an issue with the upgrade process from 1.9 to 2.0.
– Fixed an issue with the download of files uploaded by the file upload field. Files now open in the browser by default. Add the dl=1 URL param to force the download.
– Fixed an issue with the gform_is_value_match filter parameters which could occur when evaluating rules based on entry meta.
– Fixed issue where gf_is_match() was selecting incorrect inputs for matching.
– AF: Implemented pre-defined field mapping to automatically select matching fields when creating feeds.

Version 2.0.2
– Fixed an issue with the notifications meta box on the entry detail page not displaying the result messages.
– Fixed an issue where the start and end paging fields would close in form editor upon keypress within a setting.
– Fixed an issue where the entry search UI doesn’t appear in the entry list for users without the gravityforms_edit_forms capability.
– Fixed issue where non-input-specific conditional logic would fail on forms where field IDs “overlapped” (i.e. 10 & 100, 9 & 90)
– Fixed styling issues.

Version 2.0.1
– Added the gform_process_template_shortcodes_pre_create_post filter. See https://www.gravityhelp.com/documentation/article/gform_process_template_shortcodes_pre_create_post/
– Updated reCAPTCHA settings to force user to use reCAPTCHA widget to validate reCAPTCHA keys.
– Updated minimum WordPress version required for support to 4.4.
– Fixed PHP notice related to Captcha field validation when using the reCAPTCHA type.
– Fixed an issue with the initial setup where the installation wizard is queued for display after installation via the CLI.
– Fixed an issue with the permissions in the toolbar menu.
– Fixed an issue saving the value for the date drop down field type.
– Fixed “Stoken disabled” issue with reCAPTCHA; users must revalidate keys.
– Fixed fatal errors on uninstall and license key change.

Version 2.0.0
– Security enhancement: Fixed security issues in the admin pages.
– Security enhancement: The location of uploaded files is now hidden by default.
– Security enhancement: Added the gform_sanitize_confirmation_message filter. Return true to sanitize the entire confirmation just before rendering. This is an additional layer of security to ensure that values from merge tags used inside HTML are encoded properly and all scripts are removed. Useful for super-admins in multisite installations where site admins are not trusted.
Example: add_filter( ‘gform_sanitize_confirmation_message’, ‘__return_true’ );

– Accessibility enhancement: Added alternative content for AJAX form iframe.
– Accessibility enhancement: Added ARIA invalid and required attributes to donation, email, hidden, name, number, password, phone, post custom field, post excerpt, post tags, post title, price, select, text, textarea and website fields.
– Accessibility enhancement: Fixed an accessibility issue with list field when styling was called with an inline element.
– Accessibility enhancement: Fixed an accessibility issue with onkeypress attributes not accompanying onclick attributes.

– Styling enhancement: Improved RTL support.
– Styling enhancement: Improved responsive/adaptive support.
– Styling enhancement: Improved vertical alignment.

– Added “Duplicate” and “Trash” to form menu to maintain consistency with form list actions.
– Added ‘forms per page’ screen option to the form list.
– Added GFEntryDetail::set_current_entry() for updating the cached entry on the entry detail page.
– Added the Forms Toolbar bar menu.
– Added the Toolbar menu setting.
– Added the gform_entry_detail_meta_boxes filter allowing custom meta boxes to be added to the entry detail page. See https://www.gravityhelp.com/documentation/article/gform_entry_detail_meta_boxes/
– Added filter ‘gform_progress_steps’ to allow modifying/replacing the progress steps markup. See https://www.gravityhelp.com/documentation/article/gform_progress_steps/
– Added support for Loco Translate which stores translations in WP_LANG_DIR/plugins/.
– Added English translations (AU, GB, NZ). Credit: Ross McKay.
– Added filter ‘gform_progress_bar’ to allow modifying/replacing progress bar markup. See https://www.gravityhelp.com/documentation/article/gform_progress_bar/
– Added the gform_phone_formats filter and form specific version allowing custom phone formats to be defined. See https://www.gravityhelp.com/documentation/article/gform_phone_formats/
– Added JS filter ‘gform_spinner_target_elem’ to allow changing the element after which the AJAX spinner is inserted. See https://www.gravityhelp.com/documentation/article/gform_spinner_target_elem/
– Added a dismissible message to the confirmation page which is displayed if merge tags are used as values for attributes.
– Added an Event column to the Notifications list if the form has multiple notification events registered.
– Added support for preventing Admin Only fields from being selected in Form Editor conditional logic; changing field already used in conditional logic to Admin Only will result in a confirmation prompt (like deleting a field used in conditional logic)
– Added support for excluding current field from conditional logic; prevents field from applying conditional logic against itself.
– Added ‘gform_list_field_parameter_delimiter’ filter
– Added the gform_disable_print_form_scripts filter. See: https://www.gravityhelp.com/documentation/article/gform_disable_print_form_scripts/
– Added support for the entries per page screen option in the entry list.
– Added support for conditional logic on multi-input fields (specifically Name and Address field).
– Added support for future conditional logic changes where order of various GF JS events can be specified.
– Added sorting on the form list for the entry count, view count and conversion columns.
– Added support for reCAPTCHA 2.0.
– Added support for Rich Text Editor on Paragraph and Post Body fields.
– Added the gravityforms_cron daily task. Performs self-healing, adds empty index files, deletes unclaimed export files, old logs and orphaned entries.
– Added new filter: gform_addon_feed_settings_fields
– Updated English translations (AU, GB, NZ, ZA). Credit: Ross McKay.
– Updated the permissions required to import forms. Both gravityforms_create_forms and gravityforms_edit_forms capabilities are now required in order to import forms.
– Updated the entry list to hide the filters and and the search UI when the form has no entries.
– Updated Chinese (China) translation. Credit: Edi Michael.
– Updated English translations (AU, GB, NZ). Credit: Ross McKay.
– Updated the default number of user accounts in the impersonation setting for the Web API to 3000.
– Updated the Address field state dropdown to support optgroups.
– Updated layout/styling for note meta (looked wonky for system notes where no email address is specified)
– Updated payment details section to use the Entry Detail meta box system
– Updated the daily clean-up to delete log files older than one month.
– Updated Chinese (China) translation. Credit: Edi Michael.
– Updated the way the Paragraph field saves values – fields that expect HTML will save safe values. Paragraph fields that don’t expect HTML will accept values exactly as they are submitted.
– Updated the payment results to display results for days with zero results when date range is not set.
– Updated form editor to display placeholder content when all fields have been removed.
– Updated multi-page form validation. If any invalid fields are found when submitting the final page of a form, the form will jump to the first page with an invalid field.
– Updated the entry detail page to display the Entry Info, Notifications and Notes boxes as WordPress meta boxes. Added support for screen options.
– Updated the value column in the lead_detail table to longtext to fix an issue with entry search. The longtext table is now no longer used.
– Updated the toolbar styles.
– Updated the entry search filter styles to display the filter below the entry list on smaller screens.
– Updated way email fields are validated. GFCommon::is_valid_email() now uses the WordPress function is_email() instead of the PHP FILTER_VALIDATE_EMAIL Filter. Use the is_email WordPress filter to adjust behavior. See https://developer.wordpress.org/reference/hooks/is_email/.
– Updated the settings page to use the GF_MIN_WP_VERSION constant as the minimum WordPress version.
– Updated the way product fields are saved to improve performance when saving the product info meta.

– Fixed an issue with the styles of the form settings, entry list and plugin settings pages for narrow screens.
– Fixed an issue with the entry list where searches by Entry Date may return incorrect results for sites in time zones different to UTC.
– Fixed some untranslated strings.
– Fixed typos in some translated strings.
– Fixed notice when using reCAPTCHA field.
– Fixed issue where address-based state/country conditional logic did not correctly display select of available choices.
– Fixed an issue saving and displaying entry values for checkbox fields with a choice value of 0.
– Fixed an issue where conditional logic value selects for Addresses would generate errors when selected
– Fixed an issue with the conditional logic dependency check when configuring a new choice if there is a conditional logic rule based on the field placeholder.
– Fixed caching of the form array for the entry detail page.
– Fixed an issue with the entry list when no fields on the form support the entry list page. E.g. List fields.
– Fixed an issue with the width of the Product field quantity input when using the 3 column classes.
– Fixed an issue loading translations when using a custom directory name for the plugin.
– Fixed an issue with the sanitization of the phone format setting on some hosting environments.
– Fixed flash of unstyled content issue in form preview (due to stylesheet being loaded after content)
– Fixed an issue where fields close in the form editor upon keypress within a text or textarea input field.
– Fixed a typo in the Hungarian choice of the Captcha field language setting.
– Fixed an issue with the entry detail actions which can prevent third-party content from displaying properly.
– Fixed an issue with the font size for the Total field value.
– Fixed an issue with the styles for the List field add/delete row buttons on the entry detail edit page.
– Fixed an issue with the styles on some admin pages that get stuck in the browser cache after upgrade.
– Fixed issue where Single Product quantity input displayed on initial load in admin even when quantity was disabled.
– Fixed issue where default Date field has a single input but no Datepicker.
– Fixed a JavaScript error in the form editor when configuring the max chars setting.
– Fixed an issue with the base URL in the Web API developer tools UI.
– Fixed the inconsistent widths in the page content below the toolbar.
– Fixed an issue with the styles on the entry detail page for narrow screens.
– Fixed an issue with the form settings pages where the non-minified version of the admin.css file is loaded instead of the minified file.
– Fixed missing label attribute in date field.
– Fixed “_wrapper” not being appended to all custom form CSS classes when more than one CSS class was provided.
– Fixed an issue with the export page where large numbers of entries may cause the export process to hang.

– Deprecated GFFormsModel::get_field_value_long(). The longtext table is no longer used.
– Deprecated GFEntryDetail::payment_details_box()

– Removed ‘gform_enable_entry_info_payment_details’ hook.
– Removed the form switcher. Use the Toolbar menu instead.
– Removed the unused ‘credit_card_icon_style_setting’ field setting which was a duplicate of ‘credit_card_setting’.
– Removed recaptcha script enqueues from GFFormDisplay::enqueue_form_scripts() and GFFormDisplay::print_form_scripts() (script is enqueued when the field content is generated).
– Removed backwards compatibility for Thickbox for versions of WordPress prior to 3.3.
– Removed backwards compatibility in GFCommon::replace_variables_prepopulate() for versions of WordPress prior to 3.3.
– Removed caching from GFFormsModel::get_lead_field_value().
– Removed styling for “Add Form” button for versions of WordPress prior to 3.5.
– Removed textarea fallback for the visual editor for versions of WordPress prior to 3.3.

– AF: Security enhancement – Added value checks to the validation of radio, checkbox, select, select_custom, text, textarea, field_select, checkbox_and_select and feed condition settings. Added “fix it” buttons.
– AF: Added option to enqueue scripts and styles on form list page.
– AF: Fixed an issue with the styles on the form and feed settings pages.
– AF: Added GFPaymentAddOn::complete_authorization() to update entry with authorization details.
– AF: Updated GFPaymentAddOn::process_capture() to use GFPaymentAddOn::complete_authorization() if payment was authorized and a capture transaction did not occur.
– AF: Added subscription id to the transaction table.
– AF: Fixed an issue with the check for updates when the check doesn’t run in an admin context. e.g. WP-CLI.
– AF: Updated the delayed payment choices on the PayPal feed to appear under the ‘Post Payment Actions’ setting instead of ‘Options’.
– AF: Added GF_Addon::get_slug().
– AF: Added the gform_post_process_feed action hook. See https://www.gravityhelp.com/documentation/article/gform_post_process_feed/
– AF: Removed GFPaymentAddon::disable_entry_info_payment() method.
– AF: Added ‘gform_gf_field_create’ filter to allow modifying or replacing the GF_Field object after it has been created. See https://www.gravityhelp.com/documentation/article/gform_gf_field_create/
– AF: Fixed an issue when upgrading due to feed order column name.
– AF: Fixed issue processing PayPal feeds.
– AF: Added GFAddon::pre_process_feeds() method to handle applying new ‘gform_addon_pre_process_feeds’ filter
– AF: Fixed an issue with GFFeedAddOn::is_feed_condition_met().
– AF: Added $_supports_feed_ordering property to GFFeedAddOn. When enabled, users can sort feeds on the feed list page to determine what order they are processed in.
– AF: Added Customizer to supported admin_page types for enqueueing scripts.
– AF: Updated Add-On feed table schema to support feed ordering.
– AF: Updated GFFeedAddOn::maybe_process_feed() to update entry object if the returned value from the GFFeedAddOn::process_feed() call is an array that contains an entry ID.
– AF: Updated all protected methods in GFAddOn, GFFeedAddOn and GFPaymentAddOn to be public methods.
– AF: Fixed issue where no other script enqueue rules would run if first rule was a callback.
– AF: Fixed an issue with the payment results page summary, chart and table where transactions are ignored if they don’t complete before midnight on the same day the entry is submitted.
– AF: Fixed an issue where add-on framework tables don’t get deleted when a site is deleted in multisite installations.
– AF: Added aliases support to field select settings field to recommend the default field choice based on field label.
– API: Updated the Web API tools to load the JS files locally.
– API: Fixed an issue with GFFormsModel::save_lead() where fields hidden by conditional logic get saved when updating an existing entry outside the entry detail context e.g. during submission if the entry had previously been created using the Partial Entries Add-On.
– API: Updated the way the date_created field filter and the start_date & end_date criteria are handled in entry searches. The dates are converted to UTC based on the site’s time zone offset set in the gmt_offset option during the construction of the query.
– API: Added support for sticky dismissible admin messages displayed on all Gravity Forms admin pages.
– API: Updated GF_Field::sanitize_entry_value() to sanitize the value only if HTML is enabled for the field or activated using the gform_allowable_tags filter. Fields should override this method to implement field-specific sanitization.
– API: Updated the way GF_Field handles input and output values. Input values are now not sanitized on input unless the HTML tags are allowed, in which case values are passed through wp_kses_post() and then through gform_allowable_tags filter and then through strip_tags() if required. Updated the way the Address, Checkbox, Multiselect, Name, Radio, Select, Text and Textarea fields handle input and output to account for the change.
– API: Added <= to the list of supported operators in the entry search.

Version 1.9.19.6
– Added gform_not_found class to the paragraph tag used to wrap ‘Oops! We could not locate your form.’ error message

Version 1.9.19.5
– Fixed an issue restoring field defaults on display by conditional logic when the value was 0.

Version 1.9.19.4
– Fixed issue with Sales chart not matching up with chart data.

Version 1.9.19.3
– Fixed issue with calculation fields with 4 decimal numbers in some situations.

Version 1.9.19.2
– Fixed an issue with Web API developer tools not loading the appropriate scripts.

Version 1.9.19.1
– Fixed an issue with AJAX enabled forms not adding the gform_validation_error class to the form wrapper when a validation error occurs.

Version 1.9.19

– Added support for the Customize Posts feature plugin. The Add Form button appears in the editor when editing posts in the front-end using the Customizer.
– Updated the setting page to prevent the Uninstall tab from being added for users without the gravityforms_uninstall or gform_full_access capabilities.
– Updated German translation. Credit: Dominik Horn – netzstrategen.
– Fixed an issue with the front-end total calculation if the quantity field value contained the comma thousand separator.
– Fixed a JS error which could occur when processing the option field labels if the DOM has been manipulated to include a text field within the choices container.
– Fixed an issue with the shortcode builder where form titles with special characters are not displayed correctly.
– AF: Fixed an issue with the check for updates when the check doesn’t run in an admin context. e.g. WP-CLI.
– AF: Added ‘gform_gf_field_create’ filter to allow modifying or replacing the GF_Field object after it has been created. See https://www.gravityhelp.com/documentation/article/gform_gf_field_create/

Version 1.9.18
– Added Chinese (China) translation. Credit: Edi Michael.
– Added new filter: gform_list_field_parameter_delimiter
add_filter( ‘gform_list_field_parameter_delimiter’, function( $delimiter, $field, $name, $field_values ) {
return ‘||’;
}, 10, 4 );

– Added the $field object to the parameter list of the gform_counter_script filter.

– Updated GFFormsModel::get_lead_db_columns() to public.
– Updated the gform_confirmation_anchor filter to include $form as the second parameter.
– Updated GFFormsModel::media_handle_upload() to be a public method.

– Fixed an issue with the merge tag for the Multi Select field returning the choice values when not using the :value modifier.
– Fixed an issue with the $field_values parameter of the gform_pre_render hook where it would change from an array to a string when processing AJAX form submissions.
– Fixed an issue with gformCleanNumber() which for some currencies caused an incorrect value to be returned.
– Fixed a fatal error that can occur when third party plugins and themes call Gravity Forms methods that use GFCache, such as GFFormsModel::get_form_id(), before all the plugins have been loaded. So pluggable functions such as wp_hash() in wp-includes/pluggable.php are not available.
– Fixed an issue with conditional shortcodes where the shortcodes don’t get parsed if the {all_fields} merge tag is present.
– Fixed issue where Date & Time fields did not save their default value correctly if visibility was set to Admin Only

– AF: Fixed a PHP notice which could occur if the is_authorized property was not set by the payment add-on.
– AF: Fixed GFAddOn::get_save_button() not retrieving last section’s fields when sections are using custom array keys.
– AF: Fixed an issue with the payment status not being updated when a subscription payment is successful if a previous attempt failed.

Version 1.9.17
– Added security enhancements.
– Added {admin_url} and {logout_url} merge tags.
– Added the GF_MIN_WP_VERSION_SUPPORT_TERMS constant and a message on the settings page when the site is not eligible for support.
– Added the GFEntryDetail::maybe_display_empty_fields() helper to determine if empty fields should be displayed when the lead detail grid is processed.

– Updated save and continue confirmations to support shortcodes.
– Updated form view count and lead count so that they are cached to improve performance.
– Updated Bengali translation. Credit: Md Akter Hosen.
– Updated entry info filters to include additional payment statuses supported by the AF.
– Updated Dutch translation. Credit: Eenvoud Media B.V. / Daniel Koop.

– Fixed an PHP notice related to the field specific version of the gform_save_field_value hook which could occur when using GFAPI::update_entry().
– Fixed an issue with the empty form validation and fields configured as admin only which do have a value.
– Fixed an issue with the confirmation query string when using the merge tag for a currency formatted Number field.
– Fixed an issue which prevented the gform_save_field_value hook running for custom field types when the input value was an array.
– Fixed a layout issue in the form editor for custom field settings assigned the gform_setting_left_half or gform_setting_right_half classes.
– Fixed field labels escaping field container in the form editor.
– Fixed an issue which caused merge tags added by autocomplete to be lost on form save.
– Fixed uppercase characters for save and continue merge tags in Danish translation.
– Fixed an issue with the admin-ajax url for the add field, duplicate field and change input type requests when WPML is active.
– Fixed issue with name field styles on certain scenarios.

– AF: Added support for select_custom settings field on the plugin settings page.
– AF: Added Customizer to supported admin_page types for enqueueing scripts.
– AF: Fixed issue where no other script enqueue rules would run if first rule was a callback.
– AF: Updated select_custom settings field to hide default custom option if custom option is within an optgroup.

Find these and more awesome components after joining the club .
Go to your account page and start enhancing your WordPress websites today.

The post Download Gravity Forms 2.0.6 (released 2016.08.08) appeared first on HARLOND GPL CLUB.

Show more