WordPress.org

Plugin Directory

Changeset 730740


Ignore:
Timestamp:
06/24/13 09:20:28 (10 months ago)
Author:
eskapism
Message:

version 1.3.3

Location:
simple-history
Files:
1 deleted
2 edited
13 copied

Legend:

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

    r728800 r730740  
    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.3.2 
     6Version: 1.3.3 
    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.3.2"); 
     30define( "SIMPLE_HISTORY_VERSION", "1.3.3"); 
    3131define( "SIMPLE_HISTORY_NAME", "Simple History"); 
    3232 
     
    5353     var 
    5454        $plugin_foldername_and_filename, 
    55         $view_history_capability 
     55        $view_history_capability, 
     56        $view_settings_capability 
    5657        ; 
    5758 
     
    6667 
    6768        $this->plugin_foldername_and_filename = basename(dirname(__FILE__)) . "/" . basename(__FILE__); 
     69         
    6870        $this->view_history_capability = "edit_pages"; 
    6971        $this->view_history_capability = apply_filters("simple_history_view_history_capability", $this->view_history_capability); 
     72 
     73        $this->view_settings_capability = "manage_options"; 
     74        $this->view_settings_capability = apply_filters("simple_history_view_settings_capability", $this->view_settings_capability); 
    7075         
    7176        $this->add_types_for_translation(); 
     
    289294        $show_settings_page = apply_filters("simple_history_show_settings_page", $show_settings_page); 
    290295        if ($show_settings_page) { 
    291             add_options_page(__('Simple History Settings', "simple-history"), SIMPLE_HISTORY_NAME, $this->view_history_capability, "simple_history_settings_menu_slug", array($this, 'settings_page')); 
     296            add_options_page(__('Simple History Settings', "simple-history"), SIMPLE_HISTORY_NAME, $this->view_settings_capability, "simple_history_settings_menu_slug", array($this, 'settings_page')); 
    292297        } 
    293298 
  • simple-history/tags/1.3.3/readme.txt

    r728800 r730740  
    55Requires at least: 3.5.1 
    66Tested up to: 3.5.1 
    7 Stable tag: 1.3.2 
     7Stable tag: 1.3.3 
    88 
    99View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more. 
     
    176176== Changelog == 
    177177 
     178= 1.3.3 = 
     179- Capability for viewing settings changed from edit_pages to the more correct [manage_options](http://codex.wordpress.org/Roles_and_Capabilities#manage_options) 
     180 
    178181= 1.3.2 = 
    179182- Could get php notice warning if rss secret was not set. Also: make sure both public and private secret exists. 
  • simple-history/trunk/index.php

    r728800 r730740  
    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.3.2 
     6Version: 1.3.3 
    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.3.2"); 
     30define( "SIMPLE_HISTORY_VERSION", "1.3.3"); 
    3131define( "SIMPLE_HISTORY_NAME", "Simple History"); 
    3232 
     
    5353     var 
    5454        $plugin_foldername_and_filename, 
    55         $view_history_capability 
     55        $view_history_capability, 
     56        $view_settings_capability 
    5657        ; 
    5758 
     
    6667 
    6768        $this->plugin_foldername_and_filename = basename(dirname(__FILE__)) . "/" . basename(__FILE__); 
     69         
    6870        $this->view_history_capability = "edit_pages"; 
    6971        $this->view_history_capability = apply_filters("simple_history_view_history_capability", $this->view_history_capability); 
     72 
     73        $this->view_settings_capability = "manage_options"; 
     74        $this->view_settings_capability = apply_filters("simple_history_view_settings_capability", $this->view_settings_capability); 
    7075         
    7176        $this->add_types_for_translation(); 
     
    289294        $show_settings_page = apply_filters("simple_history_show_settings_page", $show_settings_page); 
    290295        if ($show_settings_page) { 
    291             add_options_page(__('Simple History Settings', "simple-history"), SIMPLE_HISTORY_NAME, $this->view_history_capability, "simple_history_settings_menu_slug", array($this, 'settings_page')); 
     296            add_options_page(__('Simple History Settings', "simple-history"), SIMPLE_HISTORY_NAME, $this->view_settings_capability, "simple_history_settings_menu_slug", array($this, 'settings_page')); 
    292297        } 
    293298 
  • simple-history/trunk/readme.txt

    r728800 r730740  
    55Requires at least: 3.5.1 
    66Tested up to: 3.5.1 
    7 Stable tag: 1.3.2 
     7Stable tag: 1.3.3 
    88 
    99View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more. 
     
    176176== Changelog == 
    177177 
     178= 1.3.3 = 
     179- Capability for viewing settings changed from edit_pages to the more correct [manage_options](http://codex.wordpress.org/Roles_and_Capabilities#manage_options) 
     180 
    178181= 1.3.2 = 
    179182- Could get php notice warning if rss secret was not set. Also: make sure both public and private secret exists. 
Note: See TracChangeset for help on using the changeset viewer.