mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- Fixed: Vulnerability with timestamp field on UM Forms
- changed readme;
This commit is contained in:
@@ -81,9 +81,7 @@ if ( ! class_exists( 'um\core\GDPR' ) ) {
|
||||
*/
|
||||
function email_registration_data( $submitted ) {
|
||||
if ( ! empty( $submitted['use_gdpr_agreement'] ) ) {
|
||||
$timestamp = ! empty( $submitted['timestamp'] ) ? $submitted['timestamp'] : $submitted['use_gdpr_agreement'];
|
||||
|
||||
$submitted['GDPR Applied'] = date( "d M Y H:i", $timestamp );
|
||||
$submitted['GDPR Applied'] = date( "d M Y H:i", $submitted['use_gdpr_agreement'] );
|
||||
unset( $submitted['use_gdpr_agreement'] );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user