<!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>[20192] trunk: Compress scripts/styles: 3.4-alpha-20192.</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://core.trac.wordpress.org/changeset/20192">20192</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-03-15 13:58:27 +0000 (Thu, 15 Mar 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.4-alpha-20192.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjsdashboardjs">trunk/wp-admin/js/dashboard.js</a></li>
<li><a href="#trunkwpadminjsinlineeditpostjs">trunk/wp-admin/js/inline-edit-post.js</a></li>
<li><a href="#trunkwpadminjsinlineedittaxjs">trunk/wp-admin/js/inline-edit-tax.js</a></li>
<li><a href="#trunkwpincludesjspluploadhandlersjs">trunk/wp-includes/js/plupload/handlers.js</a></li>
<li><a href="#trunkwpincludesjsswfuploadhandlersjs">trunk/wp-includes/js/swfupload/handlers.js</a></li>
<li><a href="#trunkwpincludesversionphp">trunk/wp-includes/version.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminjsdashboardjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/dashboard.js (20191 => 20192)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/dashboard.js        2012-03-15 13:30:28 UTC (rev 20191)
+++ trunk/wp-admin/js/dashboard.js        2012-03-15 13:58:27 UTC (rev 20192)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var ajaxWidgets,ajaxPopulateWidgets,quickPressLoad;jQuery(document).ready(function(c){var d=c(&quot;#welcome-panel&quot;),a=c(&quot;#wp_welcome_panel-hide&quot;),b=function(e){c.post(ajaxurl,{action:&quot;update-welcome-panel&quot;,visible:e,welcomepanelnonce:c(&quot;#welcomepanelnonce&quot;).val()})};if(d.hasClass(&quot;hidden&quot;)&amp;&amp;a.prop(&quot;checked&quot;)){d.removeClass(&quot;hidden&quot;)}c(&quot;.welcome-panel-close, .welcome-panel-dismiss a&quot;,d).click(function(f){f.preventDefault();d.addClass(&quot;hidden&quot;);b(0);c(&quot;#wp_welcome_panel-hide&quot;).prop(&quot;checked&quot;,false)});a.click(function(){d.toggleClass(&quot;hidden&quot;,!this.checked);b(this.checked?1:0)});ajaxWidgets=[&quot;dashboard_incoming_links&quot;,&quot;dashboard_primary&quot;,&quot;dashboard_secondary&quot;,&quot;dashboard_plugins&quot;];ajaxPopulateWidgets=function(f){function e(g,k){var j,h=c(&quot;#&quot;+k+&quot; div.inside:visible&quot;).find(&quot;.widget-l
 oading&quot;);if(h.length){j=h.parent();setTimeout(function(){j.load(ajaxurl.replace(&quot;/admin-ajax.php&quot;,&quot;&quot;)+&quot;/index-extra.php?jax=&quot;+k,&quot;&quot;,function(){j.hide().slideDown(&quot;normal&quot;,function(){c(this).css(&quot;display&quot;,&quot;&quot;)})})},g*500)}}if(f){f=f.toString();if(c.inArray(f,ajaxWidgets)!=-1){e(0,f)}}else{c.each(ajaxWidgets,e)}};ajaxPopulateWidgets();postboxes.add_postbox_toggles(pagenow,{pbshow:ajaxPopulateWidgets});quickPressLoad=function(){var e=c(&quot;#quickpost-action&quot;),f;f=c(&quot;#quick-press&quot;).submit(function(){c(&quot;#dashboard_quick_press #publishing-action img.waiting&quot;).css(&quot;visibility&quot;,&quot;visible&quot;);c('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').prop(&quot;disabled&quot;,true);if(&quot;post&quot;==e.val()){e.val(&quot;post-quickpress-publish&quot;)}c(&quot;#dashboard_quick_press div.inside&quot;).load(f.attr(&quot;
 action&quot;),f.serializeArray(),function(){c(&quot;#dashboard_quick_press #publishing-action img.waiting&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;);c('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').prop(&quot;disabled&quot;,false);c(&quot;#dashboard_quick_press ul&quot;).next(&quot;p&quot;).remove();c(&quot;#dashboard_quick_press ul&quot;).find(&quot;li&quot;).each(function(){c(&quot;#dashboard_recent_drafts ul&quot;).prepend(this)}).end().remove();quickPressLoad()});return false});c(&quot;#publish&quot;).click(function(){e.val(&quot;post-quickpress-publish&quot;)})};quickPressLoad()});
</del><span class="cx">\ No newline at end of file
</span><ins>+var ajaxWidgets,ajaxPopulateWidgets,quickPressLoad;jQuery(document).ready(function(c){var d=c(&quot;#welcome-panel&quot;),a=c(&quot;#wp_welcome_panel-hide&quot;),b=function(e){c.post(ajaxurl,{action:&quot;update-welcome-panel&quot;,visible:e,welcomepanelnonce:c(&quot;#welcomepanelnonce&quot;).val()})};if(d.hasClass(&quot;hidden&quot;)&amp;&amp;a.prop(&quot;checked&quot;)){d.removeClass(&quot;hidden&quot;)}c(&quot;.welcome-panel-close, .welcome-panel-dismiss a&quot;,d).click(function(f){f.preventDefault();d.addClass(&quot;hidden&quot;);b(0);c(&quot;#wp_welcome_panel-hide&quot;).prop(&quot;checked&quot;,false)});a.click(function(){d.toggleClass(&quot;hidden&quot;,!this.checked);b(this.checked?1:0)});ajaxWidgets=[&quot;dashboard_incoming_links&quot;,&quot;dashboard_primary&quot;,&quot;dashboard_secondary&quot;,&quot;dashboard_plugins&quot;];ajaxPopulateWidgets=function(f){function e(g,k){var j,h=c(&quot;#&quot;+k+&quot; div.inside:visible&quot;).find(&quot;.widget-l
 oading&quot;);if(h.length){j=h.parent();setTimeout(function(){j.load(ajaxurl+&quot;?action=dashboard-widgets&amp;widget=&quot;+k,&quot;&quot;,function(){j.hide().slideDown(&quot;normal&quot;,function(){c(this).css(&quot;display&quot;,&quot;&quot;)})})},g*500)}}if(f){f=f.toString();if(c.inArray(f,ajaxWidgets)!=-1){e(0,f)}}else{c.each(ajaxWidgets,e)}};ajaxPopulateWidgets();postboxes.add_postbox_toggles(pagenow,{pbshow:ajaxPopulateWidgets});quickPressLoad=function(){var e=c(&quot;#quickpost-action&quot;),f;f=c(&quot;#quick-press&quot;).submit(function(){c(&quot;#dashboard_quick_press #publishing-action img.waiting&quot;).css(&quot;visibility&quot;,&quot;visible&quot;);c('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').prop(&quot;disabled&quot;,true);if(&quot;post&quot;==e.val()){e.val(&quot;post-quickpress-publish&quot;)}c(&quot;#dashboard_quick_press div.inside&quot;).load(f.attr(&quot;action&quot;),f.serializeArray(),f
 unction(){c(&quot;#dashboard_quick_press #publishing-action img.waiting&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;);c('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').prop(&quot;disabled&quot;,false);c(&quot;#dashboard_quick_press ul&quot;).next(&quot;p&quot;).remove();c(&quot;#dashboard_quick_press ul&quot;).find(&quot;li&quot;).each(function(){c(&quot;#dashboard_recent_drafts ul&quot;).prepend(this)}).end().remove();quickPressLoad()});return false});c(&quot;#publish&quot;).click(function(){e.val(&quot;post-quickpress-publish&quot;)})};quickPressLoad()});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjsinlineeditpostjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/inline-edit-post.js (20191 => 20192)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/inline-edit-post.js        2012-03-15 13:30:28 UTC (rev 20191)
+++ trunk/wp-admin/js/inline-edit-post.js        2012-03-15 13:58:27 UTC (rev 20192)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(a){inlineEditPost={init:function(){var c=this,d=a(&quot;#inline-edit&quot;),b=a(&quot;#bulk-edit&quot;);c.type=a(&quot;table.widefat&quot;).hasClass(&quot;pages&quot;)?&quot;page&quot;:&quot;post&quot;;c.what=&quot;#post-&quot;;d.keyup(function(f){if(f.which==27){return inlineEditPost.revert()}});b.keyup(function(f){if(f.which==27){return inlineEditPost.revert()}});a(&quot;a.cancel&quot;,d).click(function(){return inlineEditPost.revert()});a(&quot;a.save&quot;,d).click(function(){return inlineEditPost.save(this)});a(&quot;td&quot;,d).keydown(function(f){if(f.which==13){return inlineEditPost.save(this)}});a(&quot;a.cancel&quot;,b).click(function(){return inlineEditPost.revert()});a('#inline-edit .inline-edit-private input[value=&quot;private&quot;]').click(function(){var e=a(&quot;input.inline-edit-password-input&quot;);if(a(this).prop(&quot;checked&quot;)){e.val(&quot;&quot;).prop(&quot;disabled&quot;,true)}else{e.prop(&quot;disabled&quot;,false)}});a(&
 quot;a.editinline&quot;).live(&quot;click&quot;,function(){inlineEditPost.edit(this);return false});a(&quot;#bulk-title-div&quot;).parents(&quot;fieldset&quot;).after(a(&quot;#inline-edit fieldset.inline-edit-categories&quot;).clone()).siblings(&quot;fieldset:last&quot;).prepend(a(&quot;#inline-edit label.inline-edit-tags&quot;).clone());a(&quot;span.catshow&quot;).click(function(){a(this).hide().next().show().parent().next().addClass(&quot;cat-hover&quot;)});a(&quot;span.cathide&quot;).click(function(){a(this).hide().prev().show().parent().next().removeClass(&quot;cat-hover&quot;)});a('select[name=&quot;_status&quot;] option[value=&quot;future&quot;]',b).remove();a(&quot;#doaction, #doaction2&quot;).click(function(f){var g=a(this).attr(&quot;id&quot;).substr(2);if(a('select[name=&quot;'+g+'&quot;]').val()==&quot;edit&quot;){f.preventDefault();c.setBulk()}else{if(a(&quot;form#posts-filter tr.inline-editor&quot;).length&gt;0){c.revert()}}});a(&quot;#post-query-submit&quot;).m
 ousedown(function(f){c.revert();a('select[name^=&quot;action&quot;]').val(&quot;-1&quot;)})},toggle:function(c){var b=this;a(b.what+b.getId(c)).css(&quot;display&quot;)==&quot;none&quot;?b.revert():b.edit(c)},setBulk:function(){var e=&quot;&quot;,d=this.type,b,f=true;this.revert();a(&quot;#bulk-edit td&quot;).attr(&quot;colspan&quot;,a(&quot;.widefat:first thead th:visible&quot;).length);a(&quot;table.widefat tbody&quot;).prepend(a(&quot;#bulk-edit&quot;));a(&quot;#bulk-edit&quot;).addClass(&quot;inline-editor&quot;).show();a('tbody th.check-column input[type=&quot;checkbox&quot;]').each(function(g){if(a(this).prop(&quot;checked&quot;)){f=false;var h=a(this).val(),c;c=a(&quot;#inline_&quot;+h+&quot; .post_title&quot;).text()||inlineEditL10n.notitle;e+='&lt;div id=&quot;ttle'+h+'&quot;&gt;&lt;a id=&quot;_'+h+'&quot; class=&quot;ntdelbutton&quot; title=&quot;'+inlineEditL10n.ntdeltitle+'&quot;&gt;X&lt;/a&gt;'+c+&quot;&lt;/div&gt;&quot;}});if(f){return this.revert()}a(&quot;#bu
 lk-titles&quot;).html(e);a(&quot;#bulk-titles a&quot;).click(function(){var c=a(this).attr(&quot;id&quot;).substr(1);a('table.widefat input[value=&quot;'+c+'&quot;]').prop(&quot;checked&quot;,false);a(&quot;#ttle&quot;+c).remove()});if(&quot;post&quot;==d){b=&quot;post_tag&quot;;a('tr.inline-editor textarea[name=&quot;tax_input['+b+']&quot;]').suggest(&quot;admin-ajax.php?action=ajax-tag-search&amp;tax=&quot;+b,{delay:500,minchars:2,multiple:true,multipleSep:inlineEditL10n.comma+&quot; &quot;})}a(&quot;html, body&quot;).animate({scrollTop:0},&quot;fast&quot;)},edit:function(c){var n=this,j,e,g,i,h,m,l,d=true,o,b,k;n.revert();if(typeof(c)==&quot;object&quot;){c=n.getId(c)}j=[&quot;post_title&quot;,&quot;post_name&quot;,&quot;post_author&quot;,&quot;_status&quot;,&quot;jj&quot;,&quot;mm&quot;,&quot;aa&quot;,&quot;hh&quot;,&quot;mn&quot;,&quot;ss&quot;,&quot;post_password&quot;,&quot;post_format&quot;,&quot;menu_order&quot;];if(n.type==&quot;page&quot;){j.push(&quot;post_parent
 &quot;,&quot;page_template&quot;)}e=a(&quot;#inline-edit&quot;).clone(true);a(&quot;td&quot;,e).attr(&quot;colspan&quot;,a(&quot;.widefat:first thead th:visible&quot;).length);if(a(n.what+c).hasClass(&quot;alternate&quot;)){a(e).addClass(&quot;alternate&quot;)}a(n.what+c).hide().after(e);g=a(&quot;#inline_&quot;+c);if(!a(':input[name=&quot;post_author&quot;] option[value=&quot;'+a(&quot;.post_author&quot;,g).text()+'&quot;]',e).val()){a(':input[name=&quot;post_author&quot;]',e).prepend('&lt;option value=&quot;'+a(&quot;.post_author&quot;,g).text()+'&quot;&gt;'+a(&quot;#&quot;+n.type+&quot;-&quot;+c+&quot; .author&quot;).text()+&quot;&lt;/option&gt;&quot;)}if(a(':input[name=&quot;post_author&quot;] option',e).length==1){a(&quot;label.inline-edit-author&quot;,e).hide()}b=a(&quot;.post_format&quot;,g).text();a(&quot;option.unsupported&quot;,e).each(function(){var f=a(this);if(f.val()!=b){f.remove()}});for(k=0;k&lt;j.length;k++){a(':input[name=&quot;'+j[k]+'&quot;]',e).val(a(&qu
 ot;.&quot;+j[k],g).text())}if(a(&quot;.comment_status&quot;,g).text()==&quot;open&quot;){a('input[name=&quot;comment_status&quot;]',e).prop(&quot;checked&quot;,true)}if(a(&quot;.ping_status&quot;,g).text()==&quot;open&quot;){a('input[name=&quot;ping_status&quot;]',e).prop(&quot;checked&quot;,true)}if(a(&quot;.sticky&quot;,g).text()==&quot;sticky&quot;){a('input[name=&quot;sticky&quot;]',e).prop(&quot;checked&quot;,true)}a(&quot;.post_category&quot;,g).each(function(){var f=a(this).text();if(f){taxname=a(this).attr(&quot;id&quot;).replace(&quot;_&quot;+c,&quot;&quot;);a(&quot;ul.&quot;+taxname+&quot;-checklist :checkbox&quot;,e).val(f.split(&quot;,&quot;))}});a(&quot;.tags_input&quot;,g).each(function(){var q=a(this).text(),r=a(this).attr(&quot;id&quot;).replace(&quot;_&quot;+c,&quot;&quot;),p=a(&quot;textarea.tax_input_&quot;+r,e),f=inlineEditL10n.comma;if(q){if(&quot;,&quot;!==f){q=q.replace(/,/g,f)}p.val(q)}p.suggest(&quot;admin-ajax.php?action=ajax-tag-search&amp;tax=&quo
 t;+r,{delay:500,minchars:2,multiple:true,multipleSep:inlineEditL10n.comma+&quot; &quot;})});i=a(&quot;._status&quot;,g).text();if(&quot;future&quot;!=i){a('select[name=&quot;_status&quot;] option[value=&quot;future&quot;]',e).remove()}if(&quot;private&quot;==i){a('input[name=&quot;keep_private&quot;]',e).prop(&quot;checked&quot;,true);a(&quot;input.inline-edit-password-input&quot;).val(&quot;&quot;).prop(&quot;disabled&quot;,true)}h=a('select[name=&quot;post_parent&quot;] option[value=&quot;'+c+'&quot;]',e);if(h.length&gt;0){m=h[0].className.split(&quot;-&quot;)[1];l=h;while(d){l=l.next(&quot;option&quot;);if(l.length==0){break}o=l[0].className.split(&quot;-&quot;)[1];if(o&lt;=m){d=false}else{l.remove();l=h}}h.remove()}a(e).attr(&quot;id&quot;,&quot;edit-&quot;+c).addClass(&quot;inline-editor&quot;).show();a(&quot;.ptitle&quot;,e).focus();return false},save:function(e){var d,b,c=a(&quot;.post_status_page&quot;).val()||&quot;&quot;;if(typeof(e)==&quot;object&quot;){e=this.get
 Id(e)}a(&quot;table.widefat .inline-edit-save .waiting&quot;).show();d={action:&quot;inline-save&quot;,post_type:typenow,post_ID:e,edit_date:&quot;true&quot;,post_status:c};b=a(&quot;#edit-&quot;+e+&quot; :input&quot;).serialize();d=b+&quot;&amp;&quot;+a.param(d);a.post(&quot;admin-ajax.php&quot;,d,function(f){a(&quot;table.widefat .inline-edit-save .waiting&quot;).hide();if(f){if(-1!=f.indexOf(&quot;&lt;tr&quot;)){a(inlineEditPost.what+e).remove();a(&quot;#edit-&quot;+e).before(f).remove();a(inlineEditPost.what+e).hide().fadeIn()}else{f=f.replace(/&lt;.[^&lt;&gt;]*?&gt;/g,&quot;&quot;);a(&quot;#edit-&quot;+e+&quot; .inline-edit-save .error&quot;).html(f).show()}}else{a(&quot;#edit-&quot;+e+&quot; .inline-edit-save .error&quot;).html(inlineEditL10n.error).show()}},&quot;html&quot;);return false},revert:function(){var b=a(&quot;table.widefat tr.inline-editor&quot;).attr(&quot;id&quot;);if(b){a(&quot;table.widefat .inline-edit-save .waiting&quot;).hide();if(&quot;bulk-edit&quo
 t;==b){a(&quot;table.widefat #bulk-edit&quot;).removeClass(&quot;inline-editor&quot;).hide();a(&quot;#bulk-titles&quot;).html(&quot;&quot;);a(&quot;#inlineedit&quot;).append(a(&quot;#bulk-edit&quot;))}else{a(&quot;#&quot;+b).remove();b=b.substr(b.lastIndexOf(&quot;-&quot;)+1);a(this.what+b).show()}}return false},getId:function(c){var d=a(c).closest(&quot;tr&quot;).attr(&quot;id&quot;),b=d.split(&quot;-&quot;);return b[b.length-1]}};a(document).ready(function(){inlineEditPost.init()})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(a){inlineEditPost={init:function(){var c=this,d=a(&quot;#inline-edit&quot;),b=a(&quot;#bulk-edit&quot;);c.type=a(&quot;table.widefat&quot;).hasClass(&quot;pages&quot;)?&quot;page&quot;:&quot;post&quot;;c.what=&quot;#post-&quot;;d.keyup(function(f){if(f.which==27){return inlineEditPost.revert()}});b.keyup(function(f){if(f.which==27){return inlineEditPost.revert()}});a(&quot;a.cancel&quot;,d).click(function(){return inlineEditPost.revert()});a(&quot;a.save&quot;,d).click(function(){return inlineEditPost.save(this)});a(&quot;td&quot;,d).keydown(function(f){if(f.which==13){return inlineEditPost.save(this)}});a(&quot;a.cancel&quot;,b).click(function(){return inlineEditPost.revert()});a('#inline-edit .inline-edit-private input[value=&quot;private&quot;]').click(function(){var e=a(&quot;input.inline-edit-password-input&quot;);if(a(this).prop(&quot;checked&quot;)){e.val(&quot;&quot;).prop(&quot;disabled&quot;,true)}else{e.prop(&quot;disabled&quot;,false)}});a(&
 quot;a.editinline&quot;).live(&quot;click&quot;,function(){inlineEditPost.edit(this);return false});a(&quot;#bulk-title-div&quot;).parents(&quot;fieldset&quot;).after(a(&quot;#inline-edit fieldset.inline-edit-categories&quot;).clone()).siblings(&quot;fieldset:last&quot;).prepend(a(&quot;#inline-edit label.inline-edit-tags&quot;).clone());a(&quot;span.catshow&quot;).click(function(){a(this).hide().next().show().parent().next().addClass(&quot;cat-hover&quot;)});a(&quot;span.cathide&quot;).click(function(){a(this).hide().prev().show().parent().next().removeClass(&quot;cat-hover&quot;)});a('select[name=&quot;_status&quot;] option[value=&quot;future&quot;]',b).remove();a(&quot;#doaction, #doaction2&quot;).click(function(f){var g=a(this).attr(&quot;id&quot;).substr(2);if(a('select[name=&quot;'+g+'&quot;]').val()==&quot;edit&quot;){f.preventDefault();c.setBulk()}else{if(a(&quot;form#posts-filter tr.inline-editor&quot;).length&gt;0){c.revert()}}});a(&quot;#post-query-submit&quot;).m
 ousedown(function(f){c.revert();a('select[name^=&quot;action&quot;]').val(&quot;-1&quot;)})},toggle:function(c){var b=this;a(b.what+b.getId(c)).css(&quot;display&quot;)==&quot;none&quot;?b.revert():b.edit(c)},setBulk:function(){var e=&quot;&quot;,d=this.type,b,f=true;this.revert();a(&quot;#bulk-edit td&quot;).attr(&quot;colspan&quot;,a(&quot;.widefat:first thead th:visible&quot;).length);a(&quot;table.widefat tbody&quot;).prepend(a(&quot;#bulk-edit&quot;));a(&quot;#bulk-edit&quot;).addClass(&quot;inline-editor&quot;).show();a('tbody th.check-column input[type=&quot;checkbox&quot;]').each(function(g){if(a(this).prop(&quot;checked&quot;)){f=false;var h=a(this).val(),c;c=a(&quot;#inline_&quot;+h+&quot; .post_title&quot;).text()||inlineEditL10n.notitle;e+='&lt;div id=&quot;ttle'+h+'&quot;&gt;&lt;a id=&quot;_'+h+'&quot; class=&quot;ntdelbutton&quot; title=&quot;'+inlineEditL10n.ntdeltitle+'&quot;&gt;X&lt;/a&gt;'+c+&quot;&lt;/div&gt;&quot;}});if(f){return this.revert()}a(&quot;#bu
 lk-titles&quot;).html(e);a(&quot;#bulk-titles a&quot;).click(function(){var c=a(this).attr(&quot;id&quot;).substr(1);a('table.widefat input[value=&quot;'+c+'&quot;]').prop(&quot;checked&quot;,false);a(&quot;#ttle&quot;+c).remove()});if(&quot;post&quot;==d){b=&quot;post_tag&quot;;a('tr.inline-editor textarea[name=&quot;tax_input['+b+']&quot;]').suggest(ajaxurl+&quot;?action=ajax-tag-search&amp;tax=&quot;+b,{delay:500,minchars:2,multiple:true,multipleSep:inlineEditL10n.comma+&quot; &quot;})}a(&quot;html, body&quot;).animate({scrollTop:0},&quot;fast&quot;)},edit:function(c){var n=this,j,e,g,i,h,m,l,d=true,o,b,k;n.revert();if(typeof(c)==&quot;object&quot;){c=n.getId(c)}j=[&quot;post_title&quot;,&quot;post_name&quot;,&quot;post_author&quot;,&quot;_status&quot;,&quot;jj&quot;,&quot;mm&quot;,&quot;aa&quot;,&quot;hh&quot;,&quot;mn&quot;,&quot;ss&quot;,&quot;post_password&quot;,&quot;post_format&quot;,&quot;menu_order&quot;];if(n.type==&quot;page&quot;){j.push(&quot;post_parent&quot;
 ,&quot;page_template&quot;)}e=a(&quot;#inline-edit&quot;).clone(true);a(&quot;td&quot;,e).attr(&quot;colspan&quot;,a(&quot;.widefat:first thead th:visible&quot;).length);if(a(n.what+c).hasClass(&quot;alternate&quot;)){a(e).addClass(&quot;alternate&quot;)}a(n.what+c).hide().after(e);g=a(&quot;#inline_&quot;+c);if(!a(':input[name=&quot;post_author&quot;] option[value=&quot;'+a(&quot;.post_author&quot;,g).text()+'&quot;]',e).val()){a(':input[name=&quot;post_author&quot;]',e).prepend('&lt;option value=&quot;'+a(&quot;.post_author&quot;,g).text()+'&quot;&gt;'+a(&quot;#&quot;+n.type+&quot;-&quot;+c+&quot; .author&quot;).text()+&quot;&lt;/option&gt;&quot;)}if(a(':input[name=&quot;post_author&quot;] option',e).length==1){a(&quot;label.inline-edit-author&quot;,e).hide()}b=a(&quot;.post_format&quot;,g).text();a(&quot;option.unsupported&quot;,e).each(function(){var f=a(this);if(f.val()!=b){f.remove()}});for(k=0;k&lt;j.length;k++){a(':input[name=&quot;'+j[k]+'&quot;]',e).val(a(&quot;.&q
 uot;+j[k],g).text())}if(a(&quot;.comment_status&quot;,g).text()==&quot;open&quot;){a('input[name=&quot;comment_status&quot;]',e).prop(&quot;checked&quot;,true)}if(a(&quot;.ping_status&quot;,g).text()==&quot;open&quot;){a('input[name=&quot;ping_status&quot;]',e).prop(&quot;checked&quot;,true)}if(a(&quot;.sticky&quot;,g).text()==&quot;sticky&quot;){a('input[name=&quot;sticky&quot;]',e).prop(&quot;checked&quot;,true)}a(&quot;.post_category&quot;,g).each(function(){var f=a(this).text();if(f){taxname=a(this).attr(&quot;id&quot;).replace(&quot;_&quot;+c,&quot;&quot;);a(&quot;ul.&quot;+taxname+&quot;-checklist :checkbox&quot;,e).val(f.split(&quot;,&quot;))}});a(&quot;.tags_input&quot;,g).each(function(){var q=a(this).text(),r=a(this).attr(&quot;id&quot;).replace(&quot;_&quot;+c,&quot;&quot;),p=a(&quot;textarea.tax_input_&quot;+r,e),f=inlineEditL10n.comma;if(q){if(&quot;,&quot;!==f){q=q.replace(/,/g,f)}p.val(q)}p.suggest(ajaxurl+&quot;?action=ajax-tag-search&amp;tax=&quot;+r,{delay:
 500,minchars:2,multiple:true,multipleSep:inlineEditL10n.comma+&quot; &quot;})});i=a(&quot;._status&quot;,g).text();if(&quot;future&quot;!=i){a('select[name=&quot;_status&quot;] option[value=&quot;future&quot;]',e).remove()}if(&quot;private&quot;==i){a('input[name=&quot;keep_private&quot;]',e).prop(&quot;checked&quot;,true);a(&quot;input.inline-edit-password-input&quot;).val(&quot;&quot;).prop(&quot;disabled&quot;,true)}h=a('select[name=&quot;post_parent&quot;] option[value=&quot;'+c+'&quot;]',e);if(h.length&gt;0){m=h[0].className.split(&quot;-&quot;)[1];l=h;while(d){l=l.next(&quot;option&quot;);if(l.length==0){break}o=l[0].className.split(&quot;-&quot;)[1];if(o&lt;=m){d=false}else{l.remove();l=h}}h.remove()}a(e).attr(&quot;id&quot;,&quot;edit-&quot;+c).addClass(&quot;inline-editor&quot;).show();a(&quot;.ptitle&quot;,e).focus();return false},save:function(e){var d,b,c=a(&quot;.post_status_page&quot;).val()||&quot;&quot;;if(typeof(e)==&quot;object&quot;){e=this.getId(e)}a(&quo
 t;table.widefat .inline-edit-save .waiting&quot;).show();d={action:&quot;inline-save&quot;,post_type:typenow,post_ID:e,edit_date:&quot;true&quot;,post_status:c};b=a(&quot;#edit-&quot;+e+&quot; :input&quot;).serialize();d=b+&quot;&amp;&quot;+a.param(d);a.post(ajaxurl,d,function(f){a(&quot;table.widefat .inline-edit-save .waiting&quot;).hide();if(f){if(-1!=f.indexOf(&quot;&lt;tr&quot;)){a(inlineEditPost.what+e).remove();a(&quot;#edit-&quot;+e).before(f).remove();a(inlineEditPost.what+e).hide().fadeIn()}else{f=f.replace(/&lt;.[^&lt;&gt;]*?&gt;/g,&quot;&quot;);a(&quot;#edit-&quot;+e+&quot; .inline-edit-save .error&quot;).html(f).show()}}else{a(&quot;#edit-&quot;+e+&quot; .inline-edit-save .error&quot;).html(inlineEditL10n.error).show()}},&quot;html&quot;);return false},revert:function(){var b=a(&quot;table.widefat tr.inline-editor&quot;).attr(&quot;id&quot;);if(b){a(&quot;table.widefat .inline-edit-save .waiting&quot;).hide();if(&quot;bulk-edit&quot;==b){a(&quot;table.widefat #b
 ulk-edit&quot;).removeClass(&quot;inline-editor&quot;).hide();a(&quot;#bulk-titles&quot;).html(&quot;&quot;);a(&quot;#inlineedit&quot;).append(a(&quot;#bulk-edit&quot;))}else{a(&quot;#&quot;+b).remove();b=b.substr(b.lastIndexOf(&quot;-&quot;)+1);a(this.what+b).show()}}return false},getId:function(c){var d=a(c).closest(&quot;tr&quot;).attr(&quot;id&quot;),b=d.split(&quot;-&quot;);return b[b.length-1]}};a(document).ready(function(){inlineEditPost.init()})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjsinlineedittaxjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/inline-edit-tax.js (20191 => 20192)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/inline-edit-tax.js        2012-03-15 13:30:28 UTC (rev 20191)
+++ trunk/wp-admin/js/inline-edit-tax.js        2012-03-15 13:58:27 UTC (rev 20192)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(a){inlineEditTax={init:function(){var b=this,c=a(&quot;#inline-edit&quot;);b.type=a(&quot;#the-list&quot;).attr(&quot;class&quot;).substr(5);b.what=&quot;#&quot;+b.type+&quot;-&quot;;a(&quot;.editinline&quot;).live(&quot;click&quot;,function(){inlineEditTax.edit(this);return false});c.keyup(function(d){if(d.which==27){return inlineEditTax.revert()}});a(&quot;a.cancel&quot;,c).click(function(){return inlineEditTax.revert()});a(&quot;a.save&quot;,c).click(function(){return inlineEditTax.save(this)});a(&quot;input, select&quot;,c).keydown(function(d){if(d.which==13){return inlineEditTax.save(this)}});a('#posts-filter input[type=&quot;submit&quot;]').mousedown(function(d){b.revert()})},toggle:function(c){var b=this;a(b.what+b.getId(c)).css(&quot;display&quot;)==&quot;none&quot;?b.revert():b.edit(c)},edit:function(d){var c=this,b;c.revert();if(typeof(d)==&quot;object&quot;){d=c.getId(d)}b=a(&quot;#inline-edit&quot;).clone(true),rowData=a(&quot;#inline_&quot;
 +d);a(&quot;td&quot;,b).attr(&quot;colspan&quot;,a(&quot;.widefat:first thead th:visible&quot;).length);if(a(c.what+d).hasClass(&quot;alternate&quot;)){a(b).addClass(&quot;alternate&quot;)}a(c.what+d).hide().after(b);a(':input[name=&quot;name&quot;]',b).val(a(&quot;.name&quot;,rowData).text());a(':input[name=&quot;slug&quot;]',b).val(a(&quot;.slug&quot;,rowData).text());a(b).attr(&quot;id&quot;,&quot;edit-&quot;+d).addClass(&quot;inline-editor&quot;).show();a(&quot;.ptitle&quot;,b).eq(0).focus();return false},save:function(e){var d,b,c=a('input[name=&quot;taxonomy&quot;]').val()||&quot;&quot;;if(typeof(e)==&quot;object&quot;){e=this.getId(e)}a(&quot;table.widefat .inline-edit-save .waiting&quot;).show();d={action:&quot;inline-save-tax&quot;,tax_type:this.type,tax_ID:e,taxonomy:c};b=a(&quot;#edit-&quot;+e+&quot; :input&quot;).serialize();d=b+&quot;&amp;&quot;+a.param(d);a.post(&quot;admin-ajax.php&quot;,d,function(g){var h,f;a(&quot;table.widefat .inline-edit-save .waiting&qu
 ot;).hide();if(g){if(-1!=g.indexOf(&quot;&lt;tr&quot;)){a(inlineEditTax.what+e).remove();f=a(g).attr(&quot;id&quot;);a(&quot;#edit-&quot;+e).before(g).remove();h=f?a(&quot;#&quot;+f):a(inlineEditTax.what+e);h.hide().fadeIn()}else{a(&quot;#edit-&quot;+e+&quot; .inline-edit-save .error&quot;).html(g).show()}}else{a(&quot;#edit-&quot;+e+&quot; .inline-edit-save .error&quot;).html(inlineEditL10n.error).show()}});return false},revert:function(){var b=a(&quot;table.widefat tr.inline-editor&quot;).attr(&quot;id&quot;);if(b){a(&quot;table.widefat .inline-edit-save .waiting&quot;).hide();a(&quot;#&quot;+b).remove();b=b.substr(b.lastIndexOf(&quot;-&quot;)+1);a(this.what+b).show()}return false},getId:function(c){var d=c.tagName==&quot;TR&quot;?c.id:a(c).parents(&quot;tr&quot;).attr(&quot;id&quot;),b=d.split(&quot;-&quot;);return b[b.length-1]}};a(document).ready(function(){inlineEditTax.init()})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(a){inlineEditTax={init:function(){var b=this,c=a(&quot;#inline-edit&quot;);b.type=a(&quot;#the-list&quot;).attr(&quot;class&quot;).substr(5);b.what=&quot;#&quot;+b.type+&quot;-&quot;;a(&quot;.editinline&quot;).live(&quot;click&quot;,function(){inlineEditTax.edit(this);return false});c.keyup(function(d){if(d.which==27){return inlineEditTax.revert()}});a(&quot;a.cancel&quot;,c).click(function(){return inlineEditTax.revert()});a(&quot;a.save&quot;,c).click(function(){return inlineEditTax.save(this)});a(&quot;input, select&quot;,c).keydown(function(d){if(d.which==13){return inlineEditTax.save(this)}});a('#posts-filter input[type=&quot;submit&quot;]').mousedown(function(d){b.revert()})},toggle:function(c){var b=this;a(b.what+b.getId(c)).css(&quot;display&quot;)==&quot;none&quot;?b.revert():b.edit(c)},edit:function(d){var c=this,b;c.revert();if(typeof(d)==&quot;object&quot;){d=c.getId(d)}b=a(&quot;#inline-edit&quot;).clone(true),rowData=a(&quot;#inline_&quot;
 +d);a(&quot;td&quot;,b).attr(&quot;colspan&quot;,a(&quot;.widefat:first thead th:visible&quot;).length);if(a(c.what+d).hasClass(&quot;alternate&quot;)){a(b).addClass(&quot;alternate&quot;)}a(c.what+d).hide().after(b);a(':input[name=&quot;name&quot;]',b).val(a(&quot;.name&quot;,rowData).text());a(':input[name=&quot;slug&quot;]',b).val(a(&quot;.slug&quot;,rowData).text());a(b).attr(&quot;id&quot;,&quot;edit-&quot;+d).addClass(&quot;inline-editor&quot;).show();a(&quot;.ptitle&quot;,b).eq(0).focus();return false},save:function(e){var d,b,c=a('input[name=&quot;taxonomy&quot;]').val()||&quot;&quot;;if(typeof(e)==&quot;object&quot;){e=this.getId(e)}a(&quot;table.widefat .inline-edit-save .waiting&quot;).show();d={action:&quot;inline-save-tax&quot;,tax_type:this.type,tax_ID:e,taxonomy:c};b=a(&quot;#edit-&quot;+e+&quot; :input&quot;).serialize();d=b+&quot;&amp;&quot;+a.param(d);a.post(ajaxurl,d,function(g){var h,f;a(&quot;table.widefat .inline-edit-save .waiting&quot;).hide();if(g){i
 f(-1!=g.indexOf(&quot;&lt;tr&quot;)){a(inlineEditTax.what+e).remove();f=a(g).attr(&quot;id&quot;);a(&quot;#edit-&quot;+e).before(g).remove();h=f?a(&quot;#&quot;+f):a(inlineEditTax.what+e);h.hide().fadeIn()}else{a(&quot;#edit-&quot;+e+&quot; .inline-edit-save .error&quot;).html(g).show()}}else{a(&quot;#edit-&quot;+e+&quot; .inline-edit-save .error&quot;).html(inlineEditL10n.error).show()}});return false},revert:function(){var b=a(&quot;table.widefat tr.inline-editor&quot;).attr(&quot;id&quot;);if(b){a(&quot;table.widefat .inline-edit-save .waiting&quot;).hide();a(&quot;#&quot;+b).remove();b=b.substr(b.lastIndexOf(&quot;-&quot;)+1);a(this.what+b).show()}return false},getId:function(c){var d=c.tagName==&quot;TR&quot;?c.id:a(c).parents(&quot;tr&quot;).attr(&quot;id&quot;),b=d.split(&quot;-&quot;);return b[b.length-1]}};a(document).ready(function(){inlineEditTax.init()})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjspluploadhandlersjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/plupload/handlers.js (20191 => 20192)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/plupload/handlers.js        2012-03-15 13:30:28 UTC (rev 20191)
+++ trunk/wp-includes/js/plupload/handlers.js        2012-03-15 13:58:27 UTC (rev 20192)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var topWin=window.dialogArguments||opener||parent||top,uploader,uploader_init;function fileDialogStart(){jQuery(&quot;#media-upload-error&quot;).empty()}function fileQueued(b){jQuery(&quot;.media-blank&quot;).remove();var a=jQuery(&quot;#media-items&quot;).children(),c=post_id||0;if(a.length==1){a.removeClass(&quot;open&quot;).find(&quot;.slidetoggle&quot;).slideUp(200)}jQuery(&quot;#media-items&quot;).append('&lt;div id=&quot;media-item-'+b.id+'&quot; class=&quot;media-item child-of-'+c+'&quot;&gt;&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;percent&quot;&gt;0%&lt;/div&gt;&lt;div class=&quot;bar&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;filename original&quot;&gt; '+b.name+&quot;&lt;/div&gt;&lt;/div&gt;&quot;);jQuery(&quot;#insert-gallery&quot;).prop(&quot;disabled&quot;,true)}function uploadStart(){try{if(typeof topWin.tb_remove!=&quot;undefined&quot;){topWin.jQuery(&quot;#TB_overlay&quot;).unbind(&quot;click&quot;,topWin.tb_remove)}}cat
 ch(a){}return true}function uploadProgress(a,b){var c=jQuery(&quot;#media-item-&quot;+b.id);jQuery(&quot;.bar&quot;,c).width((200*b.loaded)/b.size);jQuery(&quot;.percent&quot;,c).html(b.percent+&quot;%&quot;)}function fileUploading(c,d){var b=100*1024*1024,a=parseInt(c.settings.max_file_size,10);if(a&gt;b&amp;&amp;d.size&gt;b){setTimeout(function(){if(d.status==2&amp;&amp;d.loaded==0){wpFileError(d,pluploadL10n.big_upload_failed.replace(&quot;%1$s&quot;,'&lt;a class=&quot;uploader-html&quot; href=&quot;#&quot;&gt;').replace(&quot;%2$s&quot;,&quot;&lt;/a&gt;&quot;));if(c.current&amp;&amp;c.current.file.id==d.id&amp;&amp;c.current.xhr.abort){c.current.xhr.abort()}}},10000)}}function updateMediaForm(){var a=jQuery(&quot;#media-items&quot;).children();if(a.length==1){a.addClass(&quot;open&quot;).find(&quot;.slidetoggle&quot;).show();jQuery(&quot;.insert-gallery&quot;).hide()}else{if(a.length&gt;1){a.removeClass(&quot;open&quot;);jQuery(&quot;.insert-gallery&quot;).show()}}if(a.n
 ot(&quot;.media-blank&quot;).length&gt;0){jQuery(&quot;.savebutton&quot;).show()}else{jQuery(&quot;.savebutton&quot;).hide()}}function uploadSuccess(c,a){var b=jQuery(&quot;#media-item-&quot;+c.id);a=a.replace(/^&lt;pre&gt;(\d+)&lt;\/pre&gt;$/,&quot;$1&quot;);if(a.match(&quot;media-upload-error&quot;)){b.html(a);return}else{jQuery(&quot;.percent&quot;,b).html(pluploadL10n.crunching)}prepareMediaItem(c,a);updateMediaForm();if(post_id&amp;&amp;b.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(1*jQuery(&quot;#attachments-count&quot;).text()+1)}}function setResize(a){if(a){if(uploader.features.jpgresize){uploader.settings.resize={width:resize_width,height:resize_height,quality:100}}else{uploader.settings.multipart_params.image_resize=true}}else{delete (uploader.settings.resize);delete (uploader.settings.multipart_params.image_resize)}}function prepareMediaItem(c,a){var d=(typeof shortform==&quot;undefined&quot;)?1:2,b=jQuery(&quot;#media-item
 -&quot;+c.id);try{if(typeof topWin.tb_remove!=&quot;undefined&quot;){topWin.jQuery(&quot;#TB_overlay&quot;).click(topWin.tb_remove)}}catch(g){}if(isNaN(a)||!a){b.append(a);prepareMediaItemInit(c)}else{b.load(&quot;async-upload.php&quot;,{attachment_id:a,fetch:d},function(){prepareMediaItemInit(c);updateMediaForm()})}}function prepareMediaItemInit(b){var a=jQuery(&quot;#media-item-&quot;+b.id);jQuery(&quot;.thumbnail&quot;,a).clone().attr(&quot;class&quot;,&quot;pinkynail toggle&quot;).prependTo(a);jQuery(&quot;.filename.original&quot;,a).replaceWith(jQuery(&quot;.filename.new&quot;,a));jQuery(&quot;a.delete&quot;,a).click(function(){jQuery.ajax({url:&quot;admin-ajax.php&quot;,type:&quot;post&quot;,success:deleteSuccess,error:deleteError,id:b.id,data:{id:this.id.replace(/[^0-9]/g,&quot;&quot;),action:&quot;trash-post&quot;,_ajax_nonce:this.href.replace(/^.*wpnonce=/,&quot;&quot;)}});return false});jQuery(&quot;a.undo&quot;,a).click(function(){jQuery.ajax({url:&quot;admin-ajax
 .php&quot;,type:&quot;post&quot;,id:b.id,data:{id:this.id.replace(/[^0-9]/g,&quot;&quot;),action:&quot;untrash-post&quot;,_ajax_nonce:this.href.replace(/^.*wpnonce=/,&quot;&quot;)},success:function(d,e){var c=jQuery(&quot;#media-item-&quot;+b.id);if(type=jQuery(&quot;#type-of-&quot;+b.id).val()){jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text(jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text()-0+1)}if(post_id&amp;&amp;c.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(jQuery(&quot;#attachments-count&quot;).text()-0+1)}jQuery(&quot;.filename .trashnotice&quot;,c).remove();jQuery(&quot;.filename .title&quot;,c).css(&quot;font-weight&quot;,&quot;normal&quot;);jQuery(&quot;a.undo&quot;,c).addClass(&quot;hidden&quot;);jQuery(&quot;.menu_order_input&quot;,c).show();c.css({backgroundColor:&quot;#ceb&quot;}).animate({backgroundColor:&quot;#fff&quot;},{queue:false,duration:500,complete:function(){jQuery(this).css({backgroundColor:&quot;&quo
 t;})}}).removeClass(&quot;undo&quot;)}});return false});jQuery(&quot;#media-item-&quot;+b.id+&quot;.startopen&quot;).removeClass(&quot;startopen&quot;).addClass(&quot;open&quot;).find(&quot;slidetoggle&quot;).fadeIn()}function wpQueueError(a){jQuery(&quot;#media-upload-error&quot;).show().html('&lt;div class=&quot;error&quot;&gt;&lt;p&gt;'+a+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}function wpFileError(b,a){itemAjaxError(b.id,a)}function itemAjaxError(e,c){var b=jQuery(&quot;#media-item-&quot;+e),a=b.find(&quot;.filename&quot;).text(),d=b.data(&quot;last-err&quot;);if(d==e){return}b.html('&lt;div class=&quot;error-div&quot;&gt;&lt;a class=&quot;dismiss&quot; href=&quot;#&quot;&gt;'+pluploadL10n.dismiss+&quot;&lt;/a&gt;&lt;strong&gt;&quot;+pluploadL10n.error_uploading.replace(&quot;%s&quot;,jQuery.trim(a))+&quot;&lt;/strong&gt; &quot;+c+&quot;&lt;/div&gt;&quot;).data(&quot;last-err&quot;,e)}function deleteSuccess(b,d){if(b==&quot;-1&quot;){return itemAjaxError(this.id,&quot;You do
  not have permission. Has your session expired?&quot;)}if(b==&quot;0&quot;){return itemAjaxError(this.id,&quot;Could not be deleted. Has it been deleted already?&quot;)}var c=this.id,a=jQuery(&quot;#media-item-&quot;+c);if(type=jQuery(&quot;#type-of-&quot;+c).val()){jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text(jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text()-1)}if(post_id&amp;&amp;a.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(jQuery(&quot;#attachments-count&quot;).text()-1)}if(jQuery(&quot;form.type-form #media-items&quot;).children().length==1&amp;&amp;jQuery(&quot;.hidden&quot;,&quot;#media-items&quot;).length&gt;0){jQuery(&quot;.toggle&quot;).toggle();jQuery(&quot;.slidetoggle&quot;).slideUp(200).siblings().removeClass(&quot;hidden&quot;)}jQuery(&quot;.toggle&quot;,a).toggle();jQuery(&quot;.slidetoggle&quot;,a).slideUp(200).siblings().removeClass(&quot;hidden&quot;);a.css({backgroundColor:&quot;#faa&quot;}).animate({b
 ackgroundColor:&quot;#f4f4f4&quot;},{queue:false,duration:500}).addClass(&quot;undo&quot;);jQuery(&quot;.filename:empty&quot;,a).remove();jQuery(&quot;.filename .title&quot;,a).css(&quot;font-weight&quot;,&quot;bold&quot;);jQuery(&quot;.filename&quot;,a).append('&lt;span class=&quot;trashnotice&quot;&gt; '+pluploadL10n.deleted+&quot; &lt;/span&gt;&quot;).siblings(&quot;a.toggle&quot;).hide();jQuery(&quot;.filename&quot;,a).append(jQuery(&quot;a.undo&quot;,a).removeClass(&quot;hidden&quot;));jQuery(&quot;.menu_order_input&quot;,a).hide();return}function deleteError(c,b,a){}function uploadComplete(){jQuery(&quot;#insert-gallery&quot;).prop(&quot;disabled&quot;,false)}function switchUploader(a){if(a){deleteUserSetting(&quot;uploader&quot;);jQuery(&quot;.media-upload-form&quot;).removeClass(&quot;html-uploader&quot;);if(typeof(uploader)==&quot;object&quot;){uploader.refresh()}}else{setUserSetting(&quot;uploader&quot;,&quot;1&quot;);jQuery(&quot;.media-upload-form&quot;).addClass
 (&quot;html-uploader&quot;)}}function dndHelper(a){var b=document.getElementById(&quot;dnd-helper&quot;);if(a){b.style.display=&quot;block&quot;}else{b.style.display=&quot;none&quot;}}function uploadError(d,f,c,e){var b=100*1024*1024,a;switch(f){case plupload.FAILED:wpFileError(d,pluploadL10n.upload_failed);break;case plupload.FILE_EXTENSION_ERROR:wpFileError(d,pluploadL10n.invalid_filetype);break;case plupload.FILE_SIZE_ERROR:uploadSizeError(e,d);break;case plupload.IMAGE_FORMAT_ERROR:wpFileError(d,pluploadL10n.not_an_image);break;case plupload.IMAGE_MEMORY_ERROR:wpFileError(d,pluploadL10n.image_memory_exceeded);break;case plupload.IMAGE_DIMENSIONS_ERROR:wpFileError(d,pluploadL10n.image_dimensions_exceeded);break;case plupload.GENERIC_ERROR:wpQueueError(pluploadL10n.upload_failed);break;case plupload.IO_ERROR:a=parseInt(e.settings.max_file_size,10);if(a&gt;b&amp;&amp;d.size&gt;b){wpFileError(d,pluploadL10n.big_upload_failed.replace(&quot;%1$s&quot;,'&lt;a class=&quot;upload
 er-html&quot; href=&quot;#&quot;&gt;').replace(&quot;%2$s&quot;,&quot;&lt;/a&gt;&quot;))}else{wpQueueError(pluploadL10n.io_error)}break;case plupload.HTTP_ERROR:wpQueueError(pluploadL10n.http_error);break;case plupload.INIT_ERROR:jQuery(&quot;.media-upload-form&quot;).addClass(&quot;html-uploader&quot;);break;case plupload.SECURITY_ERROR:wpQueueError(pluploadL10n.security_error);break;default:wpFileError(d,pluploadL10n.default_error)}}function uploadSizeError(a,b,d){var c;if(d){c=pluploadL10n.big_upload_queued.replace(&quot;%s&quot;,b.name)+&quot; &quot;+pluploadL10n.big_upload_failed.replace(&quot;%1$s&quot;,'&lt;a class=&quot;uploader-html&quot; href=&quot;#&quot;&gt;').replace(&quot;%2$s&quot;,&quot;&lt;/a&gt;&quot;)}else{c=pluploadL10n.file_exceeds_size_limit.replace(&quot;%s&quot;,b.name)}jQuery(&quot;#media-items&quot;).append('&lt;div id=&quot;media-item-'+b.id+'&quot; class=&quot;media-item error&quot;&gt;&lt;p&gt;'+c+&quot;&lt;/p&gt;&lt;/div&gt;&quot;);a.removeFile(
 b)}jQuery(document).ready(function(a){a(&quot;.media-upload-form&quot;).bind(&quot;click.uploader&quot;,function(f){var d=a(f.target),b,g;if(d.is('input[type=&quot;radio&quot;]')){b=d.closest(&quot;tr&quot;);if(b.hasClass(&quot;align&quot;)){setUserSetting(&quot;align&quot;,d.val())}else{if(b.hasClass(&quot;image-size&quot;)){setUserSetting(&quot;imgsize&quot;,d.val())}}}else{if(d.is(&quot;button.button&quot;)){g=f.target.className||&quot;&quot;;g=g.match(/url([^ '&quot;]+)/);if(g&amp;&amp;g[1]){setUserSetting(&quot;urlbutton&quot;,g[1]);d.siblings(&quot;.urlfield&quot;).val(d.data(&quot;link-url&quot;))}}else{if(d.is(&quot;a.dismiss&quot;)){d.parents(&quot;.media-item&quot;).fadeOut(200,function(){a(this).remove()})}else{if(d.is(&quot;.upload-flash-bypass a&quot;)||d.is(&quot;a.uploader-html&quot;)){a(&quot;#media-items, p.submit, span.big-file-warning&quot;).css(&quot;display&quot;,&quot;none&quot;);switchUploader(0);f.preventDefault()}else{if(d.is(&quot;.upload-html-bypas
 s a&quot;)){a(&quot;#media-items, p.submit, span.big-file-warning&quot;).css(&quot;display&quot;,&quot;&quot;);switchUploader(1);f.preventDefault()}else{if(d.is(&quot;a.describe-toggle-on&quot;)){d.parent().addClass(&quot;open&quot;);d.siblings(&quot;.slidetoggle&quot;).fadeIn(250,function(){var i=a(window).scrollTop(),e=a(window).height(),k=a(this).offset().top,j=a(this).height(),c,l;if(e&amp;&amp;k&amp;&amp;j){c=k+j;l=i+e;if(c&gt;l){if(c-l&lt;k-i){window.scrollBy(0,(c-l)+10)}else{window.scrollBy(0,k-i-40)}}}});f.preventDefault()}else{if(d.is(&quot;a.describe-toggle-off&quot;)){d.siblings(&quot;.slidetoggle&quot;).fadeOut(250,function(){d.parent().removeClass(&quot;open&quot;)});f.preventDefault()}}}}}}}});uploader_init=function(){uploader=new plupload.Uploader(wpUploaderInit);a(&quot;#image_resize&quot;).bind(&quot;change&quot;,function(){var b=a(this).prop(&quot;checked&quot;);setResize(b);if(b){setUserSetting(&quot;upload_resize&quot;,&quot;1&quot;)}else{deleteUserSettin
 g(&quot;upload_resize&quot;)}});uploader.bind(&quot;Init&quot;,function(b){var c=a(&quot;#plupload-upload-ui&quot;);setResize(getUserSetting(&quot;upload_resize&quot;,false));if(b.features.dragdrop){c.addClass(&quot;drag-drop&quot;);a(&quot;#drag-drop-area&quot;).bind(&quot;dragover.wp-uploader&quot;,function(){c.addClass(&quot;drag-over&quot;)}).bind(&quot;dragleave.wp-uploader, drop.wp-uploader&quot;,function(){c.removeClass(&quot;drag-over&quot;)})}else{c.removeClass(&quot;drag-drop&quot;);a(&quot;#drag-drop-area&quot;).unbind(&quot;.wp-uploader&quot;)}});uploader.init();uploader.bind(&quot;FilesAdded&quot;,function(d,e){var c=100*1024*1024,b=parseInt(d.settings.max_file_size,10);a(&quot;#media-upload-error&quot;).html(&quot;&quot;);uploadStart();plupload.each(e,function(f){if(b&gt;c&amp;&amp;f.size&gt;c&amp;&amp;d.runtime!=&quot;html5&quot;){uploadSizeError(d,f,true)}else{fileQueued(f)}});d.refresh();d.start()});uploader.bind(&quot;BeforeUpload&quot;,function(b,c){});upl
 oader.bind(&quot;UploadFile&quot;,function(b,c){fileUploading(b,c)});uploader.bind(&quot;UploadProgress&quot;,function(b,c){uploadProgress(b,c)});uploader.bind(&quot;Error&quot;,function(b,c){uploadError(c.file,c.code,c.message,b);b.refresh()});uploader.bind(&quot;FileUploaded&quot;,function(b,d,c){uploadSuccess(d,c.response)});uploader.bind(&quot;UploadComplete&quot;,function(b,c){uploadComplete()})};if(typeof(wpUploaderInit)==&quot;object&quot;){uploader_init()}});
</del><span class="cx">\ No newline at end of file
</span><ins>+var topWin=window.dialogArguments||opener||parent||top,uploader,uploader_init;function fileDialogStart(){jQuery(&quot;#media-upload-error&quot;).empty()}function fileQueued(b){jQuery(&quot;.media-blank&quot;).remove();var a=jQuery(&quot;#media-items&quot;).children(),c=post_id||0;if(a.length==1){a.removeClass(&quot;open&quot;).find(&quot;.slidetoggle&quot;).slideUp(200)}jQuery(&quot;#media-items&quot;).append('&lt;div id=&quot;media-item-'+b.id+'&quot; class=&quot;media-item child-of-'+c+'&quot;&gt;&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;percent&quot;&gt;0%&lt;/div&gt;&lt;div class=&quot;bar&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;filename original&quot;&gt; '+b.name+&quot;&lt;/div&gt;&lt;/div&gt;&quot;);jQuery(&quot;#insert-gallery&quot;).prop(&quot;disabled&quot;,true)}function uploadStart(){try{if(typeof topWin.tb_remove!=&quot;undefined&quot;){topWin.jQuery(&quot;#TB_overlay&quot;).unbind(&quot;click&quot;,topWin.tb_remove)}}cat
 ch(a){}return true}function uploadProgress(a,b){var c=jQuery(&quot;#media-item-&quot;+b.id);jQuery(&quot;.bar&quot;,c).width((200*b.loaded)/b.size);jQuery(&quot;.percent&quot;,c).html(b.percent+&quot;%&quot;)}function fileUploading(c,d){var b=100*1024*1024,a=parseInt(c.settings.max_file_size,10);if(a&gt;b&amp;&amp;d.size&gt;b){setTimeout(function(){if(d.status==2&amp;&amp;d.loaded==0){wpFileError(d,pluploadL10n.big_upload_failed.replace(&quot;%1$s&quot;,'&lt;a class=&quot;uploader-html&quot; href=&quot;#&quot;&gt;').replace(&quot;%2$s&quot;,&quot;&lt;/a&gt;&quot;));if(c.current&amp;&amp;c.current.file.id==d.id&amp;&amp;c.current.xhr.abort){c.current.xhr.abort()}}},10000)}}function updateMediaForm(){var a=jQuery(&quot;#media-items&quot;).children();if(a.length==1){a.addClass(&quot;open&quot;).find(&quot;.slidetoggle&quot;).show();jQuery(&quot;.insert-gallery&quot;).hide()}else{if(a.length&gt;1){a.removeClass(&quot;open&quot;);jQuery(&quot;.insert-gallery&quot;).show()}}if(a.n
 ot(&quot;.media-blank&quot;).length&gt;0){jQuery(&quot;.savebutton&quot;).show()}else{jQuery(&quot;.savebutton&quot;).hide()}}function uploadSuccess(c,a){var b=jQuery(&quot;#media-item-&quot;+c.id);a=a.replace(/^&lt;pre&gt;(\d+)&lt;\/pre&gt;$/,&quot;$1&quot;);if(a.match(&quot;media-upload-error&quot;)){b.html(a);return}else{jQuery(&quot;.percent&quot;,b).html(pluploadL10n.crunching)}prepareMediaItem(c,a);updateMediaForm();if(post_id&amp;&amp;b.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(1*jQuery(&quot;#attachments-count&quot;).text()+1)}}function setResize(a){if(a){if(uploader.features.jpgresize){uploader.settings.resize={width:resize_width,height:resize_height,quality:100}}else{uploader.settings.multipart_params.image_resize=true}}else{delete (uploader.settings.resize);delete (uploader.settings.multipart_params.image_resize)}}function prepareMediaItem(c,a){var d=(typeof shortform==&quot;undefined&quot;)?1:2,b=jQuery(&quot;#media-item
 -&quot;+c.id);try{if(typeof topWin.tb_remove!=&quot;undefined&quot;){topWin.jQuery(&quot;#TB_overlay&quot;).click(topWin.tb_remove)}}catch(g){}if(isNaN(a)||!a){b.append(a);prepareMediaItemInit(c)}else{b.load(&quot;async-upload.php&quot;,{attachment_id:a,fetch:d},function(){prepareMediaItemInit(c);updateMediaForm()})}}function prepareMediaItemInit(b){var a=jQuery(&quot;#media-item-&quot;+b.id);jQuery(&quot;.thumbnail&quot;,a).clone().attr(&quot;class&quot;,&quot;pinkynail toggle&quot;).prependTo(a);jQuery(&quot;.filename.original&quot;,a).replaceWith(jQuery(&quot;.filename.new&quot;,a));jQuery(&quot;a.delete&quot;,a).click(function(){jQuery.ajax({url:ajaxurl,type:&quot;post&quot;,success:deleteSuccess,error:deleteError,id:b.id,data:{id:this.id.replace(/[^0-9]/g,&quot;&quot;),action:&quot;trash-post&quot;,_ajax_nonce:this.href.replace(/^.*wpnonce=/,&quot;&quot;)}});return false});jQuery(&quot;a.undo&quot;,a).click(function(){jQuery.ajax({url:ajaxurl,type:&quot;post&quot;,id:b.
 id,data:{id:this.id.replace(/[^0-9]/g,&quot;&quot;),action:&quot;untrash-post&quot;,_ajax_nonce:this.href.replace(/^.*wpnonce=/,&quot;&quot;)},success:function(d,e){var c=jQuery(&quot;#media-item-&quot;+b.id);if(type=jQuery(&quot;#type-of-&quot;+b.id).val()){jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text(jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text()-0+1)}if(post_id&amp;&amp;c.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(jQuery(&quot;#attachments-count&quot;).text()-0+1)}jQuery(&quot;.filename .trashnotice&quot;,c).remove();jQuery(&quot;.filename .title&quot;,c).css(&quot;font-weight&quot;,&quot;normal&quot;);jQuery(&quot;a.undo&quot;,c).addClass(&quot;hidden&quot;);jQuery(&quot;.menu_order_input&quot;,c).show();c.css({backgroundColor:&quot;#ceb&quot;}).animate({backgroundColor:&quot;#fff&quot;},{queue:false,duration:500,complete:function(){jQuery(this).css({backgroundColor:&quot;&quot;})}}).removeClass(&quot;undo&quot;)}
 });return false});jQuery(&quot;#media-item-&quot;+b.id+&quot;.startopen&quot;).removeClass(&quot;startopen&quot;).addClass(&quot;open&quot;).find(&quot;slidetoggle&quot;).fadeIn()}function wpQueueError(a){jQuery(&quot;#media-upload-error&quot;).show().html('&lt;div class=&quot;error&quot;&gt;&lt;p&gt;'+a+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}function wpFileError(b,a){itemAjaxError(b.id,a)}function itemAjaxError(e,c){var b=jQuery(&quot;#media-item-&quot;+e),a=b.find(&quot;.filename&quot;).text(),d=b.data(&quot;last-err&quot;);if(d==e){return}b.html('&lt;div class=&quot;error-div&quot;&gt;&lt;a class=&quot;dismiss&quot; href=&quot;#&quot;&gt;'+pluploadL10n.dismiss+&quot;&lt;/a&gt;&lt;strong&gt;&quot;+pluploadL10n.error_uploading.replace(&quot;%s&quot;,jQuery.trim(a))+&quot;&lt;/strong&gt; &quot;+c+&quot;&lt;/div&gt;&quot;).data(&quot;last-err&quot;,e)}function deleteSuccess(b,d){if(b==&quot;-1&quot;){return itemAjaxError(this.id,&quot;You do not have permission. Has your session
  expired?&quot;)}if(b==&quot;0&quot;){return itemAjaxError(this.id,&quot;Could not be deleted. Has it been deleted already?&quot;)}var c=this.id,a=jQuery(&quot;#media-item-&quot;+c);if(type=jQuery(&quot;#type-of-&quot;+c).val()){jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text(jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text()-1)}if(post_id&amp;&amp;a.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(jQuery(&quot;#attachments-count&quot;).text()-1)}if(jQuery(&quot;form.type-form #media-items&quot;).children().length==1&amp;&amp;jQuery(&quot;.hidden&quot;,&quot;#media-items&quot;).length&gt;0){jQuery(&quot;.toggle&quot;).toggle();jQuery(&quot;.slidetoggle&quot;).slideUp(200).siblings().removeClass(&quot;hidden&quot;)}jQuery(&quot;.toggle&quot;,a).toggle();jQuery(&quot;.slidetoggle&quot;,a).slideUp(200).siblings().removeClass(&quot;hidden&quot;);a.css({backgroundColor:&quot;#faa&quot;}).animate({backgroundColor:&quot;#f4f4f4&quot;},{q
 ueue:false,duration:500}).addClass(&quot;undo&quot;);jQuery(&quot;.filename:empty&quot;,a).remove();jQuery(&quot;.filename .title&quot;,a).css(&quot;font-weight&quot;,&quot;bold&quot;);jQuery(&quot;.filename&quot;,a).append('&lt;span class=&quot;trashnotice&quot;&gt; '+pluploadL10n.deleted+&quot; &lt;/span&gt;&quot;).siblings(&quot;a.toggle&quot;).hide();jQuery(&quot;.filename&quot;,a).append(jQuery(&quot;a.undo&quot;,a).removeClass(&quot;hidden&quot;));jQuery(&quot;.menu_order_input&quot;,a).hide();return}function deleteError(c,b,a){}function uploadComplete(){jQuery(&quot;#insert-gallery&quot;).prop(&quot;disabled&quot;,false)}function switchUploader(a){if(a){deleteUserSetting(&quot;uploader&quot;);jQuery(&quot;.media-upload-form&quot;).removeClass(&quot;html-uploader&quot;);if(typeof(uploader)==&quot;object&quot;){uploader.refresh()}}else{setUserSetting(&quot;uploader&quot;,&quot;1&quot;);jQuery(&quot;.media-upload-form&quot;).addClass(&quot;html-uploader&quot;)}}function 
 dndHelper(a){var b=document.getElementById(&quot;dnd-helper&quot;);if(a){b.style.display=&quot;block&quot;}else{b.style.display=&quot;none&quot;}}function uploadError(d,f,c,e){var b=100*1024*1024,a;switch(f){case plupload.FAILED:wpFileError(d,pluploadL10n.upload_failed);break;case plupload.FILE_EXTENSION_ERROR:wpFileError(d,pluploadL10n.invalid_filetype);break;case plupload.FILE_SIZE_ERROR:uploadSizeError(e,d);break;case plupload.IMAGE_FORMAT_ERROR:wpFileError(d,pluploadL10n.not_an_image);break;case plupload.IMAGE_MEMORY_ERROR:wpFileError(d,pluploadL10n.image_memory_exceeded);break;case plupload.IMAGE_DIMENSIONS_ERROR:wpFileError(d,pluploadL10n.image_dimensions_exceeded);break;case plupload.GENERIC_ERROR:wpQueueError(pluploadL10n.upload_failed);break;case plupload.IO_ERROR:a=parseInt(e.settings.max_file_size,10);if(a&gt;b&amp;&amp;d.size&gt;b){wpFileError(d,pluploadL10n.big_upload_failed.replace(&quot;%1$s&quot;,'&lt;a class=&quot;uploader-html&quot; href=&quot;#&quot;&gt;')
 .replace(&quot;%2$s&quot;,&quot;&lt;/a&gt;&quot;))}else{wpQueueError(pluploadL10n.io_error)}break;case plupload.HTTP_ERROR:wpQueueError(pluploadL10n.http_error);break;case plupload.INIT_ERROR:jQuery(&quot;.media-upload-form&quot;).addClass(&quot;html-uploader&quot;);break;case plupload.SECURITY_ERROR:wpQueueError(pluploadL10n.security_error);break;default:wpFileError(d,pluploadL10n.default_error)}}function uploadSizeError(a,b,d){var c;if(d){c=pluploadL10n.big_upload_queued.replace(&quot;%s&quot;,b.name)+&quot; &quot;+pluploadL10n.big_upload_failed.replace(&quot;%1$s&quot;,'&lt;a class=&quot;uploader-html&quot; href=&quot;#&quot;&gt;').replace(&quot;%2$s&quot;,&quot;&lt;/a&gt;&quot;)}else{c=pluploadL10n.file_exceeds_size_limit.replace(&quot;%s&quot;,b.name)}jQuery(&quot;#media-items&quot;).append('&lt;div id=&quot;media-item-'+b.id+'&quot; class=&quot;media-item error&quot;&gt;&lt;p&gt;'+c+&quot;&lt;/p&gt;&lt;/div&gt;&quot;);a.removeFile(b)}jQuery(document).ready(function(a){
 a(&quot;.media-upload-form&quot;).bind(&quot;click.uploader&quot;,function(f){var d=a(f.target),b,g;if(d.is('input[type=&quot;radio&quot;]')){b=d.closest(&quot;tr&quot;);if(b.hasClass(&quot;align&quot;)){setUserSetting(&quot;align&quot;,d.val())}else{if(b.hasClass(&quot;image-size&quot;)){setUserSetting(&quot;imgsize&quot;,d.val())}}}else{if(d.is(&quot;button.button&quot;)){g=f.target.className||&quot;&quot;;g=g.match(/url([^ '&quot;]+)/);if(g&amp;&amp;g[1]){setUserSetting(&quot;urlbutton&quot;,g[1]);d.siblings(&quot;.urlfield&quot;).val(d.data(&quot;link-url&quot;))}}else{if(d.is(&quot;a.dismiss&quot;)){d.parents(&quot;.media-item&quot;).fadeOut(200,function(){a(this).remove()})}else{if(d.is(&quot;.upload-flash-bypass a&quot;)||d.is(&quot;a.uploader-html&quot;)){a(&quot;#media-items, p.submit, span.big-file-warning&quot;).css(&quot;display&quot;,&quot;none&quot;);switchUploader(0);f.preventDefault()}else{if(d.is(&quot;.upload-html-bypass a&quot;)){a(&quot;#media-items, p.su
 bmit, span.big-file-warning&quot;).css(&quot;display&quot;,&quot;&quot;);switchUploader(1);f.preventDefault()}else{if(d.is(&quot;a.describe-toggle-on&quot;)){d.parent().addClass(&quot;open&quot;);d.siblings(&quot;.slidetoggle&quot;).fadeIn(250,function(){var i=a(window).scrollTop(),e=a(window).height(),k=a(this).offset().top,j=a(this).height(),c,l;if(e&amp;&amp;k&amp;&amp;j){c=k+j;l=i+e;if(c&gt;l){if(c-l&lt;k-i){window.scrollBy(0,(c-l)+10)}else{window.scrollBy(0,k-i-40)}}}});f.preventDefault()}else{if(d.is(&quot;a.describe-toggle-off&quot;)){d.siblings(&quot;.slidetoggle&quot;).fadeOut(250,function(){d.parent().removeClass(&quot;open&quot;)});f.preventDefault()}}}}}}}});uploader_init=function(){uploader=new plupload.Uploader(wpUploaderInit);a(&quot;#image_resize&quot;).bind(&quot;change&quot;,function(){var b=a(this).prop(&quot;checked&quot;);setResize(b);if(b){setUserSetting(&quot;upload_resize&quot;,&quot;1&quot;)}else{deleteUserSetting(&quot;upload_resize&quot;)}});upload
 er.bind(&quot;Init&quot;,function(b){var c=a(&quot;#plupload-upload-ui&quot;);setResize(getUserSetting(&quot;upload_resize&quot;,false));if(b.features.dragdrop){c.addClass(&quot;drag-drop&quot;);a(&quot;#drag-drop-area&quot;).bind(&quot;dragover.wp-uploader&quot;,function(){c.addClass(&quot;drag-over&quot;)}).bind(&quot;dragleave.wp-uploader, drop.wp-uploader&quot;,function(){c.removeClass(&quot;drag-over&quot;)})}else{c.removeClass(&quot;drag-drop&quot;);a(&quot;#drag-drop-area&quot;).unbind(&quot;.wp-uploader&quot;)}});uploader.init();uploader.bind(&quot;FilesAdded&quot;,function(d,e){var c=100*1024*1024,b=parseInt(d.settings.max_file_size,10);a(&quot;#media-upload-error&quot;).html(&quot;&quot;);uploadStart();plupload.each(e,function(f){if(b&gt;c&amp;&amp;f.size&gt;c&amp;&amp;d.runtime!=&quot;html5&quot;){uploadSizeError(d,f,true)}else{fileQueued(f)}});d.refresh();d.start()});uploader.bind(&quot;BeforeUpload&quot;,function(b,c){});uploader.bind(&quot;UploadFile&quot;,func
 tion(b,c){fileUploading(b,c)});uploader.bind(&quot;UploadProgress&quot;,function(b,c){uploadProgress(b,c)});uploader.bind(&quot;Error&quot;,function(b,c){uploadError(c.file,c.code,c.message,b);b.refresh()});uploader.bind(&quot;FileUploaded&quot;,function(b,d,c){uploadSuccess(d,c.response)});uploader.bind(&quot;UploadComplete&quot;,function(b,c){uploadComplete()})};if(typeof(wpUploaderInit)==&quot;object&quot;){uploader_init()}});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsswfuploadhandlersjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/swfupload/handlers.js (20191 => 20192)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/swfupload/handlers.js        2012-03-15 13:30:28 UTC (rev 20191)
+++ trunk/wp-includes/js/swfupload/handlers.js        2012-03-15 13:58:27 UTC (rev 20192)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var topWin=window.dialogArguments||opener||parent||top;function fileDialogStart(){jQuery(&quot;#media-upload-error&quot;).empty()}function fileQueued(a){jQuery(&quot;.media-blank&quot;).remove();if(jQuery(&quot;form.type-form #media-items&quot;).children().length==1&amp;&amp;jQuery(&quot;.hidden&quot;,&quot;#media-items&quot;).length&gt;0){jQuery(&quot;.describe-toggle-on&quot;).show();jQuery(&quot;.describe-toggle-off&quot;).hide();jQuery(&quot;.slidetoggle&quot;).slideUp(200).siblings().removeClass(&quot;hidden&quot;)}jQuery(&quot;#media-items&quot;).append('&lt;div id=&quot;media-item-'+a.id+'&quot; class=&quot;media-item child-of-'+post_id+'&quot;&gt;&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;bar&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;filename original&quot;&gt;&lt;span class=&quot;percent&quot;&gt;&lt;/span&gt; '+a.name+&quot;&lt;/div&gt;&lt;/div&gt;&quot;);jQuery(&quot;.progress&quot;,&quot;#media-item-&quot;+a.id).show();jQuery
 (&quot;#insert-gallery&quot;).prop(&quot;disabled&quot;,true);jQuery(&quot;#cancel-upload&quot;).prop(&quot;disabled&quot;,false)}function uploadStart(a){try{if(typeof topWin.tb_remove!=&quot;undefined&quot;){topWin.jQuery(&quot;#TB_overlay&quot;).unbind(&quot;click&quot;,topWin.tb_remove)}}catch(b){}return true}function uploadProgress(e,b,d){var a=jQuery(&quot;#media-items&quot;).width()-2,c=jQuery(&quot;#media-item-&quot;+e.id);jQuery(&quot;.bar&quot;,c).width(a*b/d);jQuery(&quot;.percent&quot;,c).html(Math.ceil(b/d*100)+&quot;%&quot;);if(b==d){jQuery(&quot;.bar&quot;,c).html('&lt;strong class=&quot;crunching&quot;&gt;'+swfuploadL10n.crunching+&quot;&lt;/strong&gt;&quot;)}}function prepareMediaItem(c,a){var d=(typeof shortform==&quot;undefined&quot;)?1:2,b=jQuery(&quot;#media-item-&quot;+c.id);jQuery(&quot;.bar&quot;,b).remove();jQuery(&quot;.progress&quot;,b).hide();try{if(typeof topWin.tb_remove!=&quot;undefined&quot;){topWin.jQuery(&quot;#TB_overlay&quot;).click(topWin.
 tb_remove)}}catch(g){}if(isNaN(a)||!a){b.append(a);prepareMediaItemInit(c)}else{b.load(&quot;async-upload.php&quot;,{attachment_id:a,fetch:d},function(){prepareMediaItemInit(c);updateMediaForm()})}}function prepareMediaItemInit(b){var a=jQuery(&quot;#media-item-&quot;+b.id);jQuery(&quot;.thumbnail&quot;,a).clone().attr(&quot;class&quot;,&quot;pinkynail toggle&quot;).prependTo(a);jQuery(&quot;.filename.original&quot;,a).replaceWith(jQuery(&quot;.filename.new&quot;,a));jQuery(&quot;a.toggle&quot;,a).click(function(){jQuery(this).siblings(&quot;.slidetoggle&quot;).slideToggle(350,function(){var d=jQuery(window).height(),e=jQuery(this).offset().top,f=jQuery(this).height(),c;if(d&amp;&amp;e&amp;&amp;f){c=e+f;if(c&gt;d&amp;&amp;(f+48)&lt;d){window.scrollBy(0,c-d+13)}else{if(c&gt;d){window.scrollTo(0,e-36)}}}});jQuery(this).siblings(&quot;.toggle&quot;).andSelf().toggle();jQuery(this).siblings(&quot;a.toggle&quot;).focus();return false});jQuery(&quot;a.delete&quot;,a).click(functio
 n(){jQuery.ajax({url:&quot;admin-ajax.php&quot;,type:&quot;post&quot;,success:deleteSuccess,error:deleteError,id:b.id,data:{id:this.id.replace(/[^0-9]/g,&quot;&quot;),action:&quot;trash-post&quot;,_ajax_nonce:this.href.replace(/^.*wpnonce=/,&quot;&quot;)}});return false});jQuery(&quot;a.undo&quot;,a).click(function(){jQuery.ajax({url:&quot;admin-ajax.php&quot;,type:&quot;post&quot;,id:b.id,data:{id:this.id.replace(/[^0-9]/g,&quot;&quot;),action:&quot;untrash-post&quot;,_ajax_nonce:this.href.replace(/^.*wpnonce=/,&quot;&quot;)},success:function(d,e){var c=jQuery(&quot;#media-item-&quot;+b.id);if(type=jQuery(&quot;#type-of-&quot;+b.id).val()){jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text(jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text()-0+1)}if(c.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(jQuery(&quot;#attachments-count&quot;).text()-0+1)}jQuery(&quot;.filename .trashnotice&quot;,c).remove();jQuery(&quot;.filename .title&qu
 ot;,c).css(&quot;font-weight&quot;,&quot;normal&quot;);jQuery(&quot;a.undo&quot;,c).addClass(&quot;hidden&quot;);jQuery(&quot;a.describe-toggle-on, .menu_order_input&quot;,c).show();c.css({backgroundColor:&quot;#ceb&quot;}).animate({backgroundColor:&quot;#fff&quot;},{queue:false,duration:500,complete:function(){jQuery(this).css({backgroundColor:&quot;&quot;})}}).removeClass(&quot;undo&quot;)}});return false});jQuery(&quot;#media-item-&quot;+b.id+&quot;.startopen&quot;).removeClass(&quot;startopen&quot;).slideToggle(500).siblings(&quot;.toggle&quot;).toggle()}function itemAjaxError(d,b){var c=jQuery(&quot;#media-item-&quot;+d);var a=jQuery(&quot;.filename&quot;,c).text();c.html('&lt;div class=&quot;error-div&quot;&gt;&lt;a class=&quot;dismiss&quot; href=&quot;#&quot;&gt;'+swfuploadL10n.dismiss+&quot;&lt;/a&gt;&lt;strong&gt;&quot;+swfuploadL10n.error_uploading.replace(&quot;%s&quot;,a)+&quot;&lt;/strong&gt;&lt;br /&gt;&quot;+b+&quot;&lt;/div&gt;&quot;);c.find(&quot;a.dismiss&q
 uot;).click(function(){jQuery(this).parents(&quot;.media-item&quot;).slideUp(200,function(){jQuery(this).remove()})})}function deleteSuccess(b,d){if(b==&quot;-1&quot;){return itemAjaxError(this.id,&quot;You do not have permission. Has your session expired?&quot;)}if(b==&quot;0&quot;){return itemAjaxError(this.id,&quot;Could not be deleted. Has it been deleted already?&quot;)}var c=this.id,a=jQuery(&quot;#media-item-&quot;+c);if(type=jQuery(&quot;#type-of-&quot;+c).val()){jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text(jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text()-1)}if(a.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(jQuery(&quot;#attachments-count&quot;).text()-1)}if(jQuery(&quot;form.type-form #media-items&quot;).children().length==1&amp;&amp;jQuery(&quot;.hidden&quot;,&quot;#media-items&quot;).length&gt;0){jQuery(&quot;.toggle&quot;).toggle();jQuery(&quot;.slidetoggle&quot;).slideUp(200).siblings().removeClass(&quot;hidd
 en&quot;)}jQuery(&quot;.toggle&quot;,a).toggle();jQuery(&quot;.slidetoggle&quot;,a).slideUp(200).siblings().removeClass(&quot;hidden&quot;);a.css({backgroundColor:&quot;#faa&quot;}).animate({backgroundColor:&quot;#f4f4f4&quot;},{queue:false,duration:500}).addClass(&quot;undo&quot;);jQuery(&quot;.filename:empty&quot;,a).remove();jQuery(&quot;.filename .title&quot;,a).css(&quot;font-weight&quot;,&quot;bold&quot;);jQuery(&quot;.filename&quot;,a).append('&lt;span class=&quot;trashnotice&quot;&gt; '+swfuploadL10n.deleted+&quot; &lt;/span&gt;&quot;).siblings(&quot;a.toggle&quot;).hide();jQuery(&quot;.filename&quot;,a).append(jQuery(&quot;a.undo&quot;,a).removeClass(&quot;hidden&quot;));jQuery(&quot;.menu_order_input&quot;,a).hide();return}function deleteError(c,b,a){}function updateMediaForm(){var b=jQuery(&quot;form.type-form #media-items&quot;).children(),a=jQuery(&quot;#media-items&quot;).children();if(b.length==1){jQuery(&quot;.slidetoggle&quot;,b).slideDown(500).siblings().ad
 dClass(&quot;hidden&quot;).filter(&quot;.toggle&quot;).toggle()}if(a.not(&quot;.media-blank&quot;).length&gt;0){jQuery(&quot;.savebutton&quot;).show()}else{jQuery(&quot;.savebutton&quot;).hide()}if(a.length&gt;1){jQuery(&quot;.insert-gallery&quot;).show()}else{jQuery(&quot;.insert-gallery&quot;).hide()}}function uploadSuccess(b,a){if(a.match(&quot;media-upload-error&quot;)){jQuery(&quot;#media-item-&quot;+b.id).html(a);return}prepareMediaItem(b,a);updateMediaForm();if(jQuery(&quot;#media-item-&quot;+b.id).hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(1*jQuery(&quot;#attachments-count&quot;).text()+1)}}function uploadComplete(a){if(swfu.getStats().files_queued==0){jQuery(&quot;#cancel-upload&quot;).prop(&quot;disabled&quot;,true);jQuery(&quot;#insert-gallery&quot;).prop(&quot;disabled&quot;,false)}}function wpQueueError(a){jQuery(&quot;#media-upload-error&quot;).show().text(a)}function wpFileError(d,c){var b=jQuery(&quot;#media-item-&quo
 t;+d.id);var a=jQuery(&quot;.filename&quot;,b).text();b.html('&lt;div class=&quot;error-div&quot;&gt;&lt;a class=&quot;dismiss&quot; href=&quot;#&quot;&gt;'+swfuploadL10n.dismiss+&quot;&lt;/a&gt;&lt;strong&gt;&quot;+swfuploadL10n.error_uploading.replace(&quot;%s&quot;,a)+&quot;&lt;/strong&gt;&lt;br /&gt;&quot;+c+&quot;&lt;/div&gt;&quot;);b.find(&quot;a.dismiss&quot;).click(function(){jQuery(this).parents(&quot;.media-item&quot;).slideUp(200,function(){jQuery(this).remove()})})}function fileQueueError(c,a,b){if(a==SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED){wpQueueError(swfuploadL10n.queue_limit_exceeded)}else{if(a==SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT){fileQueued(c);wpFileError(c,swfuploadL10n.file_exceeds_size_limit)}else{if(a==SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE){fileQueued(c);wpFileError(c,swfuploadL10n.zero_byte_file)}else{if(a==SWFUpload.QUEUE_ERROR.INVALID_FILETYPE){fileQueued(c);wpFileError(c,swfuploadL10n.invalid_filetype)}else{wpQueueError(swfuploadL10n.de
 fault_error)}}}}}function fileDialogComplete(b){try{if(b&gt;0){this.startUpload()}}catch(a){this.debug(a)}}function switchUploader(b){var c=document.getElementById(swfu.customSettings.swfupload_element_id),a=document.getElementById(swfu.customSettings.degraded_element_id);if(b){c.style.display=&quot;block&quot;;a.style.display=&quot;none&quot;}else{c.style.display=&quot;none&quot;;a.style.display=&quot;block&quot;}}function swfuploadPreLoad(){if(!uploaderMode){switchUploader(1)}else{switchUploader(0)}}function swfuploadLoadFailed(){switchUploader(0);jQuery(&quot;.upload-html-bypass&quot;).hide()}function uploadError(b,c,a){switch(c){case SWFUpload.UPLOAD_ERROR.MISSING_UPLOAD_URL:wpFileError(b,swfuploadL10n.missing_upload_url);break;case SWFUpload.UPLOAD_ERROR.UPLOAD_LIMIT_EXCEEDED:wpFileError(b,swfuploadL10n.upload_limit_exceeded);break;case SWFUpload.UPLOAD_ERROR.HTTP_ERROR:wpQueueError(swfuploadL10n.http_error);break;case SWFUpload.UPLOAD_ERROR.UPLOAD_FAILED:wpQueueError(s
 wfuploadL10n.upload_failed);break;case SWFUpload.UPLOAD_ERROR.IO_ERROR:wpQueueError(swfuploadL10n.io_error);break;case SWFUpload.UPLOAD_ERROR.SECURITY_ERROR:wpQueueError(swfuploadL10n.security_error);break;case SWFUpload.UPLOAD_ERROR.UPLOAD_STOPPED:case SWFUpload.UPLOAD_ERROR.FILE_CANCELLED:jQuery(&quot;#media-item-&quot;+b.id).remove();break;default:wpFileError(b,swfuploadL10n.default_error)}}function cancelUpload(){swfu.cancelQueue()}jQuery(document).ready(function(a){a('input[type=&quot;radio&quot;]',&quot;#media-items&quot;).live(&quot;click&quot;,function(){var b=a(this).closest(&quot;tr&quot;);if(a(b).hasClass(&quot;align&quot;)){setUserSetting(&quot;align&quot;,a(this).val())}else{if(a(b).hasClass(&quot;image-size&quot;)){setUserSetting(&quot;imgsize&quot;,a(this).val())}}});a(&quot;button.button&quot;,&quot;#media-items&quot;).live(&quot;click&quot;,function(){var b=this.className||&quot;&quot;;b=b.match(/url([^ '&quot;]+)/);if(b&amp;&amp;b[1]){setUserSetting(&quot;u
 rlbutton&quot;,b[1]);a(this).siblings(&quot;.urlfield&quot;).val(a(this).attr(&quot;title&quot;))}})});
</del><span class="cx">\ No newline at end of file
</span><ins>+var topWin=window.dialogArguments||opener||parent||top;function fileDialogStart(){jQuery(&quot;#media-upload-error&quot;).empty()}function fileQueued(a){jQuery(&quot;.media-blank&quot;).remove();if(jQuery(&quot;form.type-form #media-items&quot;).children().length==1&amp;&amp;jQuery(&quot;.hidden&quot;,&quot;#media-items&quot;).length&gt;0){jQuery(&quot;.describe-toggle-on&quot;).show();jQuery(&quot;.describe-toggle-off&quot;).hide();jQuery(&quot;.slidetoggle&quot;).slideUp(200).siblings().removeClass(&quot;hidden&quot;)}jQuery(&quot;#media-items&quot;).append('&lt;div id=&quot;media-item-'+a.id+'&quot; class=&quot;media-item child-of-'+post_id+'&quot;&gt;&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;bar&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;filename original&quot;&gt;&lt;span class=&quot;percent&quot;&gt;&lt;/span&gt; '+a.name+&quot;&lt;/div&gt;&lt;/div&gt;&quot;);jQuery(&quot;.progress&quot;,&quot;#media-item-&quot;+a.id).show();jQuery
 (&quot;#insert-gallery&quot;).prop(&quot;disabled&quot;,true);jQuery(&quot;#cancel-upload&quot;).prop(&quot;disabled&quot;,false)}function uploadStart(a){try{if(typeof topWin.tb_remove!=&quot;undefined&quot;){topWin.jQuery(&quot;#TB_overlay&quot;).unbind(&quot;click&quot;,topWin.tb_remove)}}catch(b){}return true}function uploadProgress(e,b,d){var a=jQuery(&quot;#media-items&quot;).width()-2,c=jQuery(&quot;#media-item-&quot;+e.id);jQuery(&quot;.bar&quot;,c).width(a*b/d);jQuery(&quot;.percent&quot;,c).html(Math.ceil(b/d*100)+&quot;%&quot;);if(b==d){jQuery(&quot;.bar&quot;,c).html('&lt;strong class=&quot;crunching&quot;&gt;'+swfuploadL10n.crunching+&quot;&lt;/strong&gt;&quot;)}}function prepareMediaItem(c,a){var d=(typeof shortform==&quot;undefined&quot;)?1:2,b=jQuery(&quot;#media-item-&quot;+c.id);jQuery(&quot;.bar&quot;,b).remove();jQuery(&quot;.progress&quot;,b).hide();try{if(typeof topWin.tb_remove!=&quot;undefined&quot;){topWin.jQuery(&quot;#TB_overlay&quot;).click(topWin.
 tb_remove)}}catch(g){}if(isNaN(a)||!a){b.append(a);prepareMediaItemInit(c)}else{b.load(&quot;async-upload.php&quot;,{attachment_id:a,fetch:d},function(){prepareMediaItemInit(c);updateMediaForm()})}}function prepareMediaItemInit(b){var a=jQuery(&quot;#media-item-&quot;+b.id);jQuery(&quot;.thumbnail&quot;,a).clone().attr(&quot;class&quot;,&quot;pinkynail toggle&quot;).prependTo(a);jQuery(&quot;.filename.original&quot;,a).replaceWith(jQuery(&quot;.filename.new&quot;,a));jQuery(&quot;a.toggle&quot;,a).click(function(){jQuery(this).siblings(&quot;.slidetoggle&quot;).slideToggle(350,function(){var d=jQuery(window).height(),e=jQuery(this).offset().top,f=jQuery(this).height(),c;if(d&amp;&amp;e&amp;&amp;f){c=e+f;if(c&gt;d&amp;&amp;(f+48)&lt;d){window.scrollBy(0,c-d+13)}else{if(c&gt;d){window.scrollTo(0,e-36)}}}});jQuery(this).siblings(&quot;.toggle&quot;).andSelf().toggle();jQuery(this).siblings(&quot;a.toggle&quot;).focus();return false});jQuery(&quot;a.delete&quot;,a).click(functio
 n(){jQuery.ajax({url:ajaxurl,type:&quot;post&quot;,success:deleteSuccess,error:deleteError,id:b.id,data:{id:this.id.replace(/[^0-9]/g,&quot;&quot;),action:&quot;trash-post&quot;,_ajax_nonce:this.href.replace(/^.*wpnonce=/,&quot;&quot;)}});return false});jQuery(&quot;a.undo&quot;,a).click(function(){jQuery.ajax({url:ajaxurl,type:&quot;post&quot;,id:b.id,data:{id:this.id.replace(/[^0-9]/g,&quot;&quot;),action:&quot;untrash-post&quot;,_ajax_nonce:this.href.replace(/^.*wpnonce=/,&quot;&quot;)},success:function(d,e){var c=jQuery(&quot;#media-item-&quot;+b.id);if(type=jQuery(&quot;#type-of-&quot;+b.id).val()){jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text(jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text()-0+1)}if(c.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(jQuery(&quot;#attachments-count&quot;).text()-0+1)}jQuery(&quot;.filename .trashnotice&quot;,c).remove();jQuery(&quot;.filename .title&quot;,c).css(&quot;font-weight&quot;,&qu
 ot;normal&quot;);jQuery(&quot;a.undo&quot;,c).addClass(&quot;hidden&quot;);jQuery(&quot;a.describe-toggle-on, .menu_order_input&quot;,c).show();c.css({backgroundColor:&quot;#ceb&quot;}).animate({backgroundColor:&quot;#fff&quot;},{queue:false,duration:500,complete:function(){jQuery(this).css({backgroundColor:&quot;&quot;})}}).removeClass(&quot;undo&quot;)}});return false});jQuery(&quot;#media-item-&quot;+b.id+&quot;.startopen&quot;).removeClass(&quot;startopen&quot;).slideToggle(500).siblings(&quot;.toggle&quot;).toggle()}function itemAjaxError(d,b){var c=jQuery(&quot;#media-item-&quot;+d);var a=jQuery(&quot;.filename&quot;,c).text();c.html('&lt;div class=&quot;error-div&quot;&gt;&lt;a class=&quot;dismiss&quot; href=&quot;#&quot;&gt;'+swfuploadL10n.dismiss+&quot;&lt;/a&gt;&lt;strong&gt;&quot;+swfuploadL10n.error_uploading.replace(&quot;%s&quot;,a)+&quot;&lt;/strong&gt;&lt;br /&gt;&quot;+b+&quot;&lt;/div&gt;&quot;);c.find(&quot;a.dismiss&quot;).click(function(){jQuery(this).pa
 rents(&quot;.media-item&quot;).slideUp(200,function(){jQuery(this).remove()})})}function deleteSuccess(b,d){if(b==&quot;-1&quot;){return itemAjaxError(this.id,&quot;You do not have permission. Has your session expired?&quot;)}if(b==&quot;0&quot;){return itemAjaxError(this.id,&quot;Could not be deleted. Has it been deleted already?&quot;)}var c=this.id,a=jQuery(&quot;#media-item-&quot;+c);if(type=jQuery(&quot;#type-of-&quot;+c).val()){jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text(jQuery(&quot;#&quot;+type+&quot;-counter&quot;).text()-1)}if(a.hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(jQuery(&quot;#attachments-count&quot;).text()-1)}if(jQuery(&quot;form.type-form #media-items&quot;).children().length==1&amp;&amp;jQuery(&quot;.hidden&quot;,&quot;#media-items&quot;).length&gt;0){jQuery(&quot;.toggle&quot;).toggle();jQuery(&quot;.slidetoggle&quot;).slideUp(200).siblings().removeClass(&quot;hidden&quot;)}jQuery(&quot;.toggle&quot;,a
 ).toggle();jQuery(&quot;.slidetoggle&quot;,a).slideUp(200).siblings().removeClass(&quot;hidden&quot;);a.css({backgroundColor:&quot;#faa&quot;}).animate({backgroundColor:&quot;#f4f4f4&quot;},{queue:false,duration:500}).addClass(&quot;undo&quot;);jQuery(&quot;.filename:empty&quot;,a).remove();jQuery(&quot;.filename .title&quot;,a).css(&quot;font-weight&quot;,&quot;bold&quot;);jQuery(&quot;.filename&quot;,a).append('&lt;span class=&quot;trashnotice&quot;&gt; '+swfuploadL10n.deleted+&quot; &lt;/span&gt;&quot;).siblings(&quot;a.toggle&quot;).hide();jQuery(&quot;.filename&quot;,a).append(jQuery(&quot;a.undo&quot;,a).removeClass(&quot;hidden&quot;));jQuery(&quot;.menu_order_input&quot;,a).hide();return}function deleteError(c,b,a){}function updateMediaForm(){var b=jQuery(&quot;form.type-form #media-items&quot;).children(),a=jQuery(&quot;#media-items&quot;).children();if(b.length==1){jQuery(&quot;.slidetoggle&quot;,b).slideDown(500).siblings().addClass(&quot;hidden&quot;).filter(&quo
 t;.toggle&quot;).toggle()}if(a.not(&quot;.media-blank&quot;).length&gt;0){jQuery(&quot;.savebutton&quot;).show()}else{jQuery(&quot;.savebutton&quot;).hide()}if(a.length&gt;1){jQuery(&quot;.insert-gallery&quot;).show()}else{jQuery(&quot;.insert-gallery&quot;).hide()}}function uploadSuccess(b,a){if(a.match(&quot;media-upload-error&quot;)){jQuery(&quot;#media-item-&quot;+b.id).html(a);return}prepareMediaItem(b,a);updateMediaForm();if(jQuery(&quot;#media-item-&quot;+b.id).hasClass(&quot;child-of-&quot;+post_id)){jQuery(&quot;#attachments-count&quot;).text(1*jQuery(&quot;#attachments-count&quot;).text()+1)}}function uploadComplete(a){if(swfu.getStats().files_queued==0){jQuery(&quot;#cancel-upload&quot;).prop(&quot;disabled&quot;,true);jQuery(&quot;#insert-gallery&quot;).prop(&quot;disabled&quot;,false)}}function wpQueueError(a){jQuery(&quot;#media-upload-error&quot;).show().text(a)}function wpFileError(d,c){var b=jQuery(&quot;#media-item-&quot;+d.id);var a=jQuery(&quot;.filename&
 quot;,b).text();b.html('&lt;div class=&quot;error-div&quot;&gt;&lt;a class=&quot;dismiss&quot; href=&quot;#&quot;&gt;'+swfuploadL10n.dismiss+&quot;&lt;/a&gt;&lt;strong&gt;&quot;+swfuploadL10n.error_uploading.replace(&quot;%s&quot;,a)+&quot;&lt;/strong&gt;&lt;br /&gt;&quot;+c+&quot;&lt;/div&gt;&quot;);b.find(&quot;a.dismiss&quot;).click(function(){jQuery(this).parents(&quot;.media-item&quot;).slideUp(200,function(){jQuery(this).remove()})})}function fileQueueError(c,a,b){if(a==SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED){wpQueueError(swfuploadL10n.queue_limit_exceeded)}else{if(a==SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT){fileQueued(c);wpFileError(c,swfuploadL10n.file_exceeds_size_limit)}else{if(a==SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE){fileQueued(c);wpFileError(c,swfuploadL10n.zero_byte_file)}else{if(a==SWFUpload.QUEUE_ERROR.INVALID_FILETYPE){fileQueued(c);wpFileError(c,swfuploadL10n.invalid_filetype)}else{wpQueueError(swfuploadL10n.default_error)}}}}}function fileDialogCo
 mplete(b){try{if(b&gt;0){this.startUpload()}}catch(a){this.debug(a)}}function switchUploader(b){var c=document.getElementById(swfu.customSettings.swfupload_element_id),a=document.getElementById(swfu.customSettings.degraded_element_id);if(b){c.style.display=&quot;block&quot;;a.style.display=&quot;none&quot;}else{c.style.display=&quot;none&quot;;a.style.display=&quot;block&quot;}}function swfuploadPreLoad(){if(!uploaderMode){switchUploader(1)}else{switchUploader(0)}}function swfuploadLoadFailed(){switchUploader(0);jQuery(&quot;.upload-html-bypass&quot;).hide()}function uploadError(b,c,a){switch(c){case SWFUpload.UPLOAD_ERROR.MISSING_UPLOAD_URL:wpFileError(b,swfuploadL10n.missing_upload_url);break;case SWFUpload.UPLOAD_ERROR.UPLOAD_LIMIT_EXCEEDED:wpFileError(b,swfuploadL10n.upload_limit_exceeded);break;case SWFUpload.UPLOAD_ERROR.HTTP_ERROR:wpQueueError(swfuploadL10n.http_error);break;case SWFUpload.UPLOAD_ERROR.UPLOAD_FAILED:wpQueueError(swfuploadL10n.upload_failed);break;case
  SWFUpload.UPLOAD_ERROR.IO_ERROR:wpQueueError(swfuploadL10n.io_error);break;case SWFUpload.UPLOAD_ERROR.SECURITY_ERROR:wpQueueError(swfuploadL10n.security_error);break;case SWFUpload.UPLOAD_ERROR.UPLOAD_STOPPED:case SWFUpload.UPLOAD_ERROR.FILE_CANCELLED:jQuery(&quot;#media-item-&quot;+b.id).remove();break;default:wpFileError(b,swfuploadL10n.default_error)}}function cancelUpload(){swfu.cancelQueue()}jQuery(document).ready(function(a){a('input[type=&quot;radio&quot;]',&quot;#media-items&quot;).live(&quot;click&quot;,function(){var b=a(this).closest(&quot;tr&quot;);if(a(b).hasClass(&quot;align&quot;)){setUserSetting(&quot;align&quot;,a(this).val())}else{if(a(b).hasClass(&quot;image-size&quot;)){setUserSetting(&quot;imgsize&quot;,a(this).val())}}});a(&quot;button.button&quot;,&quot;#media-items&quot;).live(&quot;click&quot;,function(){var b=this.className||&quot;&quot;;b=b.match(/url([^ '&quot;]+)/);if(b&amp;&amp;b[1]){setUserSetting(&quot;urlbutton&quot;,b[1]);a(this).siblings(
 &quot;.urlfield&quot;).val(a(this).attr(&quot;title&quot;))}})});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesversionphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/version.php (20191 => 20192)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-03-15 13:30:28 UTC (rev 20191)
+++ trunk/wp-includes/version.php        2012-03-15 13:58:27 UTC (rev 20192)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @global string $wp_version
</span><span class="cx">  */
</span><del>-$wp_version = '3.4-alpha-20186';
</del><ins>+$wp_version = '3.4-alpha-20192';
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
</span></span></pre>
</div>
</div>

</body>
</html>