Ticket #21324: 21324.8.diff
| File 21324.8.diff, 4.0 KB (added by SergeyBiryukov, 9 months ago) |
|---|
-
wp-admin/css/colors-classic.css
1268 1268 color: #999 1269 1269 } 1270 1270 1271 .wp-editor-wrap .wp-switch-editor:active { 1272 background-color: #f5fafd; 1273 } 1274 1271 1275 .wp-editor-wrap.tmce-active .switch-tmce, 1272 1276 .wp-editor-wrap.html-active .switch-html { 1273 1277 background-color: #eff8ff; -
wp-admin/css/wp-admin.css
6310 6310 width: 326px; 6311 6311 height: 67px; 6312 6312 text-indent: -9999px; 6313 outline: none; 6313 6314 overflow: hidden; 6314 6315 padding-bottom: 15px; 6315 6316 display: block; -
wp-admin/js/post.js
124 124 init : function() { 125 125 var t = this, ajaxtag = $('div.ajaxtag'); 126 126 127 $('.tagsdiv').each( function() {128 tagBox.quickClicks(this);129 });127 $('.tagsdiv').each( function() { 128 tagBox.quickClicks(this); 129 }); 130 130 131 131 $('input.tagadd', ajaxtag).click(function(){ 132 132 t.flushTags( $(this).closest('.tagsdiv') ); … … 138 138 139 139 $('input.newtag', ajaxtag).blur(function() { 140 140 if ( this.value == '' ) 141 $(this).parent().siblings('.taghint').css('visibility', '');142 }).focus(function(){141 $(this).parent().siblings('.taghint').css('visibility', ''); 142 }).focus(function(){ 143 143 $(this).parent().siblings('.taghint').css('visibility', 'hidden'); 144 144 }).keyup(function(e){ 145 145 if ( 13 == e.which ) { … … 156 156 $(this).suggest( ajaxurl + '?action=ajax-tag-search&tax=' + tax, { delay: 500, minchars: 2, multiple: true, multipleSep: postL10n.comma + ' ' } ); 157 157 }); 158 158 159 // save tags on post save/publish160 $('#post').submit(function(){159 // save tags on post save/publish 160 $('#post').submit(function(){ 161 161 $('div.tagsdiv').each( function() { 162 tagBox.flushTags(this, false, 1);162 tagBox.flushTags(this, false, 1); 163 163 }); 164 164 }); 165 165 166 166 // tag cloud 167 167 $('a.tagcloud-link').click(function(){ 168 tagBox.get( $(this).attr('id') ); 169 $(this).unbind().click(function(){ 170 $(this).siblings('.the-tagcloud').toggle(); 171 return false; 172 }); 168 if ( ! $('.the-tagcloud').length ) 169 tagBox.get( $(this).attr('id') ); 170 $(this).siblings('.the-tagcloud').toggle(); 173 171 return false; 174 172 }); 175 173 } … … 277 275 taxonomyParts = this_id.split('-'); 278 276 taxonomyParts.shift(); 279 277 taxonomy = taxonomyParts.join('-'); 280 settingName = taxonomy + '_tab';281 if ( taxonomy == 'category' )282 settingName = 'cats';278 settingName = taxonomy + '_tab'; 279 if ( taxonomy == 'category' ) 280 settingName = 'cats'; 283 281 284 282 // TODO: move to jQuery 1.3+, support for multiple hierarchical taxonomies, see wp-lists.js 285 283 $('a', '#' + taxonomy + '-tabs').click( function(){ … … 660 658 } 661 659 662 660 wptitlehint(); 661 662 // Blur accessibility link background color onclick 663 $('.postbox .inside a').on('click', function() { 664 $(this).blur(); 665 }); 663 666 }); -
wp-includes/css/editor.css
1084 1084 float: left; 1085 1085 } 1086 1086 1087 .wp-switch-editor:active { 1088 background-color: #f1f1f1; 1089 } 1090 1087 1091 .wp-switch-editor:hover { 1088 1092 text-decoration: none !important; 1089 1093 } -
wp-login.php
146 146 </script> 147 147 <?php endif; ?> 148 148 149 <script type="text/javascript"> 150 var i, links = document.getElementsByTagName('a'); 151 for ( i = 0; i < links.length; i++ ) { 152 // Blur accessibility link background color onclick 153 links[i].onclick = function() { this.blur(); } 154 } 155 </script> 156 149 157 <?php do_action('login_footer'); ?> 150 158 <div class="clear"></div> 151 159 </body>