Version Description
Download this release
Release Info
Developer | arnee |
Plugin | Google XML Sitemaps |
Version | 3.3 |
Comparing to | |
See all releases |
Code changes from version 3.2.9 to 3.3
- documentation.txt +2 -0
- readme.txt +2 -2
- sitemap-core.php +9 -3
- sitemap.php +2 -2
documentation.txt
CHANGED
@@ -241,6 +241,8 @@
|
|
241 |
Removed ASK ping since they shut down their service.
|
242 |
Exclude post_format taxonomy from custom taxonomy list
|
243 |
2013-01-11 3.2.9 Fixed security issue with change frequencies and filename of sitemap file. Exploit was only possible for admin accounts.
|
|
|
|
|
244 |
|
245 |
Maybe Todo:
|
246 |
==============================================================================
|
241 |
Removed ASK ping since they shut down their service.
|
242 |
Exclude post_format taxonomy from custom taxonomy list
|
243 |
2013-01-11 3.2.9 Fixed security issue with change frequencies and filename of sitemap file. Exploit was only possible for admin accounts.
|
244 |
+
2013-09-28 3.3 Fixed problem with file permission checking
|
245 |
+
Filter out hashs (#) in URLs
|
246 |
|
247 |
Maybe Todo:
|
248 |
==============================================================================
|
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: 2.1
|
6 |
-
Tested up to: 3.
|
7 |
Stable tag: 3.2.9
|
8 |
|
9 |
This plugin will generate a special XML sitemap which will help search engines to better index your blog.
|
@@ -31,7 +31,7 @@ Related Links:
|
|
31 |
5. Open the plugin configuration page, which is located under Options -> XML-Sitemap and build the sitemap the first time. If you get a permission error, check the file permissions of the newly created files.
|
32 |
6. The plugin will automatically update your sitemap of you publish a post, so theres nothing more to do :)
|
33 |
|
34 |
-
== Frequently Asked Questions ==
|
35 |
|
36 |
= There are no comments yet (or I've disabled them) and all my postings have a priority of zero! =
|
37 |
|
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: 2.1
|
6 |
+
Tested up to: 3.7
|
7 |
Stable tag: 3.2.9
|
8 |
|
9 |
This plugin will generate a special XML sitemap which will help search engines to better index your blog.
|
31 |
5. Open the plugin configuration page, which is located under Options -> XML-Sitemap and build the sitemap the first time. If you get a permission error, check the file permissions of the newly created files.
|
32 |
6. The plugin will automatically update your sitemap of you publish a post, so theres nothing more to do :)
|
33 |
|
34 |
+
== Frequently Asked Questions ==
|
35 |
|
36 |
= There are no comments yet (or I've disabled them) and all my postings have a priority of zero! =
|
37 |
|
sitemap-core.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
|
4 |
-
$Id: sitemap-core.php
|
5 |
|
6 |
*/
|
7 |
|
@@ -696,7 +696,7 @@ class GoogleSitemapGenerator {
|
|
696 |
/**
|
697 |
* @var Version of the generator in SVN
|
698 |
*/
|
699 |
-
var $_svnVersion = '$Id: sitemap-core.php
|
700 |
|
701 |
/**
|
702 |
* @var array The unserialized array with the stored options
|
@@ -1494,6 +1494,12 @@ class GoogleSitemapGenerator {
|
|
1494 |
function AddUrl($loc, $lastMod = 0, $changeFreq = "monthly", $priority = 0.5) {
|
1495 |
//Strip out the last modification time if activated
|
1496 |
if($this->GetOption('in_lastmod')===false) $lastMod = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
1497 |
$page = new GoogleSitemapGeneratorPage($loc, $priority, $changeFreq, $lastMod);
|
1498 |
|
1499 |
$this->AddElement($page);
|
@@ -1538,7 +1544,7 @@ class GoogleSitemapGenerator {
|
|
1538 |
//Lets check if parent directory is writable.
|
1539 |
if(!is_writable($pathtofilename)) {
|
1540 |
//it's not writeable too.
|
1541 |
-
if(!@chmod($
|
1542 |
//darn couldn't fix up parrent directory this hosting is foobar.
|
1543 |
//Lets error because of the permissions problems.
|
1544 |
return false;
|
1 |
<?php
|
2 |
/*
|
3 |
|
4 |
+
$Id: sitemap-core.php 779425 2013-09-27 22:49:51Z arnee $
|
5 |
|
6 |
*/
|
7 |
|
696 |
/**
|
697 |
* @var Version of the generator in SVN
|
698 |
*/
|
699 |
+
var $_svnVersion = '$Id: sitemap-core.php 779425 2013-09-27 22:49:51Z arnee $';
|
700 |
|
701 |
/**
|
702 |
* @var array The unserialized array with the stored options
|
1494 |
function AddUrl($loc, $lastMod = 0, $changeFreq = "monthly", $priority = 0.5) {
|
1495 |
//Strip out the last modification time if activated
|
1496 |
if($this->GetOption('in_lastmod')===false) $lastMod = 0;
|
1497 |
+
|
1498 |
+
if(($hashPosition = strpos($loc, '#')) !== false) {
|
1499 |
+
if($hashPosition == 0) return;
|
1500 |
+
else $loc = substr($loc, 0, $hashPosition);
|
1501 |
+
}
|
1502 |
+
|
1503 |
$page = new GoogleSitemapGeneratorPage($loc, $priority, $changeFreq, $lastMod);
|
1504 |
|
1505 |
$this->AddElement($page);
|
1544 |
//Lets check if parent directory is writable.
|
1545 |
if(!is_writable($pathtofilename)) {
|
1546 |
//it's not writeable too.
|
1547 |
+
if(!@chmod($pathtofilename, 0666)) {
|
1548 |
//darn couldn't fix up parrent directory this hosting is foobar.
|
1549 |
//Lets error because of the permissions problems.
|
1550 |
return false;
|
sitemap.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
$Id: sitemap.php
|
5 |
|
6 |
Google XML Sitemaps Generator for WordPress
|
7 |
==============================================================================
|
@@ -25,7 +25,7 @@
|
|
25 |
Plugin Name: Google XML Sitemaps
|
26 |
Plugin URI: http://www.arnebrachhold.de/redir/sitemap-home/
|
27 |
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.
|
28 |
-
Version: 3.
|
29 |
Author: Arne Brachhold
|
30 |
Author URI: http://www.arnebrachhold.de/
|
31 |
Text Domain: sitemap
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
$Id: sitemap.php 779425 2013-09-27 22:49:51Z arnee $
|
5 |
|
6 |
Google XML Sitemaps Generator for WordPress
|
7 |
==============================================================================
|
25 |
Plugin Name: Google XML Sitemaps
|
26 |
Plugin URI: http://www.arnebrachhold.de/redir/sitemap-home/
|
27 |
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.
|
28 |
+
Version: 3.3
|
29 |
Author: Arne Brachhold
|
30 |
Author URI: http://www.arnebrachhold.de/
|
31 |
Text Domain: sitemap
|