replaced comment form for a custom one
This commit is contained in:
@@ -178,15 +178,6 @@ class Partnerexpo_Core_User_Fields extends Partnerexpo_Core {
|
||||
'company',
|
||||
sanitize_text_field($_POST['company'])
|
||||
);
|
||||
|
||||
if ( ! empty( $_POST['name'] ) && trim( $_POST['name'] ) != '' ) {
|
||||
add_comment_meta(
|
||||
$id,
|
||||
'name',
|
||||
sanitize_text_field($_POST['name'])
|
||||
);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user