WordPress.org

Make WordPress Core

Ticket #5812: 5863.r6855.diff

File 5863.r6855.diff, 1.3 KB (added by hansengel, 10 years ago)

Fixes Posts/Page/Links

  • wp-admin/admin-header.php

     
    1818wp_admin_css( 'css/global' );
    1919wp_admin_css();
    2020?>
     21<!--[if gte IE 6]>
     22<?php wp_admin_css( 'css/ie' );
     23?>
     24<!endif-->
    2125<script type="text/javascript">
    2226//<![CDATA[
    2327addLoadEvent=(function(){var e=[],t,s,n,i,o,d=document,w=window,r='readyState',c='onreadystatechange',x=function(){n=1;clearInterval(t);while(i=e.shift())i();if(s)s[c]=''};return function(f){if(n)return f();if(!e[0]){d.addEventListener&&d.addEventListener("DOMContentLoaded",x,false);/*@cc_on@*//*@if(@_win32)d.write("<script id=__ie_onload defer src=//0><\/scr"+"ipt>");s=d.getElementById("__ie_onload");s[c]=function(){s[r]=="complete"&&x()};/*@end@*/if(/WebKit/i.test(navigator.userAgent))t=setInterval(function(){/loaded|complete/.test(d[r])&&x()},10);o=w.onload;w.onload=function(){x();o&&o()}}e.push(f)}})();//]]>
  • wp-admin/css/ie.css

     
     1/* Fixes for IE bugs */
     2
     3#poststuff .postbox h3 {
     4        padding-left: 23px;
     5}
     6 No newline at end of file