Posted by LeisureLarry on February 17, 2011 at 12:23pm
1 follower
| Project: | Pingback |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
In order to prevent pingback spam before it hits my moderation queue, it would be really great to have a validation hook. I think hook_comment() with $op = 'validate' would be appropiate for this case. This would allow standard comment validations and special pingback validations (checking the comment title).
I couldn´t test the attached patch, but it should do the magic.
| Attachment | Size |
|---|---|
| Pingback validation | 1.18 KB |