Simple History - Version 1.3.2

Version Description

  • Could get php notice warning if rss secret was not set. Also: make sure both public and private secret exists.
Download this release

Release Info

Developer eskapism
Plugin Icon 128x128 Simple History
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.2

Files changed (2) hide show
  1. index.php +8 -4
  2. readme.txt +4 -1
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Simple History
4
  Plugin URI: http://eskapism.se/code-playground/simple-history/
5
  Description: Get a log/history/audit log/version history of the changes made by users in WordPress.
6
- Version: 1.3.1
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -27,7 +27,7 @@ License: GPL2
27
 
28
  load_plugin_textdomain('simple-history', false, "/simple-history/languages");
29
 
30
- define( "SIMPLE_HISTORY_VERSION", "1.3.1");
31
  define( "SIMPLE_HISTORY_NAME", "Simple History");
32
 
33
  // Find the plugin directory URL
@@ -380,8 +380,12 @@ define("SIMPLE_HISTORY_URL", $plugin_dir_url);
380
  function output_rss() {
381
 
382
  $rss_secret_option = get_option("simple_history_rss_secret");
383
- $rss_secret_get = $_GET["rss_secret"];
384
-
 
 
 
 
385
  echo '<?xml version="1.0"?>';
386
  $self_link = simple_history_get_rss_address();
387
 
3
  Plugin Name: Simple History
4
  Plugin URI: http://eskapism.se/code-playground/simple-history/
5
  Description: Get a log/history/audit log/version history of the changes made by users in WordPress.
6
+ Version: 1.3.2
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
27
 
28
  load_plugin_textdomain('simple-history', false, "/simple-history/languages");
29
 
30
+ define( "SIMPLE_HISTORY_VERSION", "1.3.2");
31
  define( "SIMPLE_HISTORY_NAME", "Simple History");
32
 
33
  // Find the plugin directory URL
380
  function output_rss() {
381
 
382
  $rss_secret_option = get_option("simple_history_rss_secret");
383
+ $rss_secret_get = isset( $_GET["rss_secret"] ) ? $_GET["rss_secret"] : "";
384
+
385
+ if ( empty($rss_secret_option) || empty($rss_secret_get) ) {
386
+ die();
387
+ }
388
+
389
  echo '<?xml version="1.0"?>';
390
  $self_link = simple_history_get_rss_address();
391
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://eskapism.se/sida/donate/
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin, syslog
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
- Stable tag: 1.3.1
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
@@ -175,6 +175,9 @@ to only use the secret RSS feed to keep track of the changes on you web site/Wor
175
 
176
  == Changelog ==
177
 
 
 
 
178
  = 1.3.1 =
179
  - Improved contrast for details view
180
  - Fix sql error on installation due to missing column
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin, syslog
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
+ Stable tag: 1.3.2
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
175
 
176
  == Changelog ==
177
 
178
+ = 1.3.2 =
179
+ - Could get php notice warning if rss secret was not set. Also: make sure both public and private secret exists.
180
+
181
  = 1.3.1 =
182
  - Improved contrast for details view
183
  - Fix sql error on installation due to missing column