diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 47657f38d..e2f9e6b5f 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -302,17 +302,21 @@ if ( $page_links )
+edit_cap ) ) + $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false, 'link' => 'edit' ) ); +else + $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false ) ); + +if ( $tag_cloud ) : +?>

label); ?>

-edit_cap) ) - wp_tag_cloud(array('taxonomy' => $taxonomy, 'link' => 'edit')); -else - wp_tag_cloud(array('taxonomy' => $taxonomy)); -?> +
- 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