Title: Odd file modificaton
Last modified: September 18, 2017

---

# Odd file modificaton

 *  Resolved [themramazing](https://wordpress.org/support/users/themramazing/)
 * (@themramazing)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/odd-file-modificaton/)
 * Wordfence today went off and reported my sites that have your plug-in installed
   was modified. Particularly this file Modified plugin file: wp-content/plugins/
   ninja-forms/ninja-forms.php. The modification was removing code about opt-in.
 * This file belongs to plugin “Ninja Forms” version “3.2.1” and has been modified
   from the file that is distributed by WordPress.org for this version.
    Here is
   what was changed (removed from the file):
 * 772 /**
    773 * Make sure that we’ve reported our opt-in. 774 */ 775 if( get_option(‘
   ninja_forms_optin_reported’, 0 ) ) return; 776 777 Ninja_Forms()->dispatcher()-
   >send( ‘optin’, array( ‘send_email’ => 1 ) ); 778 // Debounce opt-in dispatch.
   779 update_option( ‘ninja_forms_optin_reported’, 1 );
 * Since this is across all of my sites it seems that the modification somehow came
   from the developer?
 * If not, let me know and I’ll restore that file across my sites.

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

 *  Anonymous User 15674682
 * (@anonymized-15674682)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/odd-file-modificaton/#post-9507978)
 * I received the same message. Should I do as Wordfence suggests?
 * >  If you see a lot of changed files in a plugin that have been made by the author,**
   > then try uninstalling and reinstalling the plugin to force an upgrade.** Doing
   > this is a workaround for plugin authors who don’t manage their code correctly
 *  Plugin Contributor [Zach Skaggs](https://wordpress.org/support/users/wpnzach/)
 * (@wpnzach)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/odd-file-modificaton/#post-9521023)
 * We needed to push a quick hotfix. It was a super-minor change, and it was a few
   minutes after the release so we didn’t change the version number. That’s likely
   what caused this issue for you. There’s no need to be alarmed, we’re sorry for
   any trouble that caused!
 * Because we only check these forums once per week, we strongly encourage you to
   reach out to us here with any followup questions in order to get a timely response:
   [https://ninjaforms.com/contact/](https://ninjaforms.com/contact/) There, we 
   offer support free support directly to our Ninja Forms users with significantly
   more privacy and a faster response time.
 *  Anonymous User 15674682
 * (@anonymized-15674682)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/odd-file-modificaton/#post-9521288)
 * Thank you for the explanation!

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

The topic ‘Odd file modificaton’ is closed to new replies.

 * ![](https://ps.w.org/ninja-forms/assets/icon-256x256.png?rev=1649747)
 * [Ninja Forms - The Contact Form Builder That Grows With You](https://wordpress.org/plugins/ninja-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-forms/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: Anonymous User 15674682
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/odd-file-modificaton/#post-9521288)
 * Status: resolved