The FrmEntryValidate::is_akismet_guest_info_value function attempts to find a value to use as the comment_author parameter for Akismet. First, it checks for name field ids. If none exist, it uses the value of the first field with a length less than 200.
Preferably, the end user would be able to select which field to use for the comment_author parameter. If that's not possible, the form should send a comment_author parameter only when the form contains a Name field. If the form does not contain a Name field, the comment_author value should be empty.
The
FrmEntryValidate::is_akismet_guest_info_valuefunction attempts to find a value to use as thecomment_authorparameter for Akismet. First, it checks for name field ids. If none exist, it uses the value of the first field with a length less than 200.Preferably, the end user would be able to select which field to use for the
comment_authorparameter. If that's not possible, the form should send acomment_authorparameter only when the form contains aNamefield. If the form does not contain aNamefield, thecomment_authorvalue should be empty.