X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9c40b4d36daed9e28e48a5fe9205c32557195a4b..1c09677af04c9e37714e09b73eb9dbc5b2e3eb13:/wp-admin/options-reading.php diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 64410c38..d5bcdbfc 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -9,6 +9,9 @@ /** 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 = __('Reading Settings'); $parent_file = 'options-general.php'; @@ -72,7 +75,7 @@ include('admin-header.php'); -recommended)') ?> +character encoding of your blog (UTF-8 is recommended, if you are adventurous there are some other encodings)') ?>