XML Sitemap & Google News feeds - Version 5.2.6

Version Description

New action hooks, taxonomy selection bugfix and relative path stylesheets.

=

Download this release

Release Info

Developer deployer
Plugin Icon 128x128 XML Sitemap & Google News feeds
Version 5.2.6
Comparing to
See all releases

Code changes from version 5.2.5 to 5.2.6

readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: sitemap, xml sitemap, news sitemap, sitemap.xml, robots.txt, Google, Googl
5
  Requires at least: 4.4
6
  Requires PHP: 5.4
7
  Tested up to: 5.3
8
- Stable tag: 5.2.5
9
 
10
  XML and Google News Sitemaps to feed the hungry spiders. Multisite, WP Super Cache, Polylang and WPML compatible.
11
 
@@ -291,15 +291,16 @@ Yes. In fact, it has been designed for it. Tested on WPMU 2.9.2 and WPMS 3+ both
291
 
292
  == Upgrade Notice ==
293
 
294
- = 5.2.4 =
295
 
296
- Bugfixes + Rank Math compatibility warnings.
297
 
298
 
299
  == Changelog ==
300
 
301
- = 5.2.5 =
302
  * NEW: xmlsf_tags_after, xmlsf_url_after and xmlsf_news_url_after action hooks
 
303
  * FIX: Taxonomy selection not available to new installs
304
 
305
  = 5.2.4 =
5
  Requires at least: 4.4
6
  Requires PHP: 5.4
7
  Tested up to: 5.3
8
+ Stable tag: 5.2.6
9
 
10
  XML and Google News Sitemaps to feed the hungry spiders. Multisite, WP Super Cache, Polylang and WPML compatible.
11
 
291
 
292
  == Upgrade Notice ==
293
 
294
+ = 5.2.6 =
295
 
296
+ New action hooks, taxonomy selection bugfix and relative path stylesheets.
297
 
298
 
299
  == Changelog ==
300
 
301
+ = 5.2.6 =
302
  * NEW: xmlsf_tags_after, xmlsf_url_after and xmlsf_news_url_after action hooks
303
+ * Make stylesheet paths relative to prevent exclusion when using different language domains
304
  * FIX: Taxonomy selection not available to new installs
305
 
306
  = 5.2.4 =
views/feed-sitemap-custom.php CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'WPINC' ) ) die;
9
 
10
  // do xml tag via echo or SVN parser is going to freak out
11
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
12
- <?xml-stylesheet type="text/xsl" href="' . plugins_url('assets/styles/sitemap-custom.xsl',XMLSF_BASENAME) . '?ver=' . XMLSF_VERSION . '"?>
13
  '; ?>
14
  <?php xmlsf_generator(); ?>
15
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
9
 
10
  // do xml tag via echo or SVN parser is going to freak out
11
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
12
+ <?xml-stylesheet type="text/xsl" href="' . wp_make_link_relative( plugins_url('assets/styles/sitemap-custom.xsl',XMLSF_BASENAME) ) . '?ver=' . XMLSF_VERSION . '"?>
13
  '; ?>
14
  <?php xmlsf_generator(); ?>
15
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
views/feed-sitemap-home.php CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'WPINC' ) ) die;
9
 
10
  // do xml tag via echo or SVN parser is going to freak out
11
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
12
- <?xml-stylesheet type="text/xsl" href="' . plugins_url('assets/styles/sitemap.xsl',XMLSF_BASENAME) . '?ver=' . XMLSF_VERSION . '"?>
13
  '; ?>
14
  <?php xmlsf_generator(); ?>
15
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
9
 
10
  // do xml tag via echo or SVN parser is going to freak out
11
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
12
+ <?xml-stylesheet type="text/xsl" href="' . wp_make_link_relative( plugins_url('assets/styles/sitemap.xsl',XMLSF_BASENAME) ) . '?ver=' . XMLSF_VERSION . '"?>
13
  '; ?>
14
  <?php xmlsf_generator(); ?>
15
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
views/feed-sitemap-news.php CHANGED
@@ -11,7 +11,7 @@ $options = get_option('xmlsf_news_tags');
11
 
12
  // do xml tag via echo or SVN parser is going to freak out
13
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
14
- <?xml-stylesheet type="text/xsl" href="' . plugins_url('assets/styles/sitemap-news.xsl',XMLSF_BASENAME) . '?ver=' . XMLSF_VERSION . '"?>
15
  '; ?>
16
  <?php xmlsf_generator(); ?>
17
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
11
 
12
  // do xml tag via echo or SVN parser is going to freak out
13
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
14
+ <?xml-stylesheet type="text/xsl" href="' . wp_make_link_relative( plugins_url('assets/styles/sitemap-news.xsl',XMLSF_BASENAME) ) . '?ver=' . XMLSF_VERSION . '"?>
15
  '; ?>
16
  <?php xmlsf_generator(); ?>
17
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
views/feed-sitemap-post_type.php CHANGED
@@ -23,7 +23,7 @@ if ( !empty($image) ) {
23
 
24
  // do xml tag via echo or SVN parser is going to freak out
25
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
26
- <?xml-stylesheet type="text/xsl" href="' . plugins_url('assets/styles/sitemap.xsl',XMLSF_BASENAME) . '?ver=' . XMLSF_VERSION . '"?>
27
  '; ?>
28
  <?php xmlsf_generator(); ?>
29
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
23
 
24
  // do xml tag via echo or SVN parser is going to freak out
25
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
26
+ <?xml-stylesheet type="text/xsl" href="' . wp_make_link_relative( plugins_url('assets/styles/sitemap.xsl',XMLSF_BASENAME) ) . '?ver=' . XMLSF_VERSION . '"?>
27
  '; ?>
28
  <?php xmlsf_generator(); ?>
29
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
views/feed-sitemap-taxonomy.php CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'WPINC' ) ) die;
9
 
10
  // do xml tag via echo or SVN parser is going to freak out
11
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
12
- <?xml-stylesheet type="text/xsl" href="' . plugins_url('assets/styles/sitemap-taxonomy.xsl',XMLSF_BASENAME) . '?ver=' . XMLSF_VERSION . '"?>
13
  '; ?>
14
  <?php xmlsf_generator(); ?>
15
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
9
 
10
  // do xml tag via echo or SVN parser is going to freak out
11
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
12
+ <?xml-stylesheet type="text/xsl" href="' . wp_make_link_relative( plugins_url('assets/styles/sitemap-taxonomy.xsl',XMLSF_BASENAME) ) . '?ver=' . XMLSF_VERSION . '"?>
13
  '; ?>
14
  <?php xmlsf_generator(); ?>
15
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
views/feed-sitemap.php CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'WPINC' ) ) die;
9
 
10
  // do xml tag via echo or SVN parser is going to freak out
11
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
12
- <?xml-stylesheet type="text/xsl" href="' . plugins_url('assets/styles/sitemap-index.xsl',XMLSF_BASENAME) . '?ver=' . XMLSF_VERSION . '"?>
13
  '; ?>
14
  <?php xmlsf_generator(); ?>
15
  <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
9
 
10
  // do xml tag via echo or SVN parser is going to freak out
11
  echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
12
+ <?xml-stylesheet type="text/xsl" href="' . wp_make_link_relative( plugins_url('assets/styles/sitemap-index.xsl',XMLSF_BASENAME) ) . '?ver=' . XMLSF_VERSION . '"?>
13
  '; ?>
14
  <?php xmlsf_generator(); ?>
15
  <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xml-sitemap.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: XML Sitemap & Google News
4
  Plugin URI: http://status301.net/wordpress-plugins/xml-sitemap-feed/
5
  Description: Feed the hungry spiders in compliance with the XML Sitemap and Google News protocols. Happy with the results? Please leave me a <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feed">tip</a></strong> for continued development and support. Thanks :)
6
- Version: 5.2.5
7
  Text Domain: xml-sitemap-feed
8
  Requires at least: 4.6
9
  Requires PHP: 5.4
@@ -11,7 +11,7 @@ Author: RavanH
11
  Author URI: http://status301.net/
12
  */
13
 
14
- define( 'XMLSF_VERSION', '5.2.5' );
15
 
16
  /* Copyright 2019 RavanH
17
  http://status301.net/
3
  Plugin Name: XML Sitemap & Google News
4
  Plugin URI: http://status301.net/wordpress-plugins/xml-sitemap-feed/
5
  Description: Feed the hungry spiders in compliance with the XML Sitemap and Google News protocols. Happy with the results? Please leave me a <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feed">tip</a></strong> for continued development and support. Thanks :)
6
+ Version: 5.2.6
7
  Text Domain: xml-sitemap-feed
8
  Requires at least: 4.6
9
  Requires PHP: 5.4
11
  Author URI: http://status301.net/
12
  */
13
 
14
+ define( 'XMLSF_VERSION', '5.2.6' );
15
 
16
  /* Copyright 2019 RavanH
17
  http://status301.net/