delete_old_comments filter for interval?
-
As the amount of spam on my blog is getting more important (20K spam comments in the db is too much for my tiny vps-server, “empty spam” times out), I would like to purge spam on a more regular basis.
I checked the Aksimet source code and saw that the function delete_old_comments_meta (in akismet/class.akismet.php) does have a filter to override the 15 days “retention” policy, but delete_old_comments does not (it has the amount of days hardcoded in the prepared statement).
My questions:
- Is there a specific reason why only delete_old_comments_meta has such a filter?
- Can a similar filter be added for delete_old_comments in one of the next updates?
thanks,
frank
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘delete_old_comments filter for interval?’ is closed to new replies.