The General Data Protection Regulation (GDPR) is a regulation in EU law on data protection and privacy for all individuals within the European Union.
How to fix WordPress comment form GDPR compliance issues?
We recommend that you install a GDPR plugin, for example, the “GDPR Comments” plugin.
Go to Dashboard > Plugins > Add New, search “GDPR Comments”, find “GDPR Comments” then click “Install Now” button, activate it after successful installation.
Open your posts and you will find that the checkbox is already appearing below the comment form.