Ticket #14673: 14673_admin_options_panel.diff
| File 14673_admin_options_panel.diff, 521 bytes (added by davecpage, 3 years ago) |
|---|
-
wp-admin/options.php
27 27 if ( empty($option_page) ) // This is for back compat and will eventually be removed. 28 28 $option_page = 'options'; 29 29 30 if ( !current_user_can('manage_options') )30 if ( !current_user_can('manage_options') && !current_user_can('edit_theme_options') ) 31 31 wp_die(__('Cheatin’ uh?')); 32 32 33 33 // Handle admin email change requests
