Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Always ignore config and xml-sitemap files.

  • Loading branch information...
commit 06f2389d5c1592cf236ed6c72d005eabfcd69fbd 1 parent 2831937
@jdevalk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xml-sitemap.php
View
2  xml-sitemap.php
@@ -16,7 +16,7 @@
echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";
-$ignore = array_merge( $ignore, array( '.', '..' ) );
+$ignore = array_merge( $ignore, array( '.', '..', 'config.php', 'xml-sitemap.php' ) );
if ( isset( $xsl ) && !empty( $xsl ) )
echo '<?xml-stylesheet type="text/xsl" href="' . SITEMAP_DIR_URL . $xsl . '"?>' . "\n";
Please sign in to comment.
Something went wrong with that request. Please try again.