#7239 closed enhancement (wontfix)
Allow changing rule to post comments
Reported by: | lilyfan | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.6 |
Component: | Comments | Keywords: | |
Focuses: | Cc: |
Description
The required fields for comments form is defined at wp-comments-post.php and is hard coded.
This patch provides a filter to change rules posting comments. For example, name is required, rather email or website is required.
Attachments (1)
Change History (9)
#3
@
15 years ago
- Milestone changed from 2.8 to Future Release
Punting to be evaluated in next development cycle due to time constraints.
#5
@
15 years ago
- Keywords needs-patch added; has-patch removed
- Milestone changed from 2.9 to Future Release
#6
@
13 years ago
- Keywords close added; needs-patch removed
I think the pre_comment_on_post
action would let you handle this. You just turn off the Wordpress name/email check and hook your own.
Note: See
TracTickets for help on using
tickets.
Patch for wp-comments-post.php