<!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" />
<title>[18436] trunk: Fix resetting of page number when entering it manually, fixes #18002 for trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { 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 #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#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>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/18436">18436</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2011-07-11 21:53:29 +0000 (Mon, 11 Jul 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fix resetting of page number when entering it manually, fixes <a href="http://trac.wordpress.org/ticket/18002">#18002</a> for trunk</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjscommondevjs">trunk/wp-admin/js/common.dev.js</a></li>
<li><a href="#trunkwpadminjscommonjs">trunk/wp-admin/js/common.js</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminjscommondevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/common.dev.js (18435 => 18436)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/common.dev.js        2011-07-11 21:48:43 UTC (rev 18435)
+++ trunk/wp-admin/js/common.dev.js        2011-07-11 21:53:29 UTC (rev 18436)
</span><span class="lines">@@ -229,7 +229,7 @@
</span><span class="cx"> 
</span><span class="cx"> $(document).ready( function() {
</span><span class="cx">         var lastClicked = false, checks, first, last, checked, dropdown,
</span><del>-                pageInput = $('input[name=&quot;paged&quot;]'), currentPage;
</del><ins>+                pageInput = $('input.current-page'), currentPage = pageInput.val();
</ins><span class="cx"> 
</span><span class="cx">         // Move .updated and .error alert boxes. Don't move boxes designed to be inline.
</span><span class="cx">         $('div.wrap h2:first').nextAll('div.updated, div.error').addClass('below-h2');
</span><span class="lines">@@ -346,10 +346,10 @@
</span><span class="cx">         });
</span><span class="cx"> 
</span><span class="cx">         if ( pageInput.length ) {
</span><del>-                currentPage = pageInput.val();
-                pageInput.closest('form').submit( function(){
-                        // Reset paging var for new filters/searches. See #17685.
-                        if ( pageInput.val() == currentPage )
</del><ins>+                pageInput.closest('form').submit( function(e){
+
+                        // Reset paging var for new filters/searches but not for bulk actions. See #17685.
+                        if ( $('select[name=&quot;action&quot;]').val() == -1 &amp;&amp; $('select[name=&quot;action2&quot;]').val() == -1 &amp;&amp; pageInput.val() == currentPage )
</ins><span class="cx">                                 pageInput.val('1');
</span><span class="cx">                 });
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkwpadminjscommonjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/common.js (18435 => 18436)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/common.js        2011-07-11 21:48:43 UTC (rev 18435)
+++ trunk/wp-admin/js/common.js        2011-07-11 21:53:29 UTC (rev 18436)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var showNotice,adminMenu,columns,validateForm,screenMeta;(function(a){adminMenu={init:function(){var b=a(&quot;#adminmenu&quot;);a(&quot;.wp-menu-toggle&quot;,b).each(function(){var c=a(this),d=c.siblings(&quot;.wp-submenu&quot;);if(d.length){c.click(function(){adminMenu.toggle(d)})}else{c.hide()}});this.favorites();a(&quot;#collapse-menu&quot;,b).click(function(){if(a(&quot;body&quot;).hasClass(&quot;folded&quot;)){adminMenu.fold(1);deleteUserSetting(&quot;mfold&quot;)}else{adminMenu.fold();setUserSetting(&quot;mfold&quot;,&quot;f&quot;)}return false});if(a(&quot;body&quot;).hasClass(&quot;folded&quot;)){this.fold()}},restoreMenuState:function(){},toggle:function(b){b.slideToggle(150,function(){var c=b.css(&quot;display&quot;,&quot;&quot;).parent().toggleClass(&quot;wp-menu-open&quot;).attr(&quot;id&quot;);if(c){a(&quot;li.wp-has-submenu&quot;,&quot;#adminmenu&quot;).each(function(f,g){if(c==g.id){var d=a(g).hasClass(&quot;wp-menu-open&quot;)?&quot;o&quot;:&quot
 ;c&quot;;setUserSetting(&quot;m&quot;+f,d)}})}});return false},fold:function(b){if(b){a(&quot;body&quot;).removeClass(&quot;folded&quot;);a(&quot;#adminmenu li.wp-has-submenu&quot;).unbind()}else{a(&quot;body&quot;).addClass(&quot;folded&quot;);a(&quot;#adminmenu li.wp-has-submenu&quot;).hoverIntent({over:function(j){var d,c,g,k,i;d=a(this).find(&quot;.wp-submenu&quot;);c=a(this).offset().top+d.height()+1;g=a(&quot;#wpwrap&quot;).height();k=60+c-g;i=a(window).height()+a(window).scrollTop()-15;if(i&lt;(c-k)){k=c-i}if(k&gt;1){d.css({marginTop:&quot;-&quot;+k+&quot;px&quot;})}else{if(d.css(&quot;marginTop&quot;)){d.css({marginTop:&quot;&quot;})}}d.addClass(&quot;sub-open&quot;)},out:function(){a(this).find(&quot;.wp-submenu&quot;).removeClass(&quot;sub-open&quot;)},timeout:220,sensitivity:8,interval:100})}},favorites:function(){a(&quot;#favorite-inside&quot;).width(a(&quot;#favorite-actions&quot;).width()-4);a(&quot;#favorite-toggle, #favorite-inside&quot;).bind(&quot;mouseente
 r&quot;,function(){a(&quot;#favorite-inside&quot;).removeClass(&quot;slideUp&quot;).addClass(&quot;slideDown&quot;);setTimeout(function(){if(a(&quot;#favorite-inside&quot;).hasClass(&quot;slideDown&quot;)){a(&quot;#favorite-inside&quot;).slideDown(100);a(&quot;#favorite-first&quot;).addClass(&quot;slide-down&quot;)}},200)}).bind(&quot;mouseleave&quot;,function(){a(&quot;#favorite-inside&quot;).removeClass(&quot;slideDown&quot;).addClass(&quot;slideUp&quot;);setTimeout(function(){if(a(&quot;#favorite-inside&quot;).hasClass(&quot;slideUp&quot;)){a(&quot;#favorite-inside&quot;).slideUp(100,function(){a(&quot;#favorite-first&quot;).removeClass(&quot;slide-down&quot;)})}},300)})}};a(document).ready(function(){adminMenu.init()});columns={init:function(){var b=this;a(&quot;.hide-column-tog&quot;,&quot;#adv-settings&quot;).click(function(){var d=a(this),c=d.val();if(d.prop(&quot;checked&quot;)){b.checked(c)}else{b.unchecked(c)}columns.saveManageColumnsState()})},saveManageColumnsSta
 te:function(){var b=this.hidden();a.post(ajaxurl,{action:&quot;hidden-columns&quot;,hidden:b,screenoptionnonce:a(&quot;#screenoptionnonce&quot;).val(),page:pagenow})},checked:function(b){a(&quot;.column-&quot;+b).show();this.colSpanChange(+1)},unchecked:function(b){a(&quot;.column-&quot;+b).hide();this.colSpanChange(-1)},hidden:function(){return a(&quot;.manage-column&quot;).filter(&quot;:hidden&quot;).map(function(){return this.id}).get().join(&quot;,&quot;)},useCheckboxesForHidden:function(){this.hidden=function(){return a(&quot;.hide-column-tog&quot;).not(&quot;:checked&quot;).map(function(){var b=this.id;return b.substring(b,b.length-5)}).get().join(&quot;,&quot;)}},colSpanChange:function(b){var d=a(&quot;table&quot;).find(&quot;.colspanchange&quot;),c;if(!d.length){return}c=parseInt(d.attr(&quot;colspan&quot;),10)+b;d.attr(&quot;colspan&quot;,c.toString())}};a(document).ready(function(){columns.init()});validateForm=function(b){return !a(b).find(&quot;.form-required&quo
 t;).filter(function(){return a(&quot;input:visible&quot;,this).val()==&quot;&quot;}).addClass(&quot;form-invalid&quot;).find(&quot;input:visible&quot;).change(function(){a(this).closest(&quot;.form-invalid&quot;).removeClass(&quot;form-invalid&quot;)}).size()};showNotice={warn:function(){var b=commonL10n.warnDelete||&quot;&quot;;if(confirm(b)){return true}return false},note:function(b){alert(b)}};screenMeta={links:{&quot;screen-options-link-wrap&quot;:&quot;screen-options-wrap&quot;,&quot;contextual-help-link-wrap&quot;:&quot;contextual-help-wrap&quot;},init:function(){a(&quot;.screen-meta-toggle&quot;).click(screenMeta.toggleEvent)},toggleEvent:function(c){var b;c.preventDefault();if(!screenMeta.links[this.id]){return}b=a(&quot;#&quot;+screenMeta.links[this.id]);if(b.is(&quot;:visible&quot;)){screenMeta.close(b,a(this))}else{screenMeta.open(b,a(this))}},open:function(b,c){a(&quot;.screen-meta-toggle&quot;).not(c).css(&quot;visibility&quot;,&quot;hidden&quot;);b.slideDown(&q
 uot;fast&quot;,function(){c.addClass(&quot;screen-meta-active&quot;)})},close:function(b,c){b.slideUp(&quot;fast&quot;,function(){c.removeClass(&quot;screen-meta-active&quot;);a(&quot;.screen-meta-toggle&quot;).css(&quot;visibility&quot;,&quot;&quot;)})}};a(document).ready(function(){var i=false,b,f,e,d,h,g=a('input[name=&quot;paged&quot;]'),c;a(&quot;div.wrap h2:first&quot;).nextAll(&quot;div.updated, div.error&quot;).addClass(&quot;below-h2&quot;);a(&quot;div.updated, div.error&quot;).not(&quot;.below-h2, .inline&quot;).insertAfter(a(&quot;div.wrap h2:first&quot;));screenMeta.init();h={doc:a(document),element:a(&quot;#user_info&quot;),open:function(){if(!h.element.hasClass(&quot;active&quot;)){h.element.addClass(&quot;active&quot;);h.doc.one(&quot;click&quot;,h.close);return false}},close:function(){h.element.removeClass(&quot;active&quot;)}};h.element.click(h.open);a(&quot;tbody&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).click(functi
 on(j){if(&quot;undefined&quot;==j.shiftKey){return true}if(j.shiftKey){if(!i){return true}b=a(i).closest(&quot;form&quot;).find(&quot;:checkbox&quot;);f=b.index(i);e=b.index(this);d=a(this).prop(&quot;checked&quot;);if(0&lt;f&amp;&amp;0&lt;e&amp;&amp;f!=e){b.slice(f,e).prop(&quot;checked&quot;,function(){if(a(this).closest(&quot;tr&quot;).is(&quot;:visible&quot;)){return d}return false})}}i=this;return true});a(&quot;thead, tfoot&quot;).find(&quot;.check-column :checkbox&quot;).click(function(l){var m=a(this).prop(&quot;checked&quot;),k=&quot;undefined&quot;==typeof toggleWithKeyboard?false:toggleWithKeyboard,j=l.shiftKey||k;a(this).closest(&quot;table&quot;).children(&quot;tbody&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).prop(&quot;checked&quot;,function(){if(a(this).closest(&quot;tr&quot;).is(&quot;:hidden&quot;)){return false}if(j){return a(this).prop(&quot;checked&quot;)}else{if(m){return true}}return fa
 lse});a(this).closest(&quot;table&quot;).children(&quot;thead,  tfoot&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).prop(&quot;checked&quot;,function(){if(j){return false}else{if(m){return true}}return false})});a(&quot;#default-password-nag-no&quot;).click(function(){setUserSetting(&quot;default_password_nag&quot;,&quot;hide&quot;);a(&quot;div.default-password-nag&quot;).hide();return false});a(&quot;#newcontent&quot;).bind(&quot;keydown.wpevent_InsertTab&quot;,function(o){if(o.keyCode!=9){return true}var l=o.target,q=l.selectionStart,k=l.selectionEnd,p=l.value,j,n;try{this.lastKey=9}catch(m){}if(document.selection){l.focus();n=document.selection.createRange();n.text=&quot;\t&quot;}else{if(q&gt;=0){j=this.scrollTop;l.value=p.substring(0,q).concat(&quot;\t&quot;,p.substring(k));l.selectionStart=l.selectionEnd=q+1;this.scrollTop=j}}if(o.stopPropagation){o.stopPropagation()}if(o.preventDefault){o.preventDefault()
 }});a(&quot;#newcontent&quot;).bind(&quot;blur.wpevent_InsertTab&quot;,function(j){if(this.lastKey&amp;&amp;9==this.lastKey){this.focus()}});if(g.length){c=g.val();g.closest(&quot;form&quot;).submit(function(){if(g.val()==c){g.val(&quot;1&quot;)}})}});a(document).bind(&quot;wp_CloseOnEscape&quot;,function(c,b){if(typeof(b.cb)!=&quot;function&quot;){return}if(typeof(b.condition)!=&quot;function&quot;||b.condition()){b.cb()}return true})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+var showNotice,adminMenu,columns,validateForm,screenMeta;(function(a){adminMenu={init:function(){var b=a(&quot;#adminmenu&quot;);a(&quot;.wp-menu-toggle&quot;,b).each(function(){var c=a(this),d=c.siblings(&quot;.wp-submenu&quot;);if(d.length){c.click(function(){adminMenu.toggle(d)})}else{c.hide()}});this.favorites();a(&quot;#collapse-menu&quot;,b).click(function(){if(a(&quot;body&quot;).hasClass(&quot;folded&quot;)){adminMenu.fold(1);deleteUserSetting(&quot;mfold&quot;)}else{adminMenu.fold();setUserSetting(&quot;mfold&quot;,&quot;f&quot;)}return false});if(a(&quot;body&quot;).hasClass(&quot;folded&quot;)){this.fold()}},restoreMenuState:function(){},toggle:function(b){b.slideToggle(150,function(){var c=b.css(&quot;display&quot;,&quot;&quot;).parent().toggleClass(&quot;wp-menu-open&quot;).attr(&quot;id&quot;);if(c){a(&quot;li.wp-has-submenu&quot;,&quot;#adminmenu&quot;).each(function(f,g){if(c==g.id){var d=a(g).hasClass(&quot;wp-menu-open&quot;)?&quot;o&quot;:&quot
 ;c&quot;;setUserSetting(&quot;m&quot;+f,d)}})}});return false},fold:function(b){if(b){a(&quot;body&quot;).removeClass(&quot;folded&quot;);a(&quot;#adminmenu li.wp-has-submenu&quot;).unbind()}else{a(&quot;body&quot;).addClass(&quot;folded&quot;);a(&quot;#adminmenu li.wp-has-submenu&quot;).hoverIntent({over:function(j){var d,c,g,k,i;d=a(this).find(&quot;.wp-submenu&quot;);c=a(this).offset().top+d.height()+1;g=a(&quot;#wpwrap&quot;).height();k=60+c-g;i=a(window).height()+a(window).scrollTop()-15;if(i&lt;(c-k)){k=c-i}if(k&gt;1){d.css({marginTop:&quot;-&quot;+k+&quot;px&quot;})}else{if(d.css(&quot;marginTop&quot;)){d.css({marginTop:&quot;&quot;})}}d.addClass(&quot;sub-open&quot;)},out:function(){a(this).find(&quot;.wp-submenu&quot;).removeClass(&quot;sub-open&quot;)},timeout:220,sensitivity:8,interval:100})}},favorites:function(){a(&quot;#favorite-inside&quot;).width(a(&quot;#favorite-actions&quot;).width()-4);a(&quot;#favorite-toggle, #favorite-inside&quot;).bind(&quot;mouseente
 r&quot;,function(){a(&quot;#favorite-inside&quot;).removeClass(&quot;slideUp&quot;).addClass(&quot;slideDown&quot;);setTimeout(function(){if(a(&quot;#favorite-inside&quot;).hasClass(&quot;slideDown&quot;)){a(&quot;#favorite-inside&quot;).slideDown(100);a(&quot;#favorite-first&quot;).addClass(&quot;slide-down&quot;)}},200)}).bind(&quot;mouseleave&quot;,function(){a(&quot;#favorite-inside&quot;).removeClass(&quot;slideDown&quot;).addClass(&quot;slideUp&quot;);setTimeout(function(){if(a(&quot;#favorite-inside&quot;).hasClass(&quot;slideUp&quot;)){a(&quot;#favorite-inside&quot;).slideUp(100,function(){a(&quot;#favorite-first&quot;).removeClass(&quot;slide-down&quot;)})}},300)})}};a(document).ready(function(){adminMenu.init()});columns={init:function(){var b=this;a(&quot;.hide-column-tog&quot;,&quot;#adv-settings&quot;).click(function(){var d=a(this),c=d.val();if(d.prop(&quot;checked&quot;)){b.checked(c)}else{b.unchecked(c)}columns.saveManageColumnsState()})},saveManageColumnsSta
 te:function(){var b=this.hidden();a.post(ajaxurl,{action:&quot;hidden-columns&quot;,hidden:b,screenoptionnonce:a(&quot;#screenoptionnonce&quot;).val(),page:pagenow})},checked:function(b){a(&quot;.column-&quot;+b).show();this.colSpanChange(+1)},unchecked:function(b){a(&quot;.column-&quot;+b).hide();this.colSpanChange(-1)},hidden:function(){return a(&quot;.manage-column&quot;).filter(&quot;:hidden&quot;).map(function(){return this.id}).get().join(&quot;,&quot;)},useCheckboxesForHidden:function(){this.hidden=function(){return a(&quot;.hide-column-tog&quot;).not(&quot;:checked&quot;).map(function(){var b=this.id;return b.substring(b,b.length-5)}).get().join(&quot;,&quot;)}},colSpanChange:function(b){var d=a(&quot;table&quot;).find(&quot;.colspanchange&quot;),c;if(!d.length){return}c=parseInt(d.attr(&quot;colspan&quot;),10)+b;d.attr(&quot;colspan&quot;,c.toString())}};a(document).ready(function(){columns.init()});validateForm=function(b){return !a(b).find(&quot;.form-required&quo
 t;).filter(function(){return a(&quot;input:visible&quot;,this).val()==&quot;&quot;}).addClass(&quot;form-invalid&quot;).find(&quot;input:visible&quot;).change(function(){a(this).closest(&quot;.form-invalid&quot;).removeClass(&quot;form-invalid&quot;)}).size()};showNotice={warn:function(){var b=commonL10n.warnDelete||&quot;&quot;;if(confirm(b)){return true}return false},note:function(b){alert(b)}};screenMeta={links:{&quot;screen-options-link-wrap&quot;:&quot;screen-options-wrap&quot;,&quot;contextual-help-link-wrap&quot;:&quot;contextual-help-wrap&quot;},init:function(){a(&quot;.screen-meta-toggle&quot;).click(screenMeta.toggleEvent)},toggleEvent:function(c){var b;c.preventDefault();if(!screenMeta.links[this.id]){return}b=a(&quot;#&quot;+screenMeta.links[this.id]);if(b.is(&quot;:visible&quot;)){screenMeta.close(b,a(this))}else{screenMeta.open(b,a(this))}},open:function(b,c){a(&quot;.screen-meta-toggle&quot;).not(c).css(&quot;visibility&quot;,&quot;hidden&quot;);b.slideDown(&q
 uot;fast&quot;,function(){c.addClass(&quot;screen-meta-active&quot;)})},close:function(b,c){b.slideUp(&quot;fast&quot;,function(){c.removeClass(&quot;screen-meta-active&quot;);a(&quot;.screen-meta-toggle&quot;).css(&quot;visibility&quot;,&quot;&quot;)})}};a(document).ready(function(){var i=false,b,f,e,d,h,g=a(&quot;input.current-page&quot;),c=g.val();a(&quot;div.wrap h2:first&quot;).nextAll(&quot;div.updated, div.error&quot;).addClass(&quot;below-h2&quot;);a(&quot;div.updated, div.error&quot;).not(&quot;.below-h2, .inline&quot;).insertAfter(a(&quot;div.wrap h2:first&quot;));screenMeta.init();h={doc:a(document),element:a(&quot;#user_info&quot;),open:function(){if(!h.element.hasClass(&quot;active&quot;)){h.element.addClass(&quot;active&quot;);h.doc.one(&quot;click&quot;,h.close);return false}},close:function(){h.element.removeClass(&quot;active&quot;)}};h.element.click(h.open);a(&quot;tbody&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).click
 (function(j){if(&quot;undefined&quot;==j.shiftKey){return true}if(j.shiftKey){if(!i){return true}b=a(i).closest(&quot;form&quot;).find(&quot;:checkbox&quot;);f=b.index(i);e=b.index(this);d=a(this).prop(&quot;checked&quot;);if(0&lt;f&amp;&amp;0&lt;e&amp;&amp;f!=e){b.slice(f,e).prop(&quot;checked&quot;,function(){if(a(this).closest(&quot;tr&quot;).is(&quot;:visible&quot;)){return d}return false})}}i=this;return true});a(&quot;thead, tfoot&quot;).find(&quot;.check-column :checkbox&quot;).click(function(l){var m=a(this).prop(&quot;checked&quot;),k=&quot;undefined&quot;==typeof toggleWithKeyboard?false:toggleWithKeyboard,j=l.shiftKey||k;a(this).closest(&quot;table&quot;).children(&quot;tbody&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).prop(&quot;checked&quot;,function(){if(a(this).closest(&quot;tr&quot;).is(&quot;:hidden&quot;)){return false}if(j){return a(this).prop(&quot;checked&quot;)}else{if(m){return true}}re
 turn false});a(this).closest(&quot;table&quot;).children(&quot;thead,  tfoot&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).prop(&quot;checked&quot;,function(){if(j){return false}else{if(m){return true}}return false})});a(&quot;#default-password-nag-no&quot;).click(function(){setUserSetting(&quot;default_password_nag&quot;,&quot;hide&quot;);a(&quot;div.default-password-nag&quot;).hide();return false});a(&quot;#newcontent&quot;).bind(&quot;keydown.wpevent_InsertTab&quot;,function(o){if(o.keyCode!=9){return true}var l=o.target,q=l.selectionStart,k=l.selectionEnd,p=l.value,j,n;try{this.lastKey=9}catch(m){}if(document.selection){l.focus();n=document.selection.createRange();n.text=&quot;\t&quot;}else{if(q&gt;=0){j=this.scrollTop;l.value=p.substring(0,q).concat(&quot;\t&quot;,p.substring(k));l.selectionStart=l.selectionEnd=q+1;this.scrollTop=j}}if(o.stopPropagation){o.stopPropagation()}if(o.preventDefault){o.preventDe
 fault()}});a(&quot;#newcontent&quot;).bind(&quot;blur.wpevent_InsertTab&quot;,function(j){if(this.lastKey&amp;&amp;9==this.lastKey){this.focus()}});if(g.length){g.closest(&quot;form&quot;).submit(function(j){if(a('select[name=&quot;action&quot;]').val()==-1&amp;&amp;a('select[name=&quot;action2&quot;]').val()==-1&amp;&amp;g.val()==c){g.val(&quot;1&quot;)}})}});a(document).bind(&quot;wp_CloseOnEscape&quot;,function(c,b){if(typeof(b.cb)!=&quot;function&quot;){return}if(typeof(b.condition)!=&quot;function&quot;||b.condition()){b.cb()}return true})})(jQuery);
</ins><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 (18435 => 18436)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2011-07-11 21:48:43 UTC (rev 18435)
+++ trunk/wp-includes/script-loader.php        2011-07-11 21:53:29 UTC (rev 18436)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'utils', &quot;/wp-admin/js/utils$suffix.js&quot;, false, '20101110' );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'common', &quot;/wp-admin/js/common$suffix.js&quot;, array('jquery', 'hoverIntent', 'utils'), '20110610' );
</del><ins>+        $scripts-&gt;add( 'common', &quot;/wp-admin/js/common$suffix.js&quot;, array('jquery', 'hoverIntent', 'utils'), '20110711' );
</ins><span class="cx">         $scripts-&gt;add_data( 'common', 'group', 1 );
</span><span class="cx">         $scripts-&gt;localize( 'common', 'commonL10n', array(
</span><span class="cx">                 'warnDelete' =&gt; __(&quot;You are about to permanently delete the selected items.\n  'Cancel' to stop, 'OK' to delete.&quot;),
</span></span></pre>
</div>
</div>

</body>
</html>