Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookies patch #2

Merged
merged 2 commits into from
May 31, 2016
Merged

Cookies patch #2

merged 2 commits into from
May 31, 2016

Conversation

andybar2
Copy link
Contributor

Patch to return the cookies headers in the gf confirmation message.

@@ -15,6 +15,7 @@ class Login
public static function init( $form_id ) {
if ( Utils::is_active() && ! empty( $form_id ) ) {
add_action( 'gform_validation_' . $form_id, [ __CLASS__, 'validation' ] );
add_filter( 'gform_confirmation_' . $form_id, [ __CLASS__, 'confirmation' ], 10, 1 );
Copy link
Contributor

Choose a reason for hiding this comment

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

These are the default params 10, 1 So there is no need to put them at the end, Same as the above.

@andybar2 andybar2 assigned mitogh and unassigned andybar2 May 31, 2016
@mitogh mitogh merged commit 13065f3 into master May 31, 2016
@mitogh mitogh deleted the cookies-patch branch May 31, 2016 15:33
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.

None yet

2 participants