Changeset 14581 for trunk/wp-admin/custom-background.php
- Timestamp:
- 05/12/2010 07:19:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-background.php
r14578 r14581 53 53 */ 54 54 function init() { 55 if ( ! current_user_can(' switch_themes') )55 if ( ! current_user_can('edit_theme_options') ) 56 56 return; 57 57 58 $page = add_theme_page(__('Background'), __('Background'), ' switch_themes', 'custom-background', array(&$this, 'admin_page'));58 $page = add_theme_page(__('Background'), __('Background'), 'edit_theme_options', 'custom-background', array(&$this, 'admin_page')); 59 59 60 60 add_action("load-$page", array(&$this, 'admin_load'));
Note: See TracChangeset
for help on using the changeset viewer.