Changeset 46279
- Timestamp:
- 05/16/08 16:35:34 (2 months ago)
- Files:
-
- add-local-avatar/trunk/avatars.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
add-local-avatar/trunk/avatars.php
r44923 r46279 5 5 Description: A plugin to manage public and private avatars. 6 6 Author: Peter Sterling 7 Version: 4.27 Version: 5.0 8 8 Changes: 0.1 - Initial version. 9 9 1.0 - Added pagination of users list. … … 17 17 4.1 - Author credit. 18 18 4.2 - Fix for credit option un-setting. 19 5.0 - Avatar options should only be managed by Administrators. 19 20 Author URI: http://www.sterling-adventures.co.uk/ 20 21 */ … … 422 423 // Add sub-menus... 423 424 function avatar_menu() { 424 add_users_page('Avatars', 'Avatars', 1, basename(__FILE__), 'manage_avatar_cache');425 if(current_user_can('manage_options')) add_users_page('Avatars', 'Avatars', 1, basename(__FILE__), 'manage_avatar_cache'); 425 426 } 426 427
