<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[12817] trunk: Shake the JS weight away!</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/12817">12817</a></dd>
<dt>Author</dt> <dd>markjaquith</dd>
<dt>Date</dt> <dd>2010-01-24 06:16:17 +0000 (Sun, 24 Jan 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Shake the JS weight away!</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
<li><a href="#trunkwploginphp">trunk/wp-login.php</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkwpincludesjsjqueryuieffectsjs">trunk/wp-includes/js/jquery/ui.effects.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesjsjqueryuieffectsjs"></a>
<div class="delfile"><h4>Deleted: trunk/wp-includes/js/jquery/ui.effects.js (12816 => 12817)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.effects.js        2010-01-24 02:07:13 UTC (rev 12816)
+++ trunk/wp-includes/js/jquery/ui.effects.js        2010-01-24 06:16:17 UTC (rev 12817)
</span><span class="lines">@@ -1,154 +0,0 @@
</span><del>-/*
- * jQuery UI Effects 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/
- */
-jQuery.effects||(function(d){d.effects={version:&quot;1.7.2&quot;,save:function(g,h){for(var f=0;f&lt;h.length;f++){if(h[f]!==null){g.data(&quot;ec.storage.&quot;+h[f],g[0].style[h[f]])}}},restore:function(g,h){for(var f=0;f&lt;h.length;f++){if(h[f]!==null){g.css(h[f],g.data(&quot;ec.storage.&quot;+h[f]))}}},setMode:function(f,g){if(g==&quot;toggle&quot;){g=f.is(&quot;:hidden&quot;)?&quot;show&quot;:&quot;hide&quot;}return g},getBaseline:function(g,h){var i,f;switch(g[0]){case&quot;top&quot;:i=0;break;case&quot;middle&quot;:i=0.5;break;case&quot;bottom&quot;:i=1;break;default:i=g[0]/h.height}switch(g[1]){case&quot;left&quot;:f=0;break;case&quot;center&quot;:f=0.5;break;case&quot;right&quot;:f=1;break;default:f=g[1]/h.width}return{x:f,y:i}},createWrapper:function(f){if(f.parent().is(&quot;.ui-effects-wrapper&quot;)){return f.parent()}var g={width:f.outerWidth(true),height:f.outerHeight(true),&quot;float&quot;:f.css(&quot;float&quot;)};f.wrap('&lt;div class=&quot;ui-effects-wrapper&quot; style=&quot;font-size:100%;background:transparent;border:none;margin:0;padding:0&quot;&gt;&lt;/div&gt;');var j=f.parent();if(f.css(&quot;position&quot;)==&quot;static&quot;){j.css({position:&quot;relative&quot;});f.css({position:&quot;relative&quot;})}else{var i=f.css(&quot;top&quot;);if(isNaN(parseInt(i,10))){i=&quot;auto&quot;}var h=f.css(&quot;left&quot;);if(isNaN(parseInt(h,10))){h=&quot;auto&quot;}j.css({position:f.css(&quot;position&quot;),top:i,left:h,zIndex:f.css(&quot;z-index&quot;)}).show();f.css({position:&quot;relative&quot;,top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(&quot;.ui-effects-wrapper&quot;)){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]&gt;0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k==&quot;function&quot;?k:(j?j:null));var g=(typeof k==&quot;string&quot;?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr(&quot;style&quot;)||&quot;&quot;;if(typeof p==&quot;object&quot;){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!=&quot;function&quot;&amp;&amp;m[r]&amp;&amp;r.indexOf(&quot;Moz&quot;)==-1&amp;&amp;r.indexOf(&quot;length&quot;)==-1&amp;&amp;m[r]!=l[r]&amp;&amp;(r.match(/color/i)||(!r.match(/color/i)&amp;&amp;!isNaN(parseInt(m[r],10))))&amp;&amp;(l.position!=&quot;static&quot;||(l.position==&quot;static&quot;&amp;&amp;!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr(&quot;style&quot;)==&quot;object&quot;){d(this).attr(&quot;style&quot;)[&quot;cssText&quot;]=&quot;&quot;;d(this).attr(&quot;style&quot;)[&quot;cssText&quot;]=p}else{d(this).attr(&quot;style&quot;,p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&amp;&amp;g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&amp;&amp;g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h===&quot;number&quot;?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&amp;&amp;g[1])||(d.isFunction(g[2])&amp;&amp;g[2])||(d.isFunction(g[3])&amp;&amp;g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,&quot;show&quot;))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,&quot;hide&quot;))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]==&quot;boolean&quot;)){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,&quot;toggle&quot;))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!==&quot;boolean&quot;)&amp;&amp;f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each([&quot;em&quot;,&quot;px&quot;,&quot;%&quot;,&quot;pt&quot;],function(j,k){if(g.indexOf(k)&gt;0){h=[parseFloat(g),k]}});return h}});d.each([&quot;backgroundColor&quot;,&quot;borderBottomColor&quot;,&quot;borderLeftColor&quot;,&quot;borderRightColor&quot;,&quot;borderTopColor&quot;,&quot;color&quot;,&quot;outlineColor&quot;],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]=&quot;rgb(&quot;+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(&quot;,&quot;)+&quot;)&quot;}});function b(g){var f;if(g&amp;&amp;g.constructor==Array&amp;&amp;g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=&quot;&quot;&amp;&amp;g!=&quot;transparent&quot;||d.nodeName(h,&quot;body&quot;)){break}f=&quot;backgroundColor&quot;}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:&quot;easeOutQuad&quot;,swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)&lt;1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)&lt;1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)&lt;1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)&lt;1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)&lt;1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)&lt;1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h&lt;Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}return -(h*Math.pow(2,10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k))+f},easeOutElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h&lt;Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}return h*Math.pow(2,-10*i)*Math.sin((i*l-j)*(2*Math.PI)/k)+m+f},easeInOutElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l/2)==2){return f+m}if(!k){k=l*(0.3*1.5)}if(h&lt;Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}if(i&lt;1){return -0.5*(h*Math.pow(2,10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k))+f}return h*Math.pow(2,-10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k)*0.5+m+f},easeInBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}return k*(h/=j)*h*((i+1)*h-i)+f},easeOutBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}return k*((h=h/j-1)*h*((i+1)*h+i)+1)+f},easeInOutBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}if((h/=j/2)&lt;1){return k/2*(h*h*(((i*=(1.525))+1)*h-i))+f}return k/2*((h-=2)*h*(((i*=(1.525))+1)*h+i)+2)+f},easeInBounce:function(g,h,f,j,i){return j-d.easing.easeOutBounce(g,i-h,0,j,i)+f},easeOutBounce:function(g,h,f,j,i){if((h/=i)&lt;(1/2.75)){return j*(7.5625*h*h)+f}else{if(h&lt;(2/2.75)){return j*(7.5625*(h-=(1.5/2.75))*h+0.75)+f}else{if(h&lt;(2.5/2.75)){return j*(7.5625*(h-=(2.25/2.75))*h+0.9375)+f}else{return j*(7.5625*(h-=(2.625/2.75))*h+0.984375)+f}}}},easeInOutBounce:function(g,h,f,j,i){if(h&lt;i/2){return d.easing.easeInBounce(g,h*2,0,j,i)*0.5+f}return d.easing.easeOutBounce(g,h*2-i,0,j,i)*0.5+j*0.5+f}})})(jQuery);;/*
- * jQuery UI Effects Blind 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Blind
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.blind=function(b){return this.queue(function(){var d=a(this),c=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;];var h=a.effects.setMode(d,b.options.mode||&quot;hide&quot;);var g=b.options.direction||&quot;vertical&quot;;a.effects.save(d,c);d.show();var j=a.effects.createWrapper(d).css({overflow:&quot;hidden&quot;});var e=(g==&quot;vertical&quot;)?&quot;height&quot;:&quot;width&quot;;var i=(g==&quot;vertical&quot;)?j.height():j.width();if(h==&quot;show&quot;){j.css(e,0)}var f={};f[e]=h==&quot;show&quot;?i:0;j.animate(f,b.duration,b.options.easing,function(){if(h==&quot;hide&quot;){d.hide()}a.effects.restore(d,c);a.effects.removeWrapper(d);if(b.callback){b.callback.apply(d[0],arguments)}d.dequeue()})})}})(jQuery);;/*
- * jQuery UI Effects Bounce 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Bounce
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.bounce=function(b){return this.queue(function(){var e=a(this),l=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;];var k=a.effects.setMode(e,b.options.mode||&quot;effect&quot;);var n=b.options.direction||&quot;up&quot;;var c=b.options.distance||20;var d=b.options.times||5;var g=b.duration||250;if(/show|hide/.test(k)){l.push(&quot;opacity&quot;)}a.effects.save(e,l);e.show();a.effects.createWrapper(e);var f=(n==&quot;up&quot;||n==&quot;down&quot;)?&quot;top&quot;:&quot;left&quot;;var p=(n==&quot;up&quot;||n==&quot;left&quot;)?&quot;pos&quot;:&quot;neg&quot;;var c=b.options.distance||(f==&quot;top&quot;?e.outerHeight({margin:true})/3:e.outerWidth({margin:true})/3);if(k==&quot;show&quot;){e.css(&quot;opacity&quot;,0).css(f,p==&quot;pos&quot;?-c:c)}if(k==&quot;hide&quot;){c=c/(d*2)}if(k!=&quot;hide&quot;){d--}if(k==&quot;show&quot;){var h={opacity:1};h[f]=(p==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+c;e.animate(h,g/2,b.options.easing);c=c/2;d--}for(var j=0;j&lt;d;j++){var o={},m={};o[f]=(p==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+c;m[f]=(p==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+c;e.animate(o,g/2,b.options.easing).animate(m,g/2,b.options.easing);c=(k==&quot;hide&quot;)?c*2:c/2}if(k==&quot;hide&quot;){var h={opacity:0};h[f]=(p==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+c;e.animate(h,g/2,b.options.easing,function(){e.hide();a.effects.restore(e,l);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}})}else{var o={},m={};o[f]=(p==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+c;m[f]=(p==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+c;e.animate(o,g/2,b.options.easing).animate(m,g/2,b.options.easing,function(){a.effects.restore(e,l);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}})}e.queue(&quot;fx&quot;,function(){e.dequeue()});e.dequeue()})}})(jQuery);;/*
- * jQuery UI Effects Clip 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Clip
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.clip=function(b){return this.queue(function(){var f=a(this),j=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;,&quot;height&quot;,&quot;width&quot;];var i=a.effects.setMode(f,b.options.mode||&quot;hide&quot;);var k=b.options.direction||&quot;vertical&quot;;a.effects.save(f,j);f.show();var c=a.effects.createWrapper(f).css({overflow:&quot;hidden&quot;});var e=f[0].tagName==&quot;IMG&quot;?c:f;var g={size:(k==&quot;vertical&quot;)?&quot;height&quot;:&quot;width&quot;,position:(k==&quot;vertical&quot;)?&quot;top&quot;:&quot;left&quot;};var d=(k==&quot;vertical&quot;)?e.height():e.width();if(i==&quot;show&quot;){e.css(g.size,0);e.css(g.position,d/2)}var h={};h[g.size]=i==&quot;show&quot;?d:0;h[g.position]=i==&quot;show&quot;?0:d/2;e.animate(h,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(i==&quot;hide&quot;){f.hide()}a.effects.restore(f,j);a.effects.removeWrapper(f);if(b.callback){b.callback.apply(f[0],arguments)}f.dequeue()}})})}})(jQuery);;/*
- * jQuery UI Effects Drop 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Drop
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.drop=function(b){return this.queue(function(){var e=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;,&quot;opacity&quot;];var i=a.effects.setMode(e,b.options.mode||&quot;hide&quot;);var h=b.options.direction||&quot;left&quot;;a.effects.save(e,d);e.show();a.effects.createWrapper(e);var f=(h==&quot;up&quot;||h==&quot;down&quot;)?&quot;top&quot;:&quot;left&quot;;var c=(h==&quot;up&quot;||h==&quot;left&quot;)?&quot;pos&quot;:&quot;neg&quot;;var j=b.options.distance||(f==&quot;top&quot;?e.outerHeight({margin:true})/2:e.outerWidth({margin:true})/2);if(i==&quot;show&quot;){e.css(&quot;opacity&quot;,0).css(f,c==&quot;pos&quot;?-j:j)}var g={opacity:i==&quot;show&quot;?1:0};g[f]=(i==&quot;show&quot;?(c==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;):(c==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;))+j;e.animate(g,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(i==&quot;hide&quot;){e.hide()}a.effects.restore(e,d);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}e.dequeue()}})})}})(jQuery);;/*
- * jQuery UI Effects Explode 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Explode
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.explode=function(b){return this.queue(function(){var k=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;var e=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode==&quot;toggle&quot;?(a(this).is(&quot;:visible&quot;)?&quot;hide&quot;:&quot;show&quot;):b.options.mode;var h=a(this).show().css(&quot;visibility&quot;,&quot;hidden&quot;);var l=h.offset();l.top-=parseInt(h.css(&quot;marginTop&quot;),10)||0;l.left-=parseInt(h.css(&quot;marginLeft&quot;),10)||0;var g=h.outerWidth(true);var c=h.outerHeight(true);for(var f=0;f&lt;k;f++){for(var d=0;d&lt;e;d++){h.clone().appendTo(&quot;body&quot;).wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;).css({position:&quot;absolute&quot;,visibility:&quot;visible&quot;,left:-d*(g/e),top:-f*(c/k)}).parent().addClass(&quot;ui-effects-explode&quot;).css({position:&quot;absolute&quot;,overflow:&quot;hidden&quot;,width:g/e,height:c/k,left:l.left+d*(g/e)+(b.options.mode==&quot;show&quot;?(d-Math.floor(e/2))*(g/e):0),top:l.top+f*(c/k)+(b.options.mode==&quot;show&quot;?(f-Math.floor(k/2))*(c/k):0),opacity:b.options.mode==&quot;show&quot;?0:1}).animate({left:l.left+d*(g/e)+(b.options.mode==&quot;show&quot;?0:(d-Math.floor(e/2))*(g/e)),top:l.top+f*(c/k)+(b.options.mode==&quot;show&quot;?0:(f-Math.floor(k/2))*(c/k)),opacity:b.options.mode==&quot;show&quot;?1:0},b.duration||500)}}setTimeout(function(){b.options.mode==&quot;show&quot;?h.css({visibility:&quot;visible&quot;}):h.css({visibility:&quot;visible&quot;}).hide();if(b.callback){b.callback.apply(h[0])}h.dequeue();a(&quot;div.ui-effects-explode&quot;).remove()},b.duration||500)})}})(jQuery);;/*
- * jQuery UI Effects Fold 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Fold
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.fold=function(b){return this.queue(function(){var e=a(this),k=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;];var h=a.effects.setMode(e,b.options.mode||&quot;hide&quot;);var o=b.options.size||15;var n=!(!b.options.horizFirst);var g=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(e,k);e.show();var d=a.effects.createWrapper(e).css({overflow:&quot;hidden&quot;});var i=((h==&quot;show&quot;)!=n);var f=i?[&quot;width&quot;,&quot;height&quot;]:[&quot;height&quot;,&quot;width&quot;];var c=i?[d.width(),d.height()]:[d.height(),d.width()];var j=/([0-9]+)%/.exec(o);if(j){o=parseInt(j[1],10)/100*c[h==&quot;hide&quot;?0:1]}if(h==&quot;show&quot;){d.css(n?{height:0,width:o}:{height:o,width:0})}var m={},l={};m[f[0]]=h==&quot;show&quot;?c[0]:o;l[f[1]]=h==&quot;show&quot;?c[1]:0;d.animate(m,g,b.options.easing).animate(l,g,b.options.easing,function(){if(h==&quot;hide&quot;){e.hide()}a.effects.restore(e,k);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(e[0],arguments)}e.dequeue()})})}})(jQuery);;/*
- * jQuery UI Effects Highlight 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Highlight
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.highlight=function(b){return this.queue(function(){var e=a(this),d=[&quot;backgroundImage&quot;,&quot;backgroundColor&quot;,&quot;opacity&quot;];var h=a.effects.setMode(e,b.options.mode||&quot;show&quot;);var c=b.options.color||&quot;#ffff99&quot;;var g=e.css(&quot;backgroundColor&quot;);a.effects.save(e,d);e.show();e.css({backgroundImage:&quot;none&quot;,backgroundColor:c});var f={backgroundColor:g};if(h==&quot;hide&quot;){f.opacity=0}e.animate(f,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(h==&quot;hide&quot;){e.hide()}a.effects.restore(e,d);if(h==&quot;show&quot;&amp;&amp;a.browser.msie){this.style.removeAttribute(&quot;filter&quot;)}if(b.callback){b.callback.apply(this,arguments)}e.dequeue()}})})}})(jQuery);;/*
- * jQuery UI Effects Pulsate 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Pulsate
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.pulsate=function(b){return this.queue(function(){var d=a(this);var g=a.effects.setMode(d,b.options.mode||&quot;show&quot;);var f=b.options.times||5;var e=b.duration?b.duration/2:a.fx.speeds._default/2;if(g==&quot;hide&quot;){f--}if(d.is(&quot;:hidden&quot;)){d.css(&quot;opacity&quot;,0);d.show();d.animate({opacity:1},e,b.options.easing);f=f-2}for(var c=0;c&lt;f;c++){d.animate({opacity:0},e,b.options.easing).animate({opacity:1},e,b.options.easing)}if(g==&quot;hide&quot;){d.animate({opacity:0},e,b.options.easing,function(){d.hide();if(b.callback){b.callback.apply(this,arguments)}})}else{d.animate({opacity:0},e,b.options.easing).animate({opacity:1},e,b.options.easing,function(){if(b.callback){b.callback.apply(this,arguments)}})}d.queue(&quot;fx&quot;,function(){d.dequeue()});d.dequeue()})}})(jQuery);;/*
- * jQuery UI Effects Scale 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Scale
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.puff=function(b){return this.queue(function(){var f=a(this);var c=a.extend(true,{},b.options);var h=a.effects.setMode(f,b.options.mode||&quot;hide&quot;);var g=parseInt(b.options.percent,10)||150;c.fade=true;var e={height:f.height(),width:f.width()};var d=g/100;f.from=(h==&quot;hide&quot;)?e:{height:e.height*d,width:e.width*d};c.from=f.from;c.percent=(h==&quot;hide&quot;)?g:100;c.mode=h;f.effect(&quot;scale&quot;,c,b.duration,b.callback);f.dequeue()})};a.effects.scale=function(b){return this.queue(function(){var g=a(this);var d=a.extend(true,{},b.options);var j=a.effects.setMode(g,b.options.mode||&quot;effect&quot;);var h=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:(j==&quot;hide&quot;?0:100));var i=b.options.direction||&quot;both&quot;;var c=b.options.origin;if(j!=&quot;effect&quot;){d.origin=c||[&quot;middle&quot;,&quot;center&quot;];d.restore=true}var f={height:g.height(),width:g.width()};g.from=b.options.from||(j==&quot;show&quot;?{height:0,width:0}:f);var e={y:i!=&quot;horizontal&quot;?(h/100):1,x:i!=&quot;vertical&quot;?(h/100):1};g.to={height:f.height*e.y,width:f.width*e.x};if(b.options.fade){if(j==&quot;show&quot;){g.from.opacity=0;g.to.opacity=1}if(j==&quot;hide&quot;){g.from.opacity=1;g.to.opacity=0}}d.from=g.from;d.to=g.to;d.mode=j;g.effect(&quot;size&quot;,d,b.duration,b.callback);g.dequeue()})};a.effects.size=function(b){return this.queue(function(){var c=a(this),n=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;,&quot;width&quot;,&quot;height&quot;,&quot;overflow&quot;,&quot;opacity&quot;];var m=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;,&quot;overflow&quot;,&quot;opacity&quot;];var j=[&quot;width&quot;,&quot;height&quot;,&quot;overflow&quot;];var p=[&quot;fontSize&quot;];var k=[&quot;borderTopWidth&quot;,&quot;borderBottomWidth&quot;,&quot;paddingTop&quot;,&quot;paddingBottom&quot;];var f=[&quot;borderLeftWidth&quot;,&quot;borderRightWidth&quot;,&quot;paddingLeft&quot;,&quot;paddingRight&quot;];var g=a.effects.setMode(c,b.options.mode||&quot;effect&quot;);var i=b.options.restore||false;var e=b.options.scale||&quot;both&quot;;var o=b.options.origin;var d={height:c.height(),width:c.width()};c.from=b.options.from||d;c.to=b.options.to||d;if(o){var h=a.effects.getBaseline(o,d);c.from.top=(d.height-c.from.height)*h.y;c.from.left=(d.width-c.from.width)*h.x;c.to.top=(d.height-c.to.height)*h.y;c.to.left=(d.width-c.to.width)*h.x}var l={from:{y:c.from.height/d.height,x:c.from.width/d.width},to:{y:c.to.height/d.height,x:c.to.width/d.width}};if(e==&quot;box&quot;||e==&quot;both&quot;){if(l.from.y!=l.to.y){n=n.concat(k);c.from=a.effects.setTransition(c,k,l.from.y,c.from);c.to=a.effects.setTransition(c,k,l.to.y,c.to)}if(l.from.x!=l.to.x){n=n.concat(f);c.from=a.effects.setTransition(c,f,l.from.x,c.from);c.to=a.effects.setTransition(c,f,l.to.x,c.to)}}if(e==&quot;content&quot;||e==&quot;both&quot;){if(l.from.y!=l.to.y){n=n.concat(p);c.from=a.effects.setTransition(c,p,l.from.y,c.from);c.to=a.effects.setTransition(c,p,l.to.y,c.to)}}a.effects.save(c,i?n:m);c.show();a.effects.createWrapper(c);c.css(&quot;overflow&quot;,&quot;hidden&quot;).css(c.from);if(e==&quot;content&quot;||e==&quot;both&quot;){k=k.concat([&quot;marginTop&quot;,&quot;marginBottom&quot;]).concat(p);f=f.concat([&quot;marginLeft&quot;,&quot;marginRight&quot;]);j=n.concat(k).concat(f);c.find(&quot;*[width]&quot;).each(function(){child=a(this);if(i){a.effects.save(child,j)}var q={height:child.height(),width:child.width()};child.from={height:q.height*l.from.y,width:q.width*l.from.x};child.to={height:q.height*l.to.y,width:q.width*l.to.x};if(l.from.y!=l.to.y){child.from=a.effects.setTransition(child,k,l.from.y,child.from);child.to=a.effects.setTransition(child,k,l.to.y,child.to)}if(l.from.x!=l.to.x){child.from=a.effects.setTransition(child,f,l.from.x,child.from);child.to=a.effects.setTransition(child,f,l.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){if(i){a.effects.restore(child,j)}})})}c.animate(c.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(g==&quot;hide&quot;){c.hide()}a.effects.restore(c,i?n:m);a.effects.removeWrapper(c);if(b.callback){b.callback.apply(this,arguments)}c.dequeue()}})})}})(jQuery);;/*
- * jQuery UI Effects Shake 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Shake
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.shake=function(b){return this.queue(function(){var e=a(this),l=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;];var k=a.effects.setMode(e,b.options.mode||&quot;effect&quot;);var n=b.options.direction||&quot;left&quot;;var c=b.options.distance||20;var d=b.options.times||3;var g=b.duration||b.options.duration||140;a.effects.save(e,l);e.show();a.effects.createWrapper(e);var f=(n==&quot;up&quot;||n==&quot;down&quot;)?&quot;top&quot;:&quot;left&quot;;var p=(n==&quot;up&quot;||n==&quot;left&quot;)?&quot;pos&quot;:&quot;neg&quot;;var h={},o={},m={};h[f]=(p==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+c;o[f]=(p==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+c*2;m[f]=(p==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+c*2;e.animate(h,g,b.options.easing);for(var j=1;j&lt;d;j++){e.animate(o,g,b.options.easing).animate(m,g,b.options.easing)}e.animate(o,g,b.options.easing).animate(h,g/2,b.options.easing,function(){a.effects.restore(e,l);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}});e.queue(&quot;fx&quot;,function(){e.dequeue()});e.dequeue()})}})(jQuery);;/*
- * jQuery UI Effects Slide 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Slide
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.slide=function(b){return this.queue(function(){var e=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;left&quot;];var i=a.effects.setMode(e,b.options.mode||&quot;show&quot;);var h=b.options.direction||&quot;left&quot;;a.effects.save(e,d);e.show();a.effects.createWrapper(e).css({overflow:&quot;hidden&quot;});var f=(h==&quot;up&quot;||h==&quot;down&quot;)?&quot;top&quot;:&quot;left&quot;;var c=(h==&quot;up&quot;||h==&quot;left&quot;)?&quot;pos&quot;:&quot;neg&quot;;var j=b.options.distance||(f==&quot;top&quot;?e.outerHeight({margin:true}):e.outerWidth({margin:true}));if(i==&quot;show&quot;){e.css(f,c==&quot;pos&quot;?-j:j)}var g={};g[f]=(i==&quot;show&quot;?(c==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;):(c==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;))+j;e.animate(g,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){if(i==&quot;hide&quot;){e.hide()}a.effects.restore(e,d);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(this,arguments)}e.dequeue()}})})}})(jQuery);;/*
- * jQuery UI Effects Transfer 1.7.2
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI/Effects/Transfer
- *
- * Depends:
- *        effects.core.js
- */
-(function(a){a.effects.transfer=function(b){return this.queue(function(){var f=a(this),h=a(b.options.to),e=h.offset(),g={top:e.top,left:e.left,height:h.innerHeight(),width:h.innerWidth()},d=f.offset(),c=a('&lt;div class=&quot;ui-effects-transfer&quot;&gt;&lt;/div&gt;').appendTo(document.body).addClass(b.options.className).css({top:d.top,left:d.left,height:f.innerHeight(),width:f.innerWidth(),position:&quot;absolute&quot;}).animate(g,b.duration,b.options.easing,function(){c.remove();(b.callback&amp;&amp;b.callback.apply(f[0],arguments));f.dequeue()})})}})(jQuery);;
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (12816 => 12817)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2010-01-24 02:07:13 UTC (rev 12816)
+++ trunk/wp-includes/script-loader.php        2010-01-24 06:16:17 UTC (rev 12817)
</span><span class="lines">@@ -143,9 +143,6 @@
</span><span class="cx">         $scripts-&gt;add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui.dialog.js', array('jquery-ui-resizable', 'jquery-ui-draggable'), '1.7.1' );
</span><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-dialog', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-effects', '/wp-includes/js/jquery/ui.effects.js', array('jquery-ui-core'), '1.7.2' ); // Yes, this one is 1.7.2 — the others need to be updated
-        $scripts-&gt;add_data( 'jquery-ui-effects', 'group', 1 );
-
</del><span class="cx">         // deprecated, not used in core, most functionality is included in jQuery 1.3
</span><span class="cx">         $scripts-&gt;add( 'jquery-form', &quot;/wp-includes/js/jquery/jquery.form$suffix.js&quot;, array('jquery'), '2.02m');
</span><span class="cx">         $scripts-&gt;add_data( 'jquery-form', 'group', 1 );
</span></span></pre></div>
<a id="trunkwploginphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-login.php (12816 => 12817)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-login.php        2010-01-24 02:07:13 UTC (rev 12816)
+++ trunk/wp-login.php        2010-01-24 06:16:17 UTC (rev 12817)
</span><span class="lines">@@ -45,9 +45,6 @@
</span><span class="cx">         add_filter( 'pre_option_blog_public', create_function( '$a', 'return 0;' ) );
</span><span class="cx">         add_action( 'login_head', 'noindex' );
</span><span class="cx"> 
</span><del>-        // Print scripts
-        add_action( 'login_head', 'wp_print_scripts' );
-
</del><span class="cx">         if ( empty($wp_error) )
</span><span class="cx">                 $wp_error = new WP_Error();
</span><span class="cx"> 
</span><span class="lines">@@ -55,10 +52,8 @@
</span><span class="cx">         $shake_error_codes = array( 'empty_password', 'empty_email', 'invalid_email', 'invalidcombo', 'empty_username', 'invalid_username', 'incorrect_password' );
</span><span class="cx">         $shake_error_codes = apply_filters( 'shake_error_codes', $shake_error_codes );
</span><span class="cx"> 
</span><del>-        if ( $shake_error_codes &amp;&amp; $wp_error-&gt;get_error_code() &amp;&amp; in_array( $wp_error-&gt;get_error_code(), $shake_error_codes ) ) {
-                wp_enqueue_script( 'jquery-ui-effects' );
</del><ins>+        if ( $shake_error_codes &amp;&amp; $wp_error-&gt;get_error_code() &amp;&amp; in_array( $wp_error-&gt;get_error_code(), $shake_error_codes ) )
</ins><span class="cx">                 add_action( 'login_head', 'wp_shake_js', 12 );
</span><del>-        }
</del><span class="cx"> 
</span><span class="cx">         ?&gt;
</span><span class="cx"> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
</span><span class="lines">@@ -120,14 +115,14 @@
</span><span class="cx">                         echo '&lt;p class=&quot;message&quot;&gt;' . apply_filters('login_messages', $messages) . &quot;&lt;/p&gt;\n&quot;;
</span><span class="cx">         }
</span><span class="cx"> } // End of login_header()
</span><del>-
</del><span class="cx"> function wp_shake_js() {
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;script type=&quot;text/javascript&quot;&gt;
</span><del>-jQuery( document ).ready(function(){
-        jQuery( '#h1' ).focus();
-        jQuery( '#loginform, #registerform, #lostpasswordform' ).effect('shake', {times: 3}, 40, function(){try{wp_attempt_focus();} catch(e){}});
-});
</del><ins>+addLoadEvent = function(func){if(typeof jQuery!=&quot;undefined&quot;)jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
+function s(id,pos){g(id).left=pos+'px';}
+function g(id){return document.getElementById(id).style;}
+function shake(id,a,d){c=a.shift();s(id,c);if(a.length&gt;0){setTimeout(function(){shake(id,a,d);},d);}else{try{wp_attempt_focus();}catch(e){}}}
+addLoadEvent(function(){ var p=new Array(15,30,15,0,-15,-30,-15,0);p=p.concat(p.concat(p));var i=document.forms[0].id;g(i).position='relative';shake(i,p,20);});
</ins><span class="cx"> &lt;/script&gt;
</span><span class="cx"> &lt;?php
</span><span class="cx"> }
</span><span class="lines">@@ -410,6 +405,7 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;script type=&quot;text/javascript&quot;&gt;
</span><span class="cx"> try{document.getElementById('user_login').focus();}catch(e){}
</span><ins>+if(typeof wpOnload=='function')wpOnload();
</ins><span class="cx"> &lt;/script&gt;
</span><span class="cx"> &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span><span class="lines">@@ -485,6 +481,7 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;script type=&quot;text/javascript&quot;&gt;
</span><span class="cx"> try{document.getElementById('user_login').focus();}catch(e){}
</span><ins>+if(typeof wpOnload=='function')wpOnload();
</ins><span class="cx"> &lt;/script&gt;
</span><span class="cx"> &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span><span class="lines">@@ -628,6 +625,7 @@
</span><span class="cx"> &lt;?php if ( !$error ) { ?&gt;
</span><span class="cx"> wp_attempt_focus();
</span><span class="cx"> &lt;?php } ?&gt;
</span><ins>+if(typeof wpOnload=='function')wpOnload();
</ins><span class="cx"> &lt;/script&gt;
</span><span class="cx"> &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span></span></pre>
</div>
</div>

</body>
</html>