Releases: pods-framework/pods-gravity-forms
Releases · pods-framework/pods-gravity-forms
Pods Gravity Forms Add-On 1.1
- Added: Support for edit mode when using the Pods GF add-on mapping in the GF UI -- Use the new filter
pods_gf_addon_edit_id
, just return the ID to edit and the options will automatically be set for you - Added: When filtering the Pods data in
Pods_GF::gf_to_pods()
(via thepods_gf_to_pods_data
and related filters), if you set the proper ID field in that array it will now be used to save over the existing item; Helpful for dynamic editing configurations based upon different processes and workflows in the code - Added:
Pods_GF::confirmation()
now supports{@gf_to_pods_id}
replacement in confirmation URLs, replacing the variable properly to the resulting saved ID - Fixed:
Pods_GF::_gf_to_pods_handler()
would sometimes get the action improperly set toedit
, but onlyadd
,save
, orbypass
are valid - Fixed: When an invalid pod is called in
Pods_GF::_gf_to_pods_handler()
, there's now a proper fallback to avoid PHP errors/warnings/notices - Fixed: When an invalid pod is called in
Pods_GF::_gf_field_validation()
, there's now a proper fallback to avoid PHP errors/warnings/notices - Fixed:
Pods_GF::confirmation()
would add thegform_confirmation_{$form_id}
filter incorrectly and would cause PHP warnings about the callback, causing the confirmation functionality to not work properly - Fixed:
Pods_GF::confirmation()
confirmation URL replacement now handles a few more cases where previously PHP notices would result - Changed:
Pods_GF
is now storing multiple instances statically, cannot be called withnew Pods_GF()
, must be called withPods_GF::get_instance()
but more importantly should be called through the standardpods_gf()
helper function to remain backwards compatible with previous versions - Changed:
Pods_GF::$gf_to_pods_id
is no longer an integer, but an array of integers keyed by the GF Form ID - Changed:
Pods_GF::$keep_files
is no longer an boolean, but an array of booleans keyed by the GF Form ID
Pods Gravity Forms Add-On 1.0
Initial release