WordPress.org

Plugin Directory

Changeset 699258


Ignore:
Timestamp:
04/17/13 18:29:38 (12 months ago)
Author:
eskapism
Message:

version 1.1. and is very nice indeed\!

Location:
simple-history
Files:
2 added
2 deleted
2 edited
14 copied

Legend:

Unmodified
Added
Removed
  • simple-history/tags/1.1/index.php

    r686406 r699258  
    44Plugin URI: http://eskapism.se/code-playground/simple-history/ 
    55Description: Get a log/history/audit log/version history of the changes made by users in WordPress. 
    6 Version: 1.0.9 
     6Version: 1.1 
    77Author: Pär Thernström 
    88Author URI: http://eskapism.se/ 
     
    2828load_plugin_textdomain('simple-history', false, "/simple-history/languages"); 
    2929 
    30 define( "SIMPLE_HISTORY_VERSION", "1.0.9"); 
     30define( "SIMPLE_HISTORY_VERSION", "1.1"); 
    3131define( "SIMPLE_HISTORY_NAME", "Simple History");  
    3232// define( "SIMPLE_HISTORY_URL", WP_PLUGIN_URL . '/simple-history/');   // http://playground.ep/wordpress/wp-content/plugins/simple-history/ 
     
    928928    global $wpdb; 
    929929    $tableprefix = $wpdb->prefix; 
    930     $sql = "DELETE FROM {$tableprefix}simple_history WHERE DATE_ADD(date, INTERVAL 60 DAY) < now()"; 
     930 
     931    $days = 60; 
     932    $days = (int) apply_filters("simple_history_db_purge_days_interval", $days); 
     933 
     934    $sql = "DELETE FROM {$tableprefix}simple_history WHERE DATE_ADD(date, INTERVAL $days DAY) < now()"; 
    931935 
    932936    if ($do_purge_history) { 
  • simple-history/tags/1.1/readme.txt

    r686406 r699258  
    33Donate link: http://eskapism.se/sida/donate/ 
    44Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin 
    5 Requires at least: 3.0 
    6 Tested up to: 3.5 
    7 Stable tag: 1.0.9 
     5Requires at least: 3.5.1 
     6Tested up to: 3.5.1 
     7Stable tag: 1.1 
    88 
    99View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more. 
     
    135135== Changelog == 
    136136 
    137 = 1.x = 
     137= 1.1 = 
    138138- Added the Simple History Extender-module/plugin. With this great addon to Simple History it is very easy for other developers to add their own actions to simple history, including a settings panel to check actions on/off. All work on this module was made by Laurens Offereins (lmoffereins@gmail.com). Super thanks! 
    139139- With the help of Simple History Extender this plugin also tracks changes made in bbPress, Gravity Forms and in Widges. Awesome! 
     
    143143- Style fixes for RTL languages 
    144144- Small fixes here and there, for example changing deprecated WordPress functions to not deprecated 
     145- Added new filter: simple_history_db_purge_days_interval. Hook it to change default clear interval of 60 days. 
    145146 
    146147= 1.0.9 = 
  • simple-history/trunk/index.php

    r686406 r699258  
    44Plugin URI: http://eskapism.se/code-playground/simple-history/ 
    55Description: Get a log/history/audit log/version history of the changes made by users in WordPress. 
    6 Version: 1.0.9 
     6Version: 1.1 
    77Author: Pär Thernström 
    88Author URI: http://eskapism.se/ 
     
    2828load_plugin_textdomain('simple-history', false, "/simple-history/languages"); 
    2929 
    30 define( "SIMPLE_HISTORY_VERSION", "1.0.9"); 
     30define( "SIMPLE_HISTORY_VERSION", "1.1"); 
    3131define( "SIMPLE_HISTORY_NAME", "Simple History");  
    3232// define( "SIMPLE_HISTORY_URL", WP_PLUGIN_URL . '/simple-history/');   // http://playground.ep/wordpress/wp-content/plugins/simple-history/ 
     
    928928    global $wpdb; 
    929929    $tableprefix = $wpdb->prefix; 
    930     $sql = "DELETE FROM {$tableprefix}simple_history WHERE DATE_ADD(date, INTERVAL 60 DAY) < now()"; 
     930 
     931    $days = 60; 
     932    $days = (int) apply_filters("simple_history_db_purge_days_interval", $days); 
     933 
     934    $sql = "DELETE FROM {$tableprefix}simple_history WHERE DATE_ADD(date, INTERVAL $days DAY) < now()"; 
    931935 
    932936    if ($do_purge_history) { 
  • simple-history/trunk/readme.txt

    r686406 r699258  
    33Donate link: http://eskapism.se/sida/donate/ 
    44Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin 
    5 Requires at least: 3.0 
    6 Tested up to: 3.5 
    7 Stable tag: 1.0.9 
     5Requires at least: 3.5.1 
     6Tested up to: 3.5.1 
     7Stable tag: 1.1 
    88 
    99View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more. 
     
    135135== Changelog == 
    136136 
    137 = 1.x = 
     137= 1.1 = 
    138138- Added the Simple History Extender-module/plugin. With this great addon to Simple History it is very easy for other developers to add their own actions to simple history, including a settings panel to check actions on/off. All work on this module was made by Laurens Offereins (lmoffereins@gmail.com). Super thanks! 
    139139- With the help of Simple History Extender this plugin also tracks changes made in bbPress, Gravity Forms and in Widges. Awesome! 
     
    143143- Style fixes for RTL languages 
    144144- Small fixes here and there, for example changing deprecated WordPress functions to not deprecated 
     145- Added new filter: simple_history_db_purge_days_interval. Hook it to change default clear interval of 60 days. 
    145146 
    146147= 1.0.9 = 
Note: See TracChangeset for help on using the changeset viewer.