Skip to content

Update plugin to use new GFAPI#3

Open
aaronstpierre wants to merge 7 commits intoilanco:masterfrom
aaronstpierre:master
Open

Update plugin to use new GFAPI#3
aaronstpierre wants to merge 7 commits intoilanco:masterfrom
aaronstpierre:master

Conversation

@aaronstpierre
Copy link

Hi,

I updated the plugin replacing the new deprecated RGFormsModel:: calls with GFAPI::. I tested this using the latest VVV and it works great!

Please let me know if you need anything else from me.

Have a great day!

Aaron

@aaronstpierre
Copy link
Author

Hi,

I just made the updates requested! Thanks,

Copy link
Owner

@ilanco ilanco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Aaron, I am willing to commit this, but could you create a new pull request and compact all your changes into one commit. Thanks.


if ($is_valid_form) {
$form = RGFormsModel::get_form_meta($form_id);
$form = GFAPI::get_form($form_id);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to get the form again if we already got in on line 66. Does this get the form meta data as well?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't work anymore. Could you please fix it to work with latest WP & GF versions. Thanks

@technogenius27
Copy link

It doesn't work anymore. Could you please fix it to work with latest WP & GF versions. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants