mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Just check for manage_categories. fixes #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d5bb675acb
commit
a0d725d980
@ -125,7 +125,7 @@ class WP_Categories_to_Tags {
|
|||||||
|
|
||||||
$this->header();
|
$this->header();
|
||||||
|
|
||||||
if (!current_user_can('manage_categories') || !current_user_can('manage_tags')) {
|
if (!current_user_can('manage_categories')) {
|
||||||
print '<div class="narrow">';
|
print '<div class="narrow">';
|
||||||
print '<p>' . __('Cheatin’ uh?') . '</p>';
|
print '<p>' . __('Cheatin’ uh?') . '</p>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
Loading…
Reference in New Issue
Block a user