New custom field in comments form does not appear for signed in users
-
I am trying to write a plugin to add a new field to the comments form. I have searched (both in codex & in the support form) and I now know how to do it. I have used hook for “comment_form_default_fields” and added my new field (it is a checkbox). This works fine if no user is logged in. However, if the user is logged on, the form shows with only the comments textarea. Can you tell me what I am doing wrong here (or is it supposed to work this way)?
PS: I am testing on WordPress 3.4 (with no plugins) running TwentyEleven theme.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘New custom field in comments form does not appear for signed in users’ is closed to new replies.