X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/11be8dc178e77d0b46189bbd8e33a216a9b90942..refs/tags/wordpress-2.8.4:/wp-admin/options-general.php diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index f302e5fb..def21249 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -9,8 +9,13 @@ /** WordPress Administration Bootstrap */ require_once('./admin.php'); +if ( ! current_user_can('manage_options') ) + wp_die(__('You do not have sufficient permissions to manage options for this blog.')); + $title = __('General Settings'); $parent_file = 'options-general.php'; +/* translators: date and time format for exact current time, mainly about timezones, see http://php.net/date */ +$timezone_format = _x('Y-m-d G:i:s', 'timezone date format'); /** * Display JavaScript on the page. @@ -50,7 +55,7 @@ include('./admin-header.php');
-

+

@@ -63,7 +68,7 @@ include('./admin-header.php'); - + @@ -72,16 +77,16 @@ include('./admin-header.php'); " /> -to be different from the directory you installed WordPress.'); ?> +to be different from the directory you installed WordPress.'); ?> - - + + -