Simple Sitemap – Automatically Generate a Responsive Sitemap - Version 1.54

Version Description

Download this release

Release Info

Developer dgwyer
Plugin Icon Simple Sitemap – Automatically Generate a Responsive Sitemap
Version 1.54
Comparing to
See all releases

Code changes from version 1.53 to 1.54

Files changed (2) hide show
  1. readme.txt +6 -2
  2. simple-sitemap.php +4 -4
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dgwyer
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UUFZZU35RZPW8
4
  Tags: sitemap, html, global, sort, shortcode, pages, posts
5
  Requires at least: 2.7
6
- Tested up to: 3.7
7
- Stable tag: 1.53
8
 
9
  HTML sitemap to display content as a single linked list of posts and pages, or as groups sorted by taxonomy (via a drop-down box).
10
 
@@ -69,6 +69,10 @@ The Plugin can also be installed directly from the main WordPress Plugin page.
69
 
70
  *1.53*
71
 
 
 
 
 
72
  * All functions now properly name-spaced.
73
  * Added $wpdb->prepare() to SQL query.
74
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UUFZZU35RZPW8
4
  Tags: sitemap, html, global, sort, shortcode, pages, posts
5
  Requires at least: 2.7
6
+ Tested up to: 3.8.1
7
+ Stable tag: 1.54
8
 
9
  HTML sitemap to display content as a single linked list of posts and pages, or as groups sorted by taxonomy (via a drop-down box).
10
 
69
 
70
  *1.53*
71
 
72
+ * Security issue addressed.
73
+
74
+ *1.53*
75
+
76
  * All functions now properly name-spaced.
77
  * Added $wpdb->prepare() to SQL query.
78
 
simple-sitemap.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Simple Sitemap
4
  Plugin URI: http://www.presscoders.com/plugins/free-plugins/simple-sitemap/
5
  Description: HTML sitemap to display content as a single linked list of posts and pages, or as groups sorted by taxonomy (via a drop-down box).
6
- Version: 1.53
7
  Author: David Gwyer
8
  Author URI: http://www.presscoders.com
9
  */
@@ -26,6 +26,7 @@ Author URI: http://www.presscoders.com
26
  */
27
 
28
  /* @todo:
 
29
  - Get rid of query_posts().
30
  - Enable responsive wrapping so that if there is space multiple columns will span across the page and automatically wrap to the next line when not enough space.
31
  - Add archive pages to sitemap: http://wordpress.org/support/topic/include-archive-urls.
@@ -39,7 +40,7 @@ Author URI: http://www.presscoders.com
39
  - Show all the posts in each category not just the maximum allowed in Settings -> Reading.
40
  - Update Plugin description and other sections, as well as the images which are out of date (show the single column working on the sidebar).
41
  - Maybe support shortcode attributes so that users can specify to add custom behaviour for individual sitemaps if more than one is needed on a site. Any attributes would override global Plugin settings that affects all sitemaps by default.
42
- - Be able to exclude certain categories from showing.
43
  */
44
 
45
  /* wpss_ prefix is derived from [W]ord[P]ress [s]imple [s]itemap. */
@@ -105,14 +106,13 @@ function wpss_add_options_page() {
105
  /* Record Plugin activation error messages. */
106
  add_action( 'activated_plugin', 'wpss_save_error' );
107
  function wpss_save_error(){
108
- update_option( 'pc_plugin_error', ob_get_contents() );
109
  }
110
 
111
  /* Draw the menu page itself. */
112
  function wpss_render_form() {
113
  ?>
114
  <div class="wrap">
115
- <div class="icon32" id="icon-options-general"><br></div>
116
  <h2>Simple Sitemap Options</h2>
117
 
118
  <div style="margin-top:15px;">
3
  Plugin Name: Simple Sitemap
4
  Plugin URI: http://www.presscoders.com/plugins/free-plugins/simple-sitemap/
5
  Description: HTML sitemap to display content as a single linked list of posts and pages, or as groups sorted by taxonomy (via a drop-down box).
6
+ Version: 1.54
7
  Author: David Gwyer
8
  Author URI: http://www.presscoders.com
9
  */
26
  */
27
 
28
  /* @todo:
29
+ - Add option that if a page ID is excluded, it also excludes its children?
30
  - Get rid of query_posts().
31
  - Enable responsive wrapping so that if there is space multiple columns will span across the page and automatically wrap to the next line when not enough space.
32
  - Add archive pages to sitemap: http://wordpress.org/support/topic/include-archive-urls.
40
  - Show all the posts in each category not just the maximum allowed in Settings -> Reading.
41
  - Update Plugin description and other sections, as well as the images which are out of date (show the single column working on the sidebar).
42
  - Maybe support shortcode attributes so that users can specify to add custom behaviour for individual sitemaps if more than one is needed on a site. Any attributes would override global Plugin settings that affects all sitemaps by default.
43
+ - Exclude certain posts and categories from showing, similar to how pages can be excluded. Later extend this to CPT posts and archives too.
44
  */
45
 
46
  /* wpss_ prefix is derived from [W]ord[P]ress [s]imple [s]itemap. */
106
  /* Record Plugin activation error messages. */
107
  add_action( 'activated_plugin', 'wpss_save_error' );
108
  function wpss_save_error(){
109
+ delete_option( 'pc_plugin_error' );
110
  }
111
 
112
  /* Draw the menu page itself. */
113
  function wpss_render_form() {
114
  ?>
115
  <div class="wrap">
 
116
  <h2>Simple Sitemap Options</h2>
117
 
118
  <div style="margin-top:15px;">