diff --git src/wp-admin/edit-tags.php src/wp-admin/edit-tags.php
index c71212b95c..998c06e3c3 100644
|
|
|
endif;
|
| 354 | 354 | |
| 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 | |
| 359 | 364 | <div id="col-left"> |
| 360 | 365 | <div class="col-wrap"> |
| 361 | 366 | |
| 362 | 367 | <?php |
| 363 | | |
| 364 | | if ( current_user_can( $tax->cap->edit_terms ) ) { |
| 365 | 368 | if ( 'category' == $taxonomy ) { |
| 366 | 369 | /** |
| 367 | 370 | * Fires before the Add Category form. |
| … |
… |
if ( current_user_can( $tax->cap->edit_terms ) ) {
|
| 559 | 562 | do_action( "{$taxonomy}_add_form", $taxonomy ); |
| 560 | 563 | ?> |
| 561 | 564 | </form></div> |
| 562 | | <?php } ?> |
| 563 | | |
| 564 | 565 | </div> |
| 565 | 566 | </div><!-- /col-left --> |
| 566 | 567 | |
| 567 | 568 | <div id="col-right"> |
| 568 | 569 | <div class="col-wrap"> |
| | 570 | <?php } ?> |
| 569 | 571 | |
| 570 | 572 | <?php $wp_list_table->views(); ?> |
| 571 | 573 | |
| … |
… |
endif;
|
| 612 | 614 | * @param string $taxonomy The taxonomy name. |
| 613 | 615 | */ |
| 614 | 616 | do_action( "after-{$taxonomy}-table", $taxonomy ); |
| 615 | | ?> |
| 616 | 617 | |
| | 618 | if ( $can_edit_terms ) { |
| | 619 | ?> |
| 617 | 620 | </div> |
| 618 | 621 | </div><!-- /col-right --> |
| 619 | 622 | |
| 620 | 623 | </div><!-- /col-container --> |
| | 624 | <?php } ?> |
| | 625 | |
| 621 | 626 | </div><!-- /wrap --> |
| 622 | 627 | |
| 623 | 628 | <?php if ( ! wp_is_mobile() ) : ?> |