mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 11:46:27 +09:00
- fixed ID's duplicates when more than 1 form is loaded at same page;
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
add_action('um_after_form_fields', 'um_add_form_identifier');
|
||||
function um_add_form_identifier($args){ ?>
|
||||
|
||||
<input type="hidden" name="form_id" id="form_id" value="<?php echo $args['form_id']; ?>" />
|
||||
<input type="hidden" name="form_id" id="form_id_<?php echo $args['form_id']; ?>" value="<?php echo $args['form_id']; ?>" />
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user