L
L
lakegull2021-10-23 22:35:33
HTTP Cookies
lakegull, 2021-10-23 22:35:33

How to enable autocomplete fields when re-commenting?

When an unauthorized visitor fills in the comment fields (name, email, website), this data has to be entered again each time. How to make it so that when you comment again, these fields retain the previously entered values? The wp_get_current_commenter function is present in wp-includes/comment.php but it doesn't change anything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lakegull, 2021-10-24
@lakegull

Found a solution. In the admin panel, the "discussion" menu had to be activated "Show a checkmark for allowing cookies to be set for comment authors.". The user can then choose whether to store the field values.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question