mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- removed ID's duplicates if there is more than 1 form at same screen;
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
function um_add_security_checks($args){
|
||||
if ( is_admin() ) return;
|
||||
|
||||
echo '<input type="hidden" name="timestamp" id="timestamp" value="'. current_time( 'timestamp' ) .'" />';
|
||||
echo '<input type="hidden" name="timestamp" class="um_timestamp" value="'. current_time( 'timestamp' ) .'" />';
|
||||
|
||||
?>
|
||||
|
||||
<p class="<?php echo UM()->honeypot; ?>_name">
|
||||
<label for="<?php echo UM()->honeypot; ?>"><?php _e( 'Only fill in if you are not human' ); ?></label>
|
||||
<input type="text" name="<?php echo UM()->honeypot; ?>" id="<?php echo UM()->honeypot; ?>" class="input" value="" size="25" autocomplete="off" />
|
||||
<label for="<?php echo UM()->honeypot . '_' . $args['form_id']; ?>"><?php _e( 'Only fill in if you are not human' ); ?></label>
|
||||
<input type="text" name="<?php echo UM()->honeypot; ?>" id="<?php echo UM()->honeypot . '_' . $args['form_id']; ?>" class="input" value="" size="25" autocomplete="off" />
|
||||
</p>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user