Title: WordPress core file modified: wp-settings.php
Last modified: August 24, 2016

---

# WordPress core file modified: wp-settings.php

 *  [BoulevardAdmin](https://wordpress.org/support/users/boulevardadmin/)
 * (@boulevardadmin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wordpress-core-file-modified-wp-settingsphp/)
 * Support,
 *  I ran my first scan and got this notification. “WordPress core file modified:
   wp-settings.php”.
 * When I checked to see what changes were made, it said this code was added
 *     ```
       ### BEGIN WPOPTIMIZEBYXTRAFFIC ### 
   
       if(file_exists('/home2/bouleva9/public_html/test/wp-content/plugins/wp-optimize-by-xtraffic/inc/wp-optimize-by-xtraffic-advanced-cache.php')) { 
   
          @include_once('/home2/bouleva9/public_html/test/wp-content/plugins/wp-optimize-by-xtraffic/inc/wp-optimize-by-xtraffic-advanced-cache.php');
       } 
   
       ### END WPOPTIMIZEBYXTRAFFIC ###
       ```
   
 * What should be next steps here? Should I resore the original?
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 1 replies (of 1 total)

 *  [pep.vn](https://wordpress.org/support/users/pepvn/)
 * (@pepvn)
 * [11 years ago](https://wordpress.org/support/topic/wordpress-core-file-modified-wp-settingsphp/#post-6158272)
 * This is safe because it will help speed up your wordpress site via plugin’s function:).
   I’m sure about that!

Viewing 1 replies (of 1 total)

The topic ‘WordPress core file modified: wp-settings.php’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [file](https://wordpress.org/support/topic-tag/file/)
 * [modified](https://wordpress.org/support/topic-tag/modified/)

 * 1 reply
 * 2 participants
 * Last reply from: [pep.vn](https://wordpress.org/support/users/pepvn/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/wordpress-core-file-modified-wp-settingsphp/#post-6158272)
 * Status: not resolved