#7239 closed enhancement (wontfix)
Allow changing rule to post comments
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 2.6 |
| Severity: | normal | Keywords: | |
| 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)
comment:3
janeforshort — 4 years ago
- Milestone changed from 2.8 to Future Release
Punting to be evaluated in next development cycle due to time constraints.
- Milestone changed from Future Release to 2.9
- Keywords needs-patch added; has-patch removed
- Milestone changed from 2.9 to Future Release
comment:6
solarissmoke — 2 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.
comment:7
solarissmoke — 2 years ago
- Keywords close removed
- Resolution set to wontfix
- Status changed from new to closed
Like I said before, I think there are enough existing hooks to let you achieve this.
Note: See
TracTickets for help on using
tickets.

Patch for wp-comments-post.php