misspelling-reporter
misspelling-reporter copied to clipboard
Only send misspelled word once!
Before sending an email with a misspelling report make sure that that word and post has not already be reported and emailed out previously.
I'd suggest we add an option that is a key => value array of IPs and words. That way, we can use that as the data store to fix this issue, as well as #33.
I've written a new class method to check if a post with the word and post parent already exists before creating a new post. Not sure if that is needed if we're going to store an array of IPs and words. Let me know if you want me to push it anyways.