diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index aa515262f..a830843da 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -10,11 +10,8 @@ if ( !defined('ABSPATH') ) die('-1'); -if ( !current_user_can('manage_categories') ) - wp_die(__('You do not have sufficient permissions to edit tags for this blog.')); - if ( empty($tag_ID) ) { ?> -

+

-

+

singular_label); ?>

@@ -36,27 +33,30 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> - - + + - + - + - + - + - + @@ -68,7 +68,7 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> do_action($taxonomy . '_edit_form_fields', $tag, $taxonomy); ?>
+

0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?>
+ +

-

+

edit_cap) ) require_once ('admin-header.php'); -$messages[1] = __('Tag added.'); -$messages[2] = __('Tag deleted.'); -$messages[3] = __('Tag updated.'); -$messages[4] = __('Tag not added.'); -$messages[5] = __('Tag not updated.'); -$messages[6] = __('Tags deleted.'); ?> +$messages[1] = __('Item added.'); +$messages[2] = __('Item deleted.'); +$messages[3] = __('Item updated.'); +$messages[4] = __('Item not added.'); +$messages[5] = __('Item not updated.'); +$messages[6] = __('Items deleted.'); + +?>
@@ -174,9 +176,9 @@ endif; ?>
@@ -234,17 +236,17 @@ if ( $page_links )
- + - + - + @@ -272,6 +274,15 @@ 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.'), 'admin.php?import=wp-cat2tag') ?>

+
+ + + @@ -279,7 +290,7 @@ if ( $page_links )
-

+

label); ?>

edit_cap) ) wp_tag_cloud(array('taxonomy' => $taxonomy, 'link' => 'edit')); @@ -288,7 +299,8 @@ else ?>
-edit_cap) ) { +edit_cap) ) { if ( 'category' == $taxonomy ) do_action('add_category_form_pre', (object)array('parent' => 0) ); // Back compat hook. Deprecated in preference to $taxonomy_pre_add_form else @@ -297,33 +309,35 @@ else ?>
-

+

singular_label); ?>

- + -

+

- +
- +

- - + +
- + 0, 'hide_if_empty' => false, 'taxonomy' => $taxonomy, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => true, 'show_option_none' => __('None'))); ?> -

+ +

+
- +
- +

@@ -333,8 +347,7 @@ if ( ! is_taxonomy_hierarchical($taxonomy) ) do_action('add_tag_form_fields', $taxonomy); do_action($taxonomy . '_add_form_fields', $taxonomy); ?> - -

+

0) ); // Back compat hook. Deprecated in preference to $taxonomy_add_form @@ -359,4 +372,4 @@ break; include('admin-footer.php'); -?> +?> \ No newline at end of file