XML Sitemap & Google News feeds - Version 4.8.3

Version Description

  • fix get_lastpostdate array/string
  • restore pre PHP5.4 compatibility (popular request)
Download this release

Release Info

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

Code changes from version 4.8.2 to 4.8.3

includes/class-xmlsitemapfeed-admin.php CHANGED
@@ -629,8 +629,8 @@ jQuery( document ).ready( function() {
629
 
630
  // genres tag
631
  $gn_genres = parent::gn_genres();
632
- $genres = !empty($options['genres']) ? $options['genres'] : [];
633
- $genres_default = !empty($genres['default']) ? (array)$genres['default'] : [];
634
 
635
  echo '
636
  <fieldset id="xmlsf_news_labels_genres"><legend class="screen-reader-text">&lt;genres&gt;</legend>
@@ -652,7 +652,7 @@ jQuery( document ).ready( function() {
652
 
653
 
654
  // keywords
655
- $keywords = !empty($options['keywords']) ? $options['keywords'] : [];
656
  $keywords_from = !empty($keywords['from']) ? $keywords['from'] : '';
657
  echo '
658
  <fieldset id="xmlsf_news_keywords"><legend class="screen-reader-text">&lt;keywords&gt;</legend>
629
 
630
  // genres tag
631
  $gn_genres = parent::gn_genres();
632
+ $genres = !empty($options['genres']) ? $options['genres'] : array();
633
+ $genres_default = !empty($genres['default']) ? (array)$genres['default'] : array();
634
 
635
  echo '
636
  <fieldset id="xmlsf_news_labels_genres"><legend class="screen-reader-text">&lt;genres&gt;</legend>
652
 
653
 
654
  // keywords
655
+ $keywords = !empty($options['keywords']) ? $options['keywords'] : array();
656
  $keywords_from = !empty($keywords['from']) ? $keywords['from'] : '';
657
  echo '
658
  <fieldset id="xmlsf_news_keywords"><legend class="screen-reader-text">&lt;keywords&gt;</legend>
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === XML Sitemap & Google News feeds ===
2
  Contributors: RavanH
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feed
4
- Tags: sitemap, xml sitemap, news sitemap, sitemap.xml, robots.txt, Google, Google News, Yahoo, Bing, , Yandex, Baidu, seo, feed, Polylang, WPML, image sitemap
5
  Requires at least: 3.2
6
  Tested up to: 4.9
7
- Stable tag: 4.8.2
8
 
9
  XML and Google News Sitemaps to feed the hungry spiders. Multisite, WP Super Cache, Polylang and WPML compatible.
10
 
@@ -26,13 +26,13 @@ Please read the FAQ's for info on how to get your articles listed on Google News
26
 
27
  1. If you _do not use fancy URL's_ or you have WordPress installed in a _subdirectory_, a dynamic **robots.txt will NOT be generated**. You'll have to create your own and upload it to your site root! See FAQ's.
28
 
29
- 2. On large sites, it is advised to use a good caching plugin like **WP Super Cache**, **Quick Cache** or **W3 Total Cache** to improve your site _and_ sitemap performance.
30
 
31
  = Features =
32
 
33
  **XML Sitemap**
34
 
35
- * Sitemap Index with optional inclusion of sitemaps for post types, categories and tags.
36
  * Sitemap with custom URLs optional.
37
  * Custom/static sitemaps can be added to the index.
38
  * Completely **automatic** post URL _priority_ and _change frequency_ calculation based on post age and comment and trackback activity.
@@ -48,19 +48,19 @@ Please read the FAQ's for info on how to get your articles listed on Google News
48
  * Optionally include Image tags with caption and title for featured images or attached images.
49
  * Options to: set a different News Publication Name, include custom post types or limit inclusion to certain post categories.
50
  * Configure <access>, <genres> and <keywords> tags both globally and post by post
51
- * Pings Google on new publications.
52
 
53
  **More**
54
 
55
  * Compatible with multi-lingual sites using **Polylang** or **WPML** to allow all languages to be indexed equally.
56
- * Option to add new robots.txt rules. These can be used to further control (read: limit) the indexation of various parts of your site and subsequent spread of pagerank accross your sites pages.
57
  * Includes XLS stylesheets for human readable sitemaps.
58
 
59
  = Contribute =
60
 
61
- If you're happy with this plugin as it is, please consider writing a quick [rating](https://wordpress.org/support/plugin/xml-sitemap-feed/reviews/#new-post) or helping other users out on the [support forum](https://wordpress.org/support/plugin/easy-fancybox).
62
 
63
- If you wish to help build this plugin, you're very welcome to [translate Easy FancyBox into your language](https://translate.wordpress.org/projects/wp-plugins/xml-sitemap-feed/) or contribute code on [Github](https://github.com/RavanH/xml-sitemap-feed/).
64
 
65
 
66
  = Credits =
@@ -271,12 +271,23 @@ Yes. In fact, it has been designed for it. Tested on WPMU 2.9.2 and WPMS 3+ both
271
 
272
  == Upgrade Notice ==
273
 
274
- = 4.8.2 =
275
- Fix get_lastpostdate array/string and restore pre PHP 5.4 compatibility (popular request)
276
 
277
  == Changelog ==
278
 
279
- = 4.8.2 =
 
 
 
 
 
 
 
 
 
 
 
280
  * fix get_lastpostdate array/string
281
  * restore pre PHP 5.4 compatibility (popular request)
282
 
1
  === XML Sitemap & Google News feeds ===
2
  Contributors: RavanH
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feed
4
+ Tags: sitemap, xml sitemap, news sitemap, sitemap.xml, robots.txt, Google, Google News, Yahoo, Bing, Yandex, Baidu, seo, feed, Polylang, WPML, image sitemap
5
  Requires at least: 3.2
6
  Tested up to: 4.9
7
+ Stable tag: 4.8.3
8
 
9
  XML and Google News Sitemaps to feed the hungry spiders. Multisite, WP Super Cache, Polylang and WPML compatible.
10
 
26
 
27
  1. If you _do not use fancy URL's_ or you have WordPress installed in a _subdirectory_, a dynamic **robots.txt will NOT be generated**. You'll have to create your own and upload it to your site root! See FAQ's.
28
 
29
+ 2. On large sites, it is advised to use a good caching plugin like **WP Super Cache**, **Quick Cache**, **W3 Total Cache** or another to improve your site _and_ sitemap performance.
30
 
31
  = Features =
32
 
33
  **XML Sitemap**
34
 
35
+ * Sitemap Index with optional inclusion of sitemaps for custom post types, categories and tags.
36
  * Sitemap with custom URLs optional.
37
  * Custom/static sitemaps can be added to the index.
38
  * Completely **automatic** post URL _priority_ and _change frequency_ calculation based on post age and comment and trackback activity.
48
  * Optionally include Image tags with caption and title for featured images or attached images.
49
  * Options to: set a different News Publication Name, include custom post types or limit inclusion to certain post categories.
50
  * Configure <access>, <genres> and <keywords> tags both globally and post by post
51
+ * Pings both Google and Bing on new publications.
52
 
53
  **More**
54
 
55
  * Compatible with multi-lingual sites using **Polylang** or **WPML** to allow all languages to be indexed equally.
56
+ * Option to add new robots.txt rules. These can be used to further control (read: limit) the indexation of various parts of your site and subsequent spread of pagerank across your sites pages.
57
  * Includes XLS stylesheets for human readable sitemaps.
58
 
59
  = Contribute =
60
 
61
+ If you're happy with this plugin as it is, please consider writing a quick [rating](https://wordpress.org/support/plugin/xml-sitemap-feed/reviews/#new-post) or helping other users out on the [support forum](https://wordpress.org/support/plugin/xml-sitemap-feed).
62
 
63
+ If you wish to help build this plugin, you're very welcome to [translate it into your language](https://translate.wordpress.org/projects/wp-plugins/xml-sitemap-feed/) or contribute code on [Github](https://github.com/RavanH/xml-sitemap-feed/).
64
 
65
 
66
  = Credits =
271
 
272
  == Upgrade Notice ==
273
 
274
+ = 4.9 =
275
+ New FactCheck genre. Remove changefreq tag. Fix permalink issue with Woocommerce account page endpoints.
276
 
277
  == Changelog ==
278
 
279
+ = 4.9 =
280
+ * Code cleanup
281
+ * NEW: FactCheck genre
282
+ * Changefreq tag dropped
283
+ * NEW: translation strings for genres
284
+ * FIX: zlib.output_compression compatibility
285
+ * FIX: permalink issue with Woocommerce account page endpoints
286
+ * FIX: undefined index in news post types
287
+ * TODO make priority optional
288
+ * TODO dedicated keywords taxonomy
289
+
290
+ = 4.8.3 =
291
  * fix get_lastpostdate array/string
292
  * restore pre PHP 5.4 compatibility (popular request)
293
 
xml-sitemap.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: XML Sitemap & Google News feeds
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&item_number=4%2e0&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us">tip</a></strong> for continued development and support. Thanks :)
6
  Text Domain: xml-sitemap-feed
7
- Version: 4.8.2
8
  Requires PHP: 5.6
9
  Author: RavanH
10
  Author URI: http://status301.net/
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&item_number=4%2e0&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us">tip</a></strong> for continued development and support. Thanks :)
6
  Text Domain: xml-sitemap-feed
7
+ Version: 4.8.3
8
  Requires PHP: 5.6
9
  Author: RavanH
10
  Author URI: http://status301.net/