Simple History - Version 1.0.7

Version Description

  • Fixed: Used a PHP shorthand opening tag at a place. Sorry!
  • Fixed: Now loads scripts and styles over HTTPS, if that's being used. Thanks to "llch" for the patch.
Download this release

Release Info

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

Code changes from version 1.0.6 to 1.0.7

Files changed (2) hide show
  1. index.php +5 -6
  2. readme.txt +5 -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.0.6
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -27,9 +27,10 @@ License: GPL2
27
 
28
  load_plugin_textdomain('simple-history', false, "/simple-history/languages");
29
 
30
- define( "SIMPLE_HISTORY_VERSION", "1.0.6");
31
  define( "SIMPLE_HISTORY_NAME", "Simple History");
32
- define( "SIMPLE_HISTORY_URL", WP_PLUGIN_URL . '/simple-history/');
 
33
 
34
  /**
35
  * Let's begin on a class, since they rule so much more than functions.
@@ -473,7 +474,7 @@ function simple_history_settings_field_number_of_items() {
473
  <option <?php echo $current_pager_size == 75 ? "selected" : "" ?> value="75">75</option>
474
  <option <?php echo $current_pager_size == 100 ? "selected" : "" ?> value="100">100</option>
475
  </select>
476
- <?
477
 
478
  }
479
 
@@ -557,8 +558,6 @@ function simple_history_update_rss_secret() {
557
  }
558
 
559
  function simple_history_settings_field_rss() {
560
- ?>
561
- <?php
562
  $create_new_secret = false;
563
  if (isset($_GET["simple_history_rss_update_secret"]) && $_GET["simple_history_rss_update_secret"]) {
564
  $create_new_secret = true;
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.0.7
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.0.7");
31
  define( "SIMPLE_HISTORY_NAME", "Simple History");
32
+ // define( "SIMPLE_HISTORY_URL", WP_PLUGIN_URL . '/simple-history/'); // http://playground.ep/wordpress/wp-content/plugins/simple-history/
33
+ define( "SIMPLE_HISTORY_URL", plugins_url() . '/simple-history/'); // http://playground.ep/wordpress/wp-content/plugins/simple-history/
34
 
35
  /**
36
  * Let's begin on a class, since they rule so much more than functions.
474
  <option <?php echo $current_pager_size == 75 ? "selected" : "" ?> value="75">75</option>
475
  <option <?php echo $current_pager_size == 100 ? "selected" : "" ?> value="100">100</option>
476
  </select>
477
+ <?php
478
 
479
  }
480
 
558
  }
559
 
560
  function simple_history_settings_field_rss() {
 
 
561
  $create_new_secret = false;
562
  if (isset($_GET["simple_history_rss_update_secret"]) && $_GET["simple_history_rss_update_secret"]) {
563
  $create_new_secret = true;
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
5
  Requires at least: 3.0
6
  Tested up to: 3.4.2
7
- Stable tag: 1.0.6
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
@@ -92,6 +92,10 @@ to only use the secret RSS feed to keep track of the changes on you web site/Wor
92
 
93
  == Changelog ==
94
 
 
 
 
 
95
  = 1.0.6 =
96
  - Added: option to set number of items to show, per page. Default i 5 history log items.
97
 
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin
5
  Requires at least: 3.0
6
  Tested up to: 3.4.2
7
+ Stable tag: 1.0.7
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
92
 
93
  == Changelog ==
94
 
95
+ = 1.0.7 =
96
+ - Fixed: Used a PHP shorthand opening tag at a place. Sorry!
97
+ - Fixed: Now loads scripts and styles over HTTPS, if that's being used. Thanks to "llch" for the patch.
98
+
99
  = 1.0.6 =
100
  - Added: option to set number of items to show, per page. Default i 5 history log items.
101