From 8a82d390022f9de7e2977bd89af836e974694617 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 11 Jun 2010 00:00:47 +0000 Subject: [PATCH] Check for the import cap before showing links to the tag/cat converter. props kpdesign, fixes #13834. git-svn-id: https://develop.svn.wordpress.org/trunk@15205 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-tags.php | 4 +++- wp-admin/tools.php | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 2624e4b28f..64059bd619 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -337,9 +337,11 @@ if ( $page_links )

Note:
Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category %s.'), apply_filters('the_category', get_cat_name(get_option('default_category')))) ?>

+

category to tag converter.'), 'import.php') ?>

+
- +

tag to category converter'), 'import.php') ;?>.

diff --git a/wp-admin/tools.php b/wp-admin/tools.php index 0e36f2ac68..20cecf6bad 100644 --- a/wp-admin/tools.php +++ b/wp-admin/tools.php @@ -38,9 +38,9 @@ require_once('./admin-header.php'); cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?>

@@ -48,6 +48,7 @@ if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap->