Submitted Login fix for CF7 4.8
-
My at least temporary solution:
In CF7DBPlugin.php after line 794 ($user = null;) I have added the following:
$submission = WPCF7_Submission::get_instance(); if ( $submission ) { $posted_data = $submission->get_posted_data(); } $user = $posted_data['userlogin'];
And within all of my forms I have added the following hidden field near the bottom of the forms:
[hidden userlogin default:user_login]
This restores the functioning of the program for now. The ‘Submitted Login’ field is restored at line 9999. I am sure there is a better way but this works for now.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Submitted Login fix for CF7 4.8’ is closed to new replies.