Title: Code changed in functions.php plugin file !?
Last modified: November 18, 2019

---

# Code changed in functions.php plugin file !?

 *  Resolved [chillmen](https://wordpress.org/support/users/chillmen/)
 * (@chillmen)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/code-changed-in-functions-php-plugin-file/)
 * Hi,
    Wordfence send me an alert about code change in file stopbadbots/functions/
   functions.php
 * The original code:
 *     ```
       186	   global $stopbadbotsip;
       187	   $ua = sbb_get_ua();
       ```
   
 * Have been replaced by:
 *     ```
       186	   global $userAgent, $stopbadbotsip;
       187	   $ua = $userAgent;
       ```
   
 * Any idea how is it possible? I checked changelog for the plugin and there is 
   no recent update!

Viewing 1 replies (of 1 total)

 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/code-changed-in-functions-php-plugin-file/#post-12144812)
 * Hey Chillmen,
 * Don’t worry about.
    In fact, we made 2 small changes to help **new users**. Today
   we made also changes in guide.php file.
 * We think it is not necessary to force all users to update their version but if
   you want, you can do it by FTP without losing your data. Unfortunately, when 
   we create many versions in a short time, we receive complains from users.
 * When you have any security questions, please, contact me.
 * Cheers,
    Bill

Viewing 1 replies (of 1 total)

The topic ‘Code changed in functions.php plugin file !?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stopbadbots_f0f0f0.svg)
 * [Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection](https://wordpress.org/plugins/stopbadbots/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stopbadbots/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stopbadbots/)
 * [Active Topics](https://wordpress.org/support/plugin/stopbadbots/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stopbadbots/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stopbadbots/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/code-changed-in-functions-php-plugin-file/#post-12144812)
 * Status: resolved