diff --git a/wp-admin/edit-category-form.php b/wp-admin/edit-category-form.php index 2e37f79641..9dd98aeaa3 100644 --- a/wp-admin/edit-category-form.php +++ b/wp-admin/edit-category-form.php @@ -6,6 +6,9 @@ * @subpackage Administration */ +if ( !current_user_can('manage_categories') ) + wp_die(__('You do not have sufficient permissions to edit categories for this blog.')); + /** * @var object */ diff --git a/wp-admin/edit-link-category-form.php b/wp-admin/edit-link-category-form.php index bb721110c6..cee75dcc39 100644 --- a/wp-admin/edit-link-category-form.php +++ b/wp-admin/edit-link-category-form.php @@ -6,6 +6,9 @@ * @subpackage Administration */ +if ( !current_user_can('manage_categories') ) + wp_die(__('You do not have sufficient permissions to edit link categories for this blog.')); + /** * @var object */ diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index efef02bcab..de975c9765 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -6,6 +6,9 @@ * @subpackage Administration */ +if ( !current_user_can('manage_categories') ) + wp_die(__('You do not have sufficient permissions to edit tags for this blog.')); + if ( empty($tag_ID) ) { ?>