Changeset 44515
- Timestamp:
- 01/09/2019 12:04:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tags.php
r43666 r44515 355 355 </form> 356 356 357 <?php 358 $can_edit_terms = current_user_can( $tax->cap->edit_terms ); 359 360 if ( $can_edit_terms ) { 361 ?> 357 362 <div id="col-container" class="wp-clearfix"> 358 363 … … 361 366 362 367 <?php 363 364 if ( current_user_can( $tax->cap->edit_terms ) ) {365 368 if ( 'category' == $taxonomy ) { 366 369 /** … … 560 563 ?> 561 564 </form></div> 562 <?php } ?>563 564 565 </div> 565 566 </div><!-- /col-left --> … … 567 568 <div id="col-right"> 568 569 <div class="col-wrap"> 570 <?php } ?> 569 571 570 572 <?php $wp_list_table->views(); ?> … … 613 615 */ 614 616 do_action( "after-{$taxonomy}-table", $taxonomy ); 617 618 if ( $can_edit_terms ) { 615 619 ?> 616 617 620 </div> 618 621 </div><!-- /col-right --> 619 622 620 623 </div><!-- /col-container --> 624 <?php } ?> 625 621 626 </div><!-- /wrap --> 622 627
Note: See TracChangeset
for help on using the changeset viewer.