Changeset 41563
- Timestamp:
- 09/22/2017 11:27:44 AM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/edit.css
r41062 r41563 575 575 } 576 576 577 .tagchecklist > span{577 .tagchecklist > li { 578 578 float: left; 579 579 margin-right: 25px; … … 1050 1050 .tagcloud h2 { 1051 1051 margin: 2px 0 12px; 1052 } 1053 1054 .the-tagcloud ul { 1055 margin: 0; 1056 } 1057 1058 .the-tagcloud ul li { 1059 display: inline-block; 1052 1060 } 1053 1061 … … 1441 1449 } 1442 1450 1443 .tagchecklist > span{1451 .tagchecklist > li { 1444 1452 font-size: 16px; 1445 1453 line-height: 1.4; -
trunk/src/wp-admin/css/ie.css
r38880 r41563 442 442 } 443 443 444 .tagchecklist > span, .tagchecklist .ntdelbutton {444 .tagchecklist > li, .tagchecklist .ntdelbutton { 445 445 display: inline-block; 446 446 display: block; -
trunk/src/wp-admin/css/press-this.css
r41062 r41563 766 766 /* Tags */ 767 767 .tagchecklist { 768 margin: 0; 768 769 padding: 16px 28px 5px; 770 list-style: none; 769 771 } 770 772 … … 779 781 } 780 782 781 .tagchecklist > span{783 .tagchecklist > li { 782 784 float: left; 783 785 margin-right: 25px; … … 789 791 790 792 @media (max-width: 600px) { 791 .tagchecklist > span{793 .tagchecklist > li { 792 794 margin-bottom: 15px; 793 795 font-size: 16px; … … 876 878 margin: 0; 877 879 padding: 16px; 880 } 881 882 .the-tagcloud ul { 883 margin: 0; 884 padding: 0; 885 list-style: none; 886 } 887 888 .the-tagcloud ul li { 889 display: inline-block; 878 890 } 879 891 -
trunk/src/wp-admin/includes/ajax-actions.php
r41292 r41563 964 964 965 965 // We need raw tag names here, so don't filter the output 966 $return = wp_generate_tag_cloud( $tags, array( 'filter' => 0) );966 $return = wp_generate_tag_cloud( $tags, array( 'filter' => 0, 'format' => 'list' ) ); 967 967 968 968 if ( empty($return) ) -
trunk/src/wp-admin/includes/class-wp-press-this.php
r41347 r41563 948 948 ?> 949 949 </div> 950 < div class="tagchecklist"></div>950 <ul class="tagchecklist" role="list"></ul> 951 951 </div> 952 952 <?php -
trunk/src/wp-admin/includes/meta-boxes.php
r40984 r41563 454 454 <?php endif; ?> 455 455 </div> 456 < div class="tagchecklist"></div>456 <ul class="tagchecklist" role="list"></ul> 457 457 </div> 458 458 <?php if ( $user_can_assign_terms ) : ?> -
trunk/src/wp-admin/js/tags-box.js
r40181 r41563 75 75 76 76 $.each( current_tags, function( key, val ) { 77 var span, xbutton;77 var listItem, xbutton; 78 78 79 79 val = $.trim( 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 list item, and ensure the text is properly escaped. 85 listItem = $( '<li />' ).text( val ); 86 86 87 87 // If tags editing isn't disabled, create the X button. … … 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 + ' ' + listItem.html() + '</span>' + 96 96 '</button>' ); 97 97 … … 113 113 }); 114 114 115 span.prepend( ' ' ).prepend( xbutton );116 } 117 118 // Append the spanto the tag list.119 tagchecklist.append( span);115 listItem.prepend( ' ' ).prepend( xbutton ); 116 } 117 118 // Append the list item to the tag list. 119 tagchecklist.append( listItem ); 120 120 }); 121 121 // The buttons list is built now, give feedback to screen reader users. … … 167 167 } 168 168 169 r = $( '< p id="tagcloud-' + tax + '" class="the-tagcloud">' + r + '</p>' );169 r = $( '<div id="tagcloud-' + tax + '" class="the-tagcloud">' + r + '</div>' ); 170 170 171 171 $( 'a', r ).click( function() {
Note: See TracChangeset
for help on using the changeset viewer.