diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css
index 64b98ae..1595983 100644
|
a
|
b
|
span.wp-media-buttons-icon:before { |
| 574 | 574 | position: absolute; |
| 575 | 575 | } |
| 576 | 576 | |
| 577 | | .tagchecklist > span { |
| | 577 | .tagchecklist > li { |
| | 578 | display: inline-block; |
| 578 | 579 | float: left; |
| 579 | 580 | margin-right: 25px; |
| 580 | 581 | font-size: 13px; |
| … |
… |
table.links-table { |
| 1440 | 1441 | margin: 25px 10px; |
| 1441 | 1442 | } |
| 1442 | 1443 | |
| 1443 | | .tagchecklist > span { |
| | 1444 | .tagchecklist > li { |
| 1444 | 1445 | font-size: 16px; |
| 1445 | 1446 | line-height: 1.4; |
| 1446 | 1447 | } |
diff --git a/src/wp-admin/css/press-this.css b/src/wp-admin/css/press-this.css
index bafea24..5227f9d 100644
|
a
|
b
|
dd { |
| 765 | 765 | |
| 766 | 766 | /* Tags */ |
| 767 | 767 | .tagchecklist { |
| | 768 | margin: 0; |
| 768 | 769 | padding: 16px 28px 5px; |
| | 770 | list-style: none; |
| 769 | 771 | } |
| 770 | 772 | |
| 771 | 773 | .tagchecklist:before, |
| … |
… |
dd { |
| 778 | 780 | clear: both; |
| 779 | 781 | } |
| 780 | 782 | |
| 781 | | .tagchecklist > span { |
| | 783 | .tagchecklist > li { |
| | 784 | display: inline-block; |
| 782 | 785 | float: left; |
| 783 | 786 | margin-right: 25px; |
| 784 | 787 | font-size: 13px; |
| … |
… |
dd { |
| 788 | 791 | } |
| 789 | 792 | |
| 790 | 793 | @media (max-width: 600px) { |
| 791 | | .tagchecklist > span { |
| | 794 | .tagchecklist > li { |
| 792 | 795 | margin-bottom: 15px; |
| 793 | 796 | font-size: 16px; |
| 794 | 797 | line-height: 1.3; |
diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php
index 1a30e41..86d5106 100644
|
a
|
b
|
class WP_Press_This { |
| 950 | 950 | |
| 951 | 951 | ?> |
| 952 | 952 | </div> |
| 953 | | <div class="tagchecklist"></div> |
| | 953 | <ul class="tagchecklist"></ul> |
| 954 | 954 | </div> |
| 955 | 955 | <?php |
| 956 | 956 | |
diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
index 1d9b283..104cb64 100644
|
a
|
b
|
function post_tags_meta_box( $post, $box ) { |
| 453 | 453 | <p><?php echo $taxonomy->labels->no_terms; ?></p> |
| 454 | 454 | <?php endif; ?> |
| 455 | 455 | </div> |
| 456 | | <div class="tagchecklist"></div> |
| | 456 | <ul class="tagchecklist"></ul> |
| 457 | 457 | </div> |
| 458 | 458 | <?php if ( $user_can_assign_terms ) : ?> |
| 459 | 459 | <p class="hide-if-no-js"><button type="button" class="button-link tagcloud-link" id="link-<?php echo $tax_name; ?>" aria-expanded="false"><?php echo $taxonomy->labels->choose_from_most_used; ?></button></p> |
diff --git a/src/wp-admin/js/tags-box.js b/src/wp-admin/js/tags-box.js
index 3867c7d..bcfa72c 100644
|
a
|
b
|
var tagBox, array_unique_noempty; |
| 74 | 74 | tagchecklist.empty(); |
| 75 | 75 | |
| 76 | 76 | $.each( current_tags, function( key, val ) { |
| 77 | | var span, xbutton; |
| | 77 | var item, xbutton; |
| 78 | 78 | |
| 79 | 79 | val = $.trim( val ); |
| 80 | 80 | |
| 81 | 81 | if ( ! val ) |
| 82 | 82 | return; |
| 83 | 83 | |
| 84 | | // Create a new span, and ensure the text is properly escaped. |
| 85 | | span = $('<span />').text( val ); |
| | 84 | // Create a new item, and ensure the text is properly escaped. |
| | 85 | item = $('<li />').text( val ); |
| 86 | 86 | |
| 87 | 87 | // If tags editing isn't disabled, create the X button. |
| 88 | 88 | if ( ! disabled ) { |
| … |
… |
var tagBox, array_unique_noempty; |
| 92 | 92 | */ |
| 93 | 93 | xbutton = $( '<button type="button" id="' + id + '-check-num-' + key + '" class="ntdelbutton">' + |
| 94 | 94 | '<span class="remove-tag-icon" aria-hidden="true"></span>' + |
| 95 | | '<span class="screen-reader-text">' + window.tagsSuggestL10n.removeTerm + ' ' + span.html() + '</span>' + |
| | 95 | '<span class="screen-reader-text">' + window.tagsSuggestL10n.removeTerm + ' ' + item.html() + '</span>' + |
| 96 | 96 | '</button>' ); |
| 97 | 97 | |
| 98 | 98 | xbutton.on( 'click keypress', function( e ) { |
| … |
… |
var tagBox, array_unique_noempty; |
| 112 | 112 | } |
| 113 | 113 | }); |
| 114 | 114 | |
| 115 | | span.prepend( ' ' ).prepend( xbutton ); |
| | 115 | item.prepend( ' ' ).prepend( xbutton ); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | | // Append the span to the tag list. |
| 119 | | tagchecklist.append( span ); |
| | 118 | // Append the item to the tag list. |
| | 119 | tagchecklist.append( item ); |
| 120 | 120 | }); |
| 121 | 121 | // The buttons list is built now, give feedback to screen reader users. |
| 122 | 122 | tagBox.screenReadersMessage(); |