Ticket #27521: 27521.diff
File 27521.diff, 2.5 KB (added by , 11 years ago) |
---|
-
src/wp-admin/css/themes.css
40 40 top: -3px; 41 41 } 42 42 43 .theme-navigation a{ 44 text-decoration:none; 45 } 46 43 47 /* Position admin messages */ 44 48 .themes-php div.updated, 45 49 .themes-php div.error { -
src/wp-admin/js/theme.js
269 269 expand: function( event ) { 270 270 var self = this; 271 271 272 272 273 event = event || window.event; 273 274 274 275 // 'enter' and 'space' keys expand the details view when a theme is :focused … … 303 304 return this.touchDrag = false; 304 305 } 305 306 307 if ( event.type === 'keydown' && ( event.which !== 13 && event.which !== 32 ) ) { 308 return; 309 } 310 306 311 event.preventDefault(); 307 312 308 313 event = event || window.event; … … 1085 1090 var $el = $( event.target ), 1086 1091 sort = $el.data( 'sort' ); 1087 1092 1093 // links that trigger sort have a # as the href, we don't want to add that to the url 1094 event.preventDefault(); 1095 1088 1096 // Bail if this is already active 1089 1097 if ( $el.hasClass( this.activeClass ) ) { 1090 1098 return; -
src/wp-admin/theme-install.php
114 114 115 115 <div class="theme-navigation"> 116 116 <span class="theme-count"></span> 117 < span class="theme-section current" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></span>118 < span class="theme-section" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></span>119 < span class="theme-section" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></span>117 <a class="theme-section current" href="#" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></a> 118 <a class="theme-section" href="#" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></a> 119 <a class="theme-section" href="#" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></a> 120 120 <div class="theme-top-filters"> 121 121 <!--<span class="theme-filter" data-filter="photoblogging">Photography</span> 122 122 <span class="theme-filter" data-filter="responsive-layout">Responsive</span>--> 123 < span class="more-filters"><?php _e( 'Feature Filter' ); ?></span>123 <a class="more-filters" href="#"><?php _e( 'Feature Filter' ); ?></a> 124 124 </div> 125 125 <div class="more-filters-container"> 126 126 <?php