Skip to content

Commit 7a0ffe8

Browse files
authored
Merge pull request #80 from k1sul1/patch-8
Add form title to response
2 parents bbde692 + 3d2e7ca commit 7a0ffe8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

inc/wplf-ajax.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function wplf_ajax_submit_handler() {
2222

2323
// form-specific validation
2424
$return->slug = $form->post_name;
25+
$return->title = $form->post_title;
2526
$return = apply_filters( "wplf_{$form->post_name}_validate_submission", $return );
2627
$return = apply_filters( "wplf_{$form->ID}_validate_submission", $return );
2728
}

0 commit comments

Comments
 (0)