X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/449d082fcc4873c1f7d363a0d9f7409be7f6e77d..8cc0f04ca22ffd9449495b3e0240603309c9932c:/wp-admin/options-writing.php?ds=sidebyside diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index 7220a45e..a8979f4e 100644 --- a/wp-admin/options-writing.php +++ b/wp-admin/options-writing.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 = __('Writing Settings'); $parent_file = 'options-general.php'; @@ -17,7 +20,7 @@ include('admin-header.php');
-

+

@@ -30,7 +33,7 @@ include('admin-header.php'); -
+

@@ -61,7 +64,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category - -
+

@@ -69,7 +72,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category
+

@@ -84,7 +87,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category - @@ -116,18 +119,18 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_email_categor

- + -

Update Services because of your blog\'s privacy settings.'), 'options-privacy.php'); ?>

+

Update Services because of your blog’s privacy settings.'), 'options-privacy.php'); ?>

- +

+