Add "Global Blacklist" to settings form
eli - May 17, 2007 - 18:17
| Project: | Yahoo Terms |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
I've added a simple Blacklist of terms to the settings form. These terms are merged with the $blacklist array specified (if there is one). This seems like a good way to get rid of keywords that keep coming up that I don't ever want (like "nbsp" and "quot" and "amp").
Probably not the most efficient piece of code ever written. If you wanted to Blacklist a lot of words, there's probably a better way.
| Attachment | Size |
|---|---|
| yahoo_terms_global_blacklist.patch | 1.07 KB |

#1
the patch applies just fine here.
This functionality should really be in Yahoo_terms core, thank you very much eli