Plugin Directory

Changeset 1193511


Ignore:
Timestamp:
07/06/2015 05:27:34 PM (11 years ago)
Author:
iTux
Message:

Removed deprecation warning by replacing the user level to a user role.

Location:
post-index/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • post-index/trunk/php/settings.php

    r1193503 r1193511  
    5757
    5858        function CreateMenu() {
    59             add_options_page($this->pluginLabel, $this->pluginLabel, 10, $this->pluginName, array($this, 'OptionsPage'));
     59            add_options_page($this->pluginLabel, $this->pluginLabel, 'edit_plugins', $this->pluginName, array($this, 'OptionsPage'));
    6060        }   
    6161       
  • post-index/trunk/post-index.php

    r1193496 r1193511  
    44    Plugin URI: http://wordpress.org/extend/plugins/post-index/
    55    Description: This plugin summarises all found blog posts added to a specific category and lists them alphabetically. Additional custom fields could be used to display links to other pages or additional information to a post.
    6     Version: 0.7.2
     6    Version: 0.7.3
    77    Author: Thomas A. Hirsch
    88    Author URI: http://www.thirsch.de/
  • post-index/trunk/readme.txt

    r1193502 r1193511  
    66Requires at least: 2.7
    77Tested up to: 4.2.2
    8 Stable tag: 0.7.2
     8Stable tag: 0.7.3
    99License: GPLv2 or later
    1010
     
    7272== Upgrade Notice ==
    7373
     74= 0.7.3 =
     75
     76* Removed deprecation warning, caused by the use of old user levels. The call has been replaced by using a role name.
     77
    7478= 0.7.2 =
    7579
Note: See TracChangeset for help on using the changeset viewer.