Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Conditional Form Actions for ACFE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plugins
Conditional Form Actions for ACFE
Commits
ce8e0e09
Commit
ce8e0e09
authored
10 months ago
by
Christian Wach
Browse files
Options
Downloads
Patches
Plain Diff
Fix "acfe/form/submit" params
parent
c91fab6b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/form-actions/cfafa-form-action-redirect.php
+2
-2
2 additions, 2 deletions
includes/form-actions/cfafa-form-action-redirect.php
with
2 additions
and
2 deletions
includes/form-actions/cfafa-form-action-redirect.php
+
2
−
2
View file @
ce8e0e09
...
...
@@ -143,10 +143,10 @@ class CFAFA_Form_Action_Redirect extends CFAFA_Form_Action_Base {
*
* @since 0.1.1
*
* @param array $redirect_data The array of Redirect data.
* @param array $form The array of Form data.
* @param integer $current_post_id The ID of the Post from which the Form has been submitted.
*/
do_action
(
'acfe/form/submit'
,
$form
,
$post_id
);
do_action
(
'acfe/form/submit'
,
$form
,
$
current_
post_id
);
// Do the redirect.
wp_safe_redirect
(
$redirect_data
[
'redirect_url'
]
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment