Title: plugin related files
Last modified: January 5, 2026

---

# plugin related files

 *  Resolved [mina404](https://wordpress.org/support/users/mina404/)
 * (@mina404)
 * [5 months ago](https://wordpress.org/support/topic/plugin-related-files/)
 * Hello
 * I have found a file fix.php in my host which contains the code below. Seems to
   be a fix for old errors in wordpress. but i was wondering if it is also related
   to fixing sitemap errors and somehow related to this plugin.
 *     ```wp-block-code
       <?phpfunction ___wejns_wp_whitespace_fix($input) {    /* valid content-type? */    $allowed = false;    /* found content-type header? */    $found = false;    /* we mangle the output if (and only if) output type is text/* */    foreach (headers_list() as $header) {        if (preg_match("/^content-type:\\s+(text\\/|application\\/((xhtml|atom|rss)\\+xml|xml))/i", $header)) {            $allowed = true;        }        if (preg_match("/^content-type:\\s+/i", $header)) {            $found = true;        }    }    /* do the actual work */    if ($allowed || !$found) {        return preg_replace("/\\A\\s*/m", "", $input);    } else {        return $input;    }}/* start output buffering using custom callback */ob_start("___wejns_wp_whitespace_fix");?><?php/** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress *//** * Tells WordPress to load the WordPress theme and output it. * * @var bool */define('WP_USE_THEMES', true);/** Loads the WordPress Environment and Template */require('./wp-blog-header.php');?>
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/plugin-related-files/#post-18886156)
 * That fix.php file doesn’t belong to our plugin — it looks like a hosting-provider
   or caching artifact (often found on CPanel hosts after a PHP upgrade). Safe to
   delete; nothing in our plugin references it.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-related-files%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [1 month, 2 weeks ago](https://wordpress.org/support/topic/plugin-related-files/#post-18886156)
 * Status: resolved