Title: Random values in function names
Last modified: January 12, 2017

---

# Random values in function names

 *  Resolved [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * (@grzegorzjanoszka)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-values-in-function-names/)
 * I am a happy user of this plugin and I find it very good. Too good sometimes 
   🙂
 * I noticed that the comment protection adds some nounce or other random characters
   to function names and I get:
 * function checkN23Kf25vn4Nzmix() {
    if( cbN23Kf25vn4Nzmix.checked != true ) {
 * As this is very good for spam protection, it screws up my js optimization plugin–
   it creates hundreds of different versions of js file one for each nounce or random
   string.
 * I know it would decrease the protection, but is it possible that you add a checkbox
   to disable those random characters entirely? I prefer slightly lower spam protection
   if it helps my page to load fast.
 * Thank you for considering it.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-values-in-function-names/#post-8647190)
 * I could probably provide you with a WordPress filter, to which you’d just pass
   in a value that would turn on/off this randomisation. This is a very unique case
   and I wouldn’t be keen to make a plugin option out of it.
 * Let me know if that suits.
 *  Thread Starter [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * (@grzegorzjanoszka)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-values-in-function-names/#post-8647222)
 * Paul,
 * Filter suits me well, not a problem with that. Blazing fast support!
 *  Thread Starter [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * (@grzegorzjanoszka)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-values-in-function-names/#post-8650043)
 * I think even better solution would be to have the filter not to enable or disable
   the randomization, but the filter may return the random string. This way I can
   disable it (return empty string) or I can steer it, like have one new string 
   per month.
 * Thank you in advance for considering it!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Random values in function names’ is closed to new replies.

 * ![](https://ps.w.org/wp-simple-firewall/assets/icon-256x256.png?rev=3054572)
 * [Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning](https://wordpress.org/plugins/wp-simple-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-firewall/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/random-values-in-function-names/#post-8650043)
 * Status: resolved