Changeset 15141 for trunk/wp-admin/edit-tags.php
- Timestamp:
- 06/04/2010 07:18:09 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-tags.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r15140 r15141 356 356 357 357 <?php 358 if ( current_user_can( $tax->cap->edit_terms ) ) 359 $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false, 'link' => 'edit' ) ); 360 else 361 $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false ) ); 362 363 if ( $tag_cloud && !is_taxonomy_hierarchical($taxonomy) ) : 364 ?> 358 359 if ( !is_taxonomy_hierarchical($taxonomy) ) { 360 if ( current_user_can( $tax->cap->edit_terms ) ) 361 $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false, 'link' => 'edit' ) ); 362 else 363 $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false ) ); 364 365 if ( $tag_cloud ) : 366 ?> 365 367 <div class="tagcloud"> 366 368 <h3><?php echo $tax->labels->popular_items; ?></h3> … … 369 371 <?php 370 372 endif; 373 } 371 374 372 375 if ( current_user_can($tax->cap->edit_terms) ) {
Note: See TracChangeset
for help on using the changeset viewer.