Google XML Sitemaps - Version 4.0.8

Version Description

Download this release

Release Info

Developer fredericktownes
Plugin Icon 128x128 Google XML Sitemaps
Version 4.0.8
Comparing to
See all releases

Code changes from version 4.0.7.1 to 4.0.8

Files changed (4) hide show
  1. documentation.txt +2 -0
  2. readme.txt +1 -1
  3. sitemap-builder.php +2 -2
  4. sitemap.php +3 -3
documentation.txt CHANGED
@@ -308,6 +308,8 @@ Release History:
308
  Changed hook which is being used for sitemap pings
309
  2014-09-02 4.0.7.1Added icon for the new WP Add-Plugin page
310
  Changed "Tested up to" to 4.0
 
 
311
 
312
 
313
 
308
  Changed hook which is being used for sitemap pings
309
  2014-09-02 4.0.7.1Added icon for the new WP Add-Plugin page
310
  Changed "Tested up to" to 4.0
311
+ 2014-11-15 4.0.8 Fixed bug with excluded categories, thanks to Claus Schöffel!
312
+
313
 
314
 
315
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: arnee
3
  Donate link: http://www.arnebrachhold.de/redir/sitemap-paypal
4
  Tags: seo, google, sitemaps, google sitemaps, yahoo, msn, ask, live, xml sitemap, xml
5
  Requires at least: 3.3
6
- Tested up to: 4.0
7
  Stable tag: 4.0.7.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
3
  Donate link: http://www.arnebrachhold.de/redir/sitemap-paypal
4
  Tags: seo, google, sitemaps, google sitemaps, yahoo, msn, ask, live, xml sitemap, xml
5
  Requires at least: 3.3
6
+ Tested up to: 4.7
7
  Stable tag: 4.0.7.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
sitemap-builder.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
 
4
- $Id: sitemap-builder.php 925789 2014-06-03 17:03:07Z arnee $
5
 
6
  */
7
  /**
@@ -90,7 +90,7 @@ class GoogleSitemapGeneratorStandardBuilder {
90
  $excludedCategoryIDs = $gsg->GetExcludedCategoryIDs($gsg);
91
  $exCatSQL = "";
92
  if(count($excludedCategoryIDs) > 0) {
93
- $exCatSQL = "AND ( p.ID NOT IN ( SELECT object_id FROM {$wpdb->term_relationships} WHERE term_taxonomy_id IN (" . implode(",", $excludedCategoryIDs) . ")))";
94
  }
95
 
96
  //Statement to query the actual posts for this post type
1
  <?php
2
  /*
3
 
4
+ $Id: sitemap-builder.php 1026247 2014-11-15 16:47:36Z arnee $
5
 
6
  */
7
  /**
90
  $excludedCategoryIDs = $gsg->GetExcludedCategoryIDs($gsg);
91
  $exCatSQL = "";
92
  if(count($excludedCategoryIDs) > 0) {
93
+ $exCatSQL = "AND ( p.ID NOT IN ( SELECT object_id FROM {$wpdb->term_relationships} WHERE term_taxonomy_id IN ( SELECT term_taxonomy_id FROM {$wpdb->term_taxonomy} WHERE term_id IN ( " . implode(",", $excludedCategoryIDs) . "))))";
94
  }
95
 
96
  //Statement to query the actual posts for this post type
sitemap.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /*
4
- $Id: sitemap.php 977341 2014-09-02 20:02:55Z arnee $
5
 
6
  Google XML Sitemaps Generator for WordPress
7
  ==============================================================================
@@ -18,7 +18,7 @@
18
  Plugin Name: Google XML Sitemaps
19
  Plugin URI: http://www.arnebrachhold.de/redir/sitemap-home/
20
  Description: This plugin will generate a special XML sitemap which will help search engines like Google, Yahoo, Bing and Ask.com to better index your blog.
21
- Version: 4.0.7.1
22
  Author: Arne Brachhold
23
  Author URI: http://www.arnebrachhold.de/
24
  Text Domain: sitemap
@@ -45,7 +45,7 @@
45
 
46
  */
47
 
48
- define("SM_SUPPORTFEED_URL","http://plugin-info.arnebrachhold.de/support/support_3.xml");
49
 
50
  /**
51
  * Check if the requirements of the sitemap plugin are met and loads the actual loader
1
  <?php
2
 
3
  /*
4
+ $Id: sitemap.php 1026247 2014-11-15 16:47:36Z arnee $
5
 
6
  Google XML Sitemaps Generator for WordPress
7
  ==============================================================================
18
  Plugin Name: Google XML Sitemaps
19
  Plugin URI: http://www.arnebrachhold.de/redir/sitemap-home/
20
  Description: This plugin will generate a special XML sitemap which will help search engines like Google, Yahoo, Bing and Ask.com to better index your blog.
21
+ Version: 4.0.8
22
  Author: Arne Brachhold
23
  Author URI: http://www.arnebrachhold.de/
24
  Text Domain: sitemap
45
 
46
  */
47
 
48
+ define("SM_SUPPORTFEED_URL","http://plugin-info.arnebrachhold.de/support/support_4.xml");
49
 
50
  /**
51
  * Check if the requirements of the sitemap plugin are met and loads the actual loader