<!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>[24023] trunk: Compress scripts/styles: 3.6-beta1-24023.</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 { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { 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/24023">24023</a></dd>
<dt>Author</dt> <dd>root</dd>
<dt>Date</dt> <dd>2013-04-18 12:15:12 +0000 (Thu, 18 Apr 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.6-beta1-24023.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjspostformatsminjs">trunk/wp-admin/js/post-formats.min.js</a></li>
<li><a href="#trunkwpincludesjsautosaveminjs">trunk/wp-includes/js/autosave.min.js</a></li>
<li><a href="#trunkwpincludesversionphp">trunk/wp-includes/version.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminjspostformatsminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/post-formats.min.js (24022 => 24023)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/post-formats.min.js        2013-04-17 20:58:42 UTC (rev 24022)
+++ trunk/wp-admin/js/post-formats.min.js        2013-04-18 12:15:12 UTC (rev 24023)
</span><span class="lines">@@ -1 +1 @@
</span><del>-window.wp=window.wp||{};(function(e){var a,b,f,j,d,h=[&quot;standard&quot;,&quot;chat&quot;,&quot;status&quot;,&quot;aside&quot;,&quot;gallery&quot;],i=e(&quot;.post-formats-fields&quot;);function c(k){a.get(0).className=a.get(0).className.replace(/\bwp-format-[^ ]+/g,&quot;&quot;);a.addClass(&quot;wp-format-&quot;+k)}function g(q){var m,k,l=q.parent(),p=q.data(&quot;wp-format&quot;),n=e(&quot;.post-format-description&quot;),o=e(&quot;#title&quot;);if(typeof a===&quot;undefined&quot;){a=e(&quot;#post-body-content&quot;)}l.slideUp().find(&quot;a.active&quot;).removeClass(&quot;active&quot;);q.addClass(&quot;active&quot;);e(&quot;#post_format&quot;).val(p);e(&quot;.post-format-change&quot;).show().find(&quot;span.icon&quot;).removeClass(postFormats.currentPostFormat).addClass(p);if(-1&lt;e.inArray(p,h)){c(p);i.hide()}else{i.slideUp(200,function(){c(p);i.slideDown(400)})}o.focus();if(&quot;&quot;===o.val()){e(&quot;#title-prompt-text&quot;).removeClass(&quot;screen-
 reader-t
 ext&quot;)}n.html(q.data(&quot;description&quot;));if(n.not(&quot;:visible&quot;)){n.slideDown(&quot;fast&quot;)}if(typeof tinymce!=&quot;undefined&quot;){m=tinymce.get(&quot;content&quot;);if(m){k=m.getBody();k.className=k.className.replace(/\bpost-format-[^ ]+/,&quot;&quot;);m.dom.addClass(k,&quot;post-format-&quot;+p)}}postFormats.currentPostFormat=p}e(function(){e(&quot;.post-format-change a&quot;).click(function(){e(&quot;.post-formats-fields, .post-format-change&quot;).slideUp();e(&quot;.post-format-options&quot;).slideDown();return false});e(&quot;.post-format-options&quot;).on(&quot;click&quot;,&quot;a&quot;,function(k){k.preventDefault();g(e(this))});e(&quot;.wp-format-media-select&quot;).click(function(m){m.preventDefault();var k=e(this),o,n=k.closest(&quot;.wp-format-media-holder&quot;),l=e(&quot;#wp_format_&quot;+n.data(&quot;format&quot;));o=n.data(&quot;format&quot;);if(b&amp;&amp;f===o){b.open();return}f=o;b=wp.media.frames.formatMedia=wp.media({title:k.data(&
 quot;cho
 ose&quot;),library:{type:o},button:{text:k.data(&quot;update&quot;)}});d=function(v){var p,r,s=&quot;&quot;,q=v.url,t=v.mime,u=v.type;if(&quot;video&quot;===u){if(v.width){p=v.width;if(p&gt;600){p=600}s+=' width=&quot;'+p+'&quot;'}if(v.height){r=v.height;if(v.width&amp;&amp;p&lt;v.width){r=Math.round((r*p)/v.width)}s+=' height=&quot;'+r+'&quot;'}}e(&quot;#&quot;+u+&quot;-preview&quot;).remove();n.parent().prepend('&lt;div id=&quot;'+u+'-preview&quot; class=&quot;wp-format-media-preview&quot;&gt;&lt;'+u+s+' class=&quot;wp-'+u+'-shortcode&quot; controls=&quot;controls&quot; preload=&quot;none&quot;&gt;&lt;source type=&quot;'+t+'&quot; src=&quot;'+q+'&quot; /&gt;&lt;/'+u+&quot;&gt;&lt;/div&gt;&quot;);e(&quot;.wp-&quot;+u+&quot;-shortcode&quot;).mediaelementplayer()};b.on(&quot;select&quot;,function(){var p=0,r=0,q,s=b.state().get(&quot;selection&quot;).first().toJSON();if(0===s.mime.indexOf(&quot;audio&quot;)){l.val(s.url);d(s)}else{if(0===s.mime.indexOf(&quot;video&quot;)){s.s
 rc=s.url
 ;l.val(wp.shortcode.string({tag:&quot;video&quot;,attrs:_.pick(s,&quot;src&quot;,&quot;width&quot;,&quot;height&quot;)}));d(s)}else{q=wp.media.string.image({},s);l.val(q);e(&quot;#image-preview&quot;).remove();if(s.width){p=s.width&gt;600?600:s.width}if(s.height){r=s.height}if(p&lt;s.width){r=Math.round((r*p)/s.width)}n.parent().prepend(['&lt;div id=&quot;image-preview&quot; class=&quot;wp-format-media-preview&quot;&gt;','&lt;img src=&quot;',s.url,'&quot;',p?' width=&quot;'+p+'&quot;':&quot;&quot;,r?' height=&quot;'+r+'&quot;':&quot;&quot;,&quot; /&gt;&quot;,&quot;&lt;/div&gt;&quot;].join(&quot;&quot;))}}});b.open()})})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+window.wp=window.wp||{};(function(e){var a,b,f,d,h=[&quot;standard&quot;,&quot;chat&quot;,&quot;status&quot;,&quot;aside&quot;,&quot;gallery&quot;],i=e(&quot;.post-formats-fields&quot;);function c(j){a.get(0).className=a.get(0).className.replace(/\bwp-format-[^ ]+/g,&quot;&quot;);a.addClass(&quot;wp-format-&quot;+j)}function g(p){var l,j,k=p.parent(),o=p.data(&quot;wp-format&quot;),m=e(&quot;.post-format-description&quot;),n=e(&quot;#title&quot;);if(typeof a===&quot;undefined&quot;){a=e(&quot;#post-body-content&quot;)}k.slideUp().find(&quot;a.active&quot;).removeClass(&quot;active&quot;);p.addClass(&quot;active&quot;);e(&quot;#post_format&quot;).val(o);e(&quot;.post-format-change&quot;).show().find(&quot;span.icon&quot;).removeClass(postFormats.currentPostFormat).addClass(o);if(-1&lt;e.inArray(o,h)){c(o);i.hide()}else{i.slideUp(200,function(){c(o);i.slideDown(400)})}n.focus();if(&quot;&quot;===n.val()){e(&quot;#title-prompt-text&quot;).removeClass(&quot;screen-re
 ader-tex
 t&quot;)}m.html(p.data(&quot;description&quot;));if(m.not(&quot;:visible&quot;)){m.slideDown(&quot;fast&quot;)}if(typeof tinymce!=&quot;undefined&quot;){l=tinymce.get(&quot;content&quot;);if(l){j=l.getBody();j.className=j.className.replace(/\bpost-format-[^ ]+/,&quot;&quot;);l.dom.addClass(j,&quot;post-format-&quot;+o)}}postFormats.currentPostFormat=o}e(function(){e(&quot;.post-format-change a&quot;).click(function(){e(&quot;.post-formats-fields, .post-format-change&quot;).slideUp();e(&quot;.post-format-options&quot;).slideDown();return false});e(&quot;.post-format-options&quot;).on(&quot;click&quot;,&quot;a&quot;,function(j){j.preventDefault();g(e(this))});e(&quot;.wp-format-media-select&quot;).click(function(l){l.preventDefault();var j=e(this),n=&quot;image&quot;,m=j.closest(&quot;.wp-format-media-holder&quot;),k=e(&quot;#wp_format_&quot;+m.data(&quot;format&quot;));n=m.data(&quot;format&quot;);if(b&amp;&amp;f===n){b.open();return}f=n;b=wp.media.frames.formatMedia=wp.media
 ({title:
 j.data(&quot;choose&quot;),library:{type:n},button:{text:j.data(&quot;update&quot;)}});d=function(u){var o,q,r=&quot;&quot;,p=u.url,s=u.mime,t=u.type;if(&quot;video&quot;===t){if(u.width){o=u.width;if(o&gt;600){o=600}r+=' width=&quot;'+o+'&quot;'}if(u.height){q=u.height;if(u.width&amp;&amp;o&lt;u.width){q=Math.round((q*o)/u.width)}r+=' height=&quot;'+q+'&quot;'}}e(&quot;#&quot;+t+&quot;-preview&quot;).remove();m.parent().prepend('&lt;div id=&quot;'+t+'-preview&quot; class=&quot;wp-format-media-preview&quot;&gt;&lt;'+t+r+' class=&quot;wp-'+t+'-shortcode&quot; controls=&quot;controls&quot; preload=&quot;none&quot;&gt;&lt;source type=&quot;'+s+'&quot; src=&quot;'+p+'&quot; /&gt;&lt;/'+t+&quot;&gt;&lt;/div&gt;&quot;);e(&quot;.wp-&quot;+t+&quot;-shortcode&quot;).mediaelementplayer()};b.on(&quot;select&quot;,function(){var o=0,q=0,p,r=b.state().get(&quot;selection&quot;).first().toJSON();if(0===r.mime.indexOf(&quot;audio&quot;)){k.val(r.url);d(r)}else{if(0===r.mime.indexOf(&quot;v
 ideo&quo
 t;)){r.src=r.url;k.val(wp.shortcode.string({tag:&quot;video&quot;,attrs:_.pick(r,&quot;src&quot;,&quot;width&quot;,&quot;height&quot;)}));d(r)}else{p=wp.media.string.image({},r);k.val(p);e(&quot;#image-preview&quot;).remove();if(r.width){o=r.width&gt;600?600:r.width}if(r.height){q=r.height}if(o&lt;r.width){q=Math.round((q*o)/r.width)}m.parent().prepend(['&lt;div id=&quot;image-preview&quot; class=&quot;wp-format-media-preview&quot;&gt;','&lt;img src=&quot;',r.url,'&quot;',o?' width=&quot;'+o+'&quot;':&quot;&quot;,q?' height=&quot;'+q+'&quot;':&quot;&quot;,&quot; /&gt;&quot;,&quot;&lt;/div&gt;&quot;].join(&quot;&quot;))}}});b.open()})})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsautosaveminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/autosave.min.js (24022 => 24023)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/autosave.min.js        2013-04-17 20:58:42 UTC (rev 24022)
+++ trunk/wp-includes/js/autosave.min.js        2013-04-18 12:15:12 UTC (rev 24023)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var autosave,autosaveLast=&quot;&quot;,autosavePeriodical,autosaveDelayPreview=false,notSaved=true,blockSave=false,fullscreen,autosaveLockRelease=true;jQuery(document).ready(function(a){autosaveLast=(a(&quot;#post #title&quot;).val()||&quot;&quot;)+(a(&quot;#post #content&quot;).val()||&quot;&quot;);autosavePeriodical=a.schedule({time:autosaveL10n.autosaveInterval*1000,func:function(){autosave()},repeat:true,protect:true});a(&quot;#post&quot;).submit(function(){a.cancel(autosavePeriodical);autosaveLockRelease=false});a('input[type=&quot;submit&quot;], a.submitdelete',&quot;#submitpost&quot;).click(function(){blockSave=true;window.onbeforeunload=null;a(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).each(function(){var b=a(this);if(b.hasClass(&quot;button-primary&quot;)){b.addClass(&quot;button-primary-disabled&quot;)}else{b.addClass(&quot;button-disabled&quot;)}});if(a(this).attr(&quot;id&quot;)==&quot;publish&quot;){a(&quot;#major-publishing-actions .spinn
 er&quot;
 ).show()}else{a(&quot;#minor-publishing .spinner&quot;).show()}});window.onbeforeunload=function(){var b=typeof(tinymce)!=&quot;undefined&quot;?tinymce.activeEditor:false,d,c;if(b&amp;&amp;!b.isHidden()){if(b.isDirty()){return autosaveL10n.saveAlert}}else{if(fullscreen&amp;&amp;fullscreen.settings.visible){d=a(&quot;#wp-fullscreen-title&quot;).val()||&quot;&quot;;c=a(&quot;#wp_mce_fullscreen&quot;).val()||&quot;&quot;}else{d=a(&quot;#post #title&quot;).val()||&quot;&quot;;c=a(&quot;#post #content&quot;).val()||&quot;&quot;}if((d||c)&amp;&amp;d+c!=autosaveLast){return autosaveL10n.saveAlert}}};a(window).unload(function(b){if(!autosaveLockRelease){return}if(b.target&amp;&amp;b.target.nodeName!=&quot;#document&quot;){return}a.ajax({type:&quot;POST&quot;,url:ajaxurl,async:false,data:{action:&quot;wp-remove-post-lock&quot;,_wpnonce:a(&quot;#_wpnonce&quot;).val(),post_ID:a(&quot;#post_ID&quot;).val(),active_post_lock:a(&quot;#active_post_lock&quot;).val()}})});a(&quot;#post-previe
 w&quot;)
 .click(function(){if(a(&quot;#auto_draft&quot;).val()==&quot;1&quot;&amp;&amp;notSaved){autosaveDelayPreview=true;autosave();return false}doPreview();return false});doPreview=function(){a(&quot;input#wp-preview&quot;).val(&quot;dopreview&quot;);a(&quot;form#post&quot;).attr(&quot;target&quot;,&quot;wp-preview&quot;).submit().attr(&quot;target&quot;,&quot;&quot;);var b=navigator.userAgent.toLowerCase();if(b.indexOf(&quot;safari&quot;)!=-1&amp;&amp;b.indexOf(&quot;chrome&quot;)==-1){a(&quot;form#post&quot;).attr(&quot;action&quot;,function(c,d){return d+&quot;?t=&quot;+new Date().getTime()})}a(&quot;input#wp-preview&quot;).val(&quot;&quot;)};a(&quot;#title&quot;).on(&quot;keydown.editor-focus&quot;,function(c){var b;if(c.which!=9){return}if(!c.ctrlKey&amp;&amp;!c.altKey&amp;&amp;!c.shiftKey){if(typeof(tinymce)!=&quot;undefined&quot;){b=tinymce.get(&quot;content&quot;)}if(b&amp;&amp;!b.isHidden()){a(this).one(&quot;keyup&quot;,function(d){a(&quot;#content_tbl td.mceToolbar &gt;
  a&quot;
 ).focus()})}else{a(&quot;#content&quot;).focus()}c.preventDefault()}});if(&quot;1&quot;==a(&quot;#auto_draft&quot;).val()){a(&quot;#title&quot;).blur(function(){if(!this.value||a(&quot;#auto_draft&quot;).val()!=&quot;1&quot;){return}delayed_autosave()})}a(document).on(&quot;heartbeat-connection-lost.autosave&quot;,function(){autosave_disable_buttons();a(&quot;#lost-connection-notice&quot;).show()}).on(&quot;heartbeat-connection-restored.autosave&quot;,function(){autosave_enable_buttons();a(&quot;#lost-connection-notice&quot;).hide()})});function autosave_parse_response(b){var d=wpAjax.parseAjaxResponse(b,&quot;autosave&quot;),c,a;if(d&amp;&amp;d.responses&amp;&amp;d.responses.length){if(d.responses[0].supplemental){a=d.responses[0].supplemental;jQuery.each(a,function(e,f){if(e.match(/^replace-/)){jQuery(&quot;#&quot;+e.replace(&quot;replace-&quot;,&quot;&quot;)).val(f)}})}if(!d.errors){if(c=parseInt(d.responses[0].id,10)){autosave_update_slug(c)}if(d.responses[0].data){jQuer
 y(&quot;
 .autosave-message&quot;).text(d.responses[0].data)}}}return d}function autosave_saved(a){blockSave=false;autosave_parse_response(a);autosave_enable_buttons()}function autosave_saved_new(a){blockSave=false;var c=autosave_parse_response(a),b;if(c&amp;&amp;c.responses.length&amp;&amp;!c.errors){b=parseInt(c.responses[0].id,10);if(b){notSaved=false;jQuery(&quot;#auto_draft&quot;).val(&quot;0&quot;)}autosave_enable_buttons();if(autosaveDelayPreview){autosaveDelayPreview=false;doPreview()}}else{autosave_enable_buttons()}}function autosave_update_slug(a){if(&quot;undefined&quot;!=makeSlugeditClickable&amp;&amp;jQuery.isFunction(makeSlugeditClickable)&amp;&amp;!jQuery(&quot;#edit-slug-box &gt; *&quot;).size()){jQuery.post(ajaxurl,{action:&quot;sample-permalink&quot;,post_id:a,new_title:fullscreen&amp;&amp;fullscreen.settings.visible?jQuery(&quot;#wp-fullscreen-title&quot;).val():jQuery(&quot;#title&quot;).val(),samplepermalinknonce:jQuery(&quot;#samplepermalinknonce&quot;).val()},fu
 nction(c
 ){if(c!==&quot;-1&quot;){var b=jQuery(&quot;#edit-slug-box&quot;);b.html(c);if(b.hasClass(&quot;hidden&quot;)){b.fadeIn(&quot;fast&quot;,function(){b.removeClass(&quot;hidden&quot;)})}makeSlugeditClickable()}})}}function autosave_loading(){jQuery(&quot;.autosave-message&quot;).html(autosaveL10n.savingText)}function autosave_enable_buttons(){if(!wp.heartbeat.connectionLost){setTimeout(function(){var a=jQuery(&quot;#submitpost&quot;);a.find(&quot;:button, :submit&quot;).removeAttr(&quot;disabled&quot;);a.find(&quot;.spinner&quot;).hide()},500)}}function autosave_disable_buttons(){jQuery(&quot;#submitpost&quot;).find(&quot;:button, :submit&quot;).prop(&quot;disabled&quot;,true);setTimeout(autosave_enable_buttons,5000)}function delayed_autosave(){setTimeout(function(){if(blockSave){return}autosave()},200)}autosave=function(){blockSave=true;var c=(typeof tinymce!=&quot;undefined&quot;)&amp;&amp;tinymce.activeEditor&amp;&amp;!tinymce.activeEditor.isHidden(),d,f,b,e,a;autosave_disa
 ble_butt
 ons();d=wp.autosave.getPostData();f=d.autosave;if(jQuery(&quot;#TB_window&quot;).css(&quot;display&quot;)==&quot;block&quot;){f=false}if((d.post_title.length==0&amp;&amp;d.content.length==0)||d.post_title+d.content==autosaveLast){f=false}if(f){autosaveLast=d.post_title+d.content;jQuery(document).triggerHandler(&quot;wpcountwords&quot;,[d.content])}else{d.autosave=0}if(d.auto_draft==&quot;1&quot;){a=autosave_saved_new}else{a=autosave_saved}jQuery.ajax({data:d,beforeSend:f?autosave_loading:null,type:&quot;POST&quot;,url:ajaxurl,success:a})};window.wp=window.wp||{};wp.autosave=wp.autosave||{};(function(a){wp.autosave.getPostData=function(){var c=typeof tinymce!=&quot;undefined&quot;?tinymce.activeEditor:null,e,g,b,d=[],f={action:&quot;autosave&quot;,autosave:true,post_id:a(&quot;#post_ID&quot;).val()||0,autosavenonce:a(&quot;#autosavenonce&quot;).val()||&quot;&quot;,post_type:a(&quot;#post_type&quot;).val()||&quot;&quot;,post_author:a(&quot;#post_author&quot;).val()||&quot;&quo
 t;,excer
 pt:a(&quot;#excerpt&quot;).val()||&quot;&quot;};if(c&amp;&amp;!c.isHidden()){if(c.plugins.spellchecker&amp;&amp;c.plugins.spellchecker.active){f.autosave=false;return f}else{if(&quot;mce_fullscreen&quot;==c.id){tinymce.get(&quot;content&quot;).setContent(c.getContent({format:&quot;raw&quot;}),{format:&quot;raw&quot;})}tinymce.triggerSave()}}if(typeof fullscreen!=&quot;undefined&quot;&amp;&amp;fullscreen.settings.visible){f.post_title=a(&quot;#wp-fullscreen-title&quot;).val()||&quot;&quot;;f.content=a(&quot;#wp_mce_fullscreen&quot;).val()||&quot;&quot;}else{f.post_title=a(&quot;#title&quot;).val()||&quot;&quot;;f.content=a(&quot;#content&quot;).val()||&quot;&quot;}a('input[id^=&quot;in-category-&quot;]:checked').each(function(){d.push(this.value)});f.catslist=d.join(&quot;,&quot;);if(e=a(&quot;#post_name&quot;).val()){f.post_name=e}if(g=a(&quot;#parent_id&quot;).val()){f.parent_id=g}if(a(&quot;#comment_status&quot;).prop(&quot;checked&quot;)){f.comment_status=&quot;open&quot;
 }if(a(&q
 uot;#ping_status&quot;).prop(&quot;checked&quot;)){f.ping_status=&quot;open&quot;}if(a(&quot;#auto_draft&quot;).val()==&quot;1&quot;){f.auto_draft=&quot;1&quot;}b=a(&quot;#post_format&quot;).val()||&quot;&quot;;f.post_format=b==&quot;standard&quot;?&quot;&quot;:b;a(&quot;.post-formats-fields&quot;).find('input[name^=&quot;_wp_format_&quot;], textarea[name^=&quot;_wp_format_&quot;]').each(function(h,j){f[j.name]=j.value||&quot;&quot;});return f};wp.autosave.local={lastsaveddata:&quot;&quot;,blog_id:0,ajaxurl:window.ajaxurl||&quot;wp-admin/admin-ajax.php&quot;,hasStorage:false,checkStorage:function(){var d=Math.random(),b=false;try{sessionStorage.setItem(&quot;wp-test&quot;,d);b=sessionStorage.getItem(&quot;wp-test&quot;)==d;sessionStorage.removeItem(&quot;wp-test&quot;)}catch(c){}this.hasStorage=b;return b},getStorage:function(){var b=false;if(this.hasStorage&amp;&amp;this.blog_id){b=sessionStorage.getItem(&quot;wp-autosave-&quot;+this.blog_id);if(b){b=JSON.parse(b)}else{b={}
 }}return
  b},setStorage:function(b){var c;if(this.hasStorage&amp;&amp;this.blog_id){c=&quot;wp-autosave-&quot;+this.blog_id;sessionStorage.setItem(c,JSON.stringify(b));return sessionStorage.getItem(c)!==null}return false},getData:function(){var c=this.getStorage(),b=a(&quot;#post_ID&quot;).val();if(!c||!b){return false}return c[&quot;post_&quot;+b]||false},setData:function(b){var d=this.getStorage(),c=a(&quot;#post_ID&quot;).val();if(!d||!c){return false}if(b){d[&quot;post_&quot;+c]=b}else{if(d.hasOwnProperty(&quot;post_&quot;+c)){delete d[&quot;post_&quot;+c]}else{return false}}return this.setStorage(d)},save:function(c){var b=false;if(!c){post_data=wp.autosave.getPostData()}else{post_data=this.getData()||{};a.extend(post_data,c)}if(post_data.post_title+&quot;: &quot;+post_data.content==this.lastsaveddata){return false}if(!post_data.autosave){return false}post_data.save_time=(new Date()).getTime();post_data.status=a(&quot;#post_status&quot;).val()||&quot;&quot;;b=this.setData(post_d
 ata);if(
 typeof console!=&quot;undefined&quot;){console.log(&quot;Local autosave: saved, post content = %s&quot;,post_data.content)}if(b){this.lastsaveddata=post_data.post_title+&quot;: &quot;+post_data.content}return b},init:function(c){var b=this;if(&quot;post&quot;!=window.pagenow||!this.checkStorage()){return}if(typeof switchEditors==&quot;undefined&quot;){return}if(c){a.extend(this,c)}if(!this.blog_id){this.blog_id=typeof window.autosaveL10n!=&quot;undefined&quot;?window.autosaveL10n.blog_id:0}this.checkPost();a(document).ready(function(){b.run()})},run:function(){var b=this,c;if(!this.lastsaveddata){c=wp.autosave.getPostData();if(c.content&amp;&amp;a(&quot;#wp-content-wrap&quot;).hasClass(&quot;tmce-active&quot;)){this.lastsaveddata=c.post_title+&quot;: &quot;+switchEditors.pre_wpautop(c.content)}else{this.lastsaveddata=c.post_title+&quot;: &quot;+c.content}}this.schedule=a.schedule({time:15*1000,func:function(){wp.autosave.local.save()},repeat:true,protect:true});a(&quot;form#
 post&quo
 t;).on(&quot;submit.autosave-local&quot;,function(){var e=typeof tinymce!=&quot;undefined&quot;&amp;&amp;tinymce.get(&quot;content&quot;),d=a(&quot;#post_ID&quot;).val()||0;if(e&amp;&amp;!e.isHidden()){e.onSubmit.add(function(){wp.autosave.local.save({post_title:a(&quot;#title&quot;).val()||&quot;&quot;,content:a(&quot;#content&quot;).val()||&quot;&quot;,excerpt:a(&quot;#excerpt&quot;).val()||&quot;&quot;})})}else{b.save({post_title:a(&quot;#title&quot;).val()||&quot;&quot;,content:a(&quot;#content&quot;).val()||&quot;&quot;,excerpt:a(&quot;#excerpt&quot;).val()||&quot;&quot;})}wpCookies.set(&quot;wp-saving-post-&quot;+d,&quot;check&quot;)})},compare:function(d,c){function b(e){return e.toString().replace(/[\x20\t\r\n\f]+/g,&quot;&quot;)}return(b(d||&quot;&quot;)==b(c||&quot;&quot;))},checkPost:function(){var b=this,i=this.getData(),f,h,e=false,g,c=a(&quot;#post_ID&quot;).val()||0,d=wpCookies.get(&quot;wp-saving-post-&quot;+c);if(typeof console!=&quot;undefined&quot;){consol
 e.log(&q
 uot;Local autosave: checkPost, cookie = %s, post content = %s&quot;,d,i&amp;&amp;i.content)}if(!i){return}if(d){wpCookies.remove(&quot;wp-saving-post-&quot;+c);if(d==&quot;saved&quot;){this.setData(false);return}}if(a(&quot;#has-newer-autosave&quot;).length){return}if(d!=&quot;check&quot;){f=a(&quot;#content&quot;).val();h=a.extend({},i);if(a(&quot;#wp-content-wrap&quot;).hasClass(&quot;tmce-active&quot;)){f=switchEditors.pre_wpautop(f)}if(this.compare(f,h.content)&amp;&amp;this.compare(a(&quot;#title&quot;).val(),h.post_title)&amp;&amp;this.compare(a(&quot;#excerpt&quot;).val(),h.excerpt)){return}}this.restore_post_data=i;this.undo_post_data=wp.autosave.getPostData();g=a(&quot;#local-storage-notice&quot;);a(&quot;form#post&quot;).before(g.addClass(&quot;updated&quot;).show());g.on(&quot;click&quot;,function(k){var j=a(k.target);if(j.hasClass(&quot;restore-backup&quot;)){b.restorePost(b.restore_post_data);j.parent().hide();a(this).find(&quot;p.undo-restore&quot;).show()}else
 {if(j.ha
 sClass(&quot;undo-restore-backup&quot;)){b.restorePost(b.undo_post_data);j.parent().hide();a(this).find(&quot;p.local-restore&quot;).show()}}k.preventDefault()})},restorePost:function(c){var b;if(c){this.lastsaveddata=c.post_title+&quot;: &quot;+c.content;if(a(&quot;#title&quot;).val()!=c.post_title){a(&quot;#title&quot;).focus().val(c.post_title||&quot;&quot;)}a(&quot;#excerpt&quot;).val(c.excerpt||&quot;&quot;);b=typeof tinymce!=&quot;undefined&quot;&amp;&amp;tinymce.get(&quot;content&quot;);if(b&amp;&amp;!b.isHidden()){b.undoManager.add();b.setContent(c.content?switchEditors.wpautop(c.content):&quot;&quot;)}else{a(&quot;#content-html&quot;).click();a(&quot;#content&quot;).val(c.content)}return true}return false}};wp.autosave.local.init()}(jQuery));
</del><span class="cx">\ No newline at end of file
</span><ins>+var autosave,autosaveLast=&quot;&quot;,autosavePeriodical,autosaveDelayPreview=false,notSaved=true,blockSave=false,fullscreen,autosaveLockRelease=true;jQuery(document).ready(function(a){autosaveLast=(a(&quot;#post #title&quot;).val()||&quot;&quot;)+(a(&quot;#post #content&quot;).val()||&quot;&quot;);autosavePeriodical=a.schedule({time:autosaveL10n.autosaveInterval*1000,func:function(){autosave()},repeat:true,protect:true});a(&quot;#post&quot;).submit(function(){a.cancel(autosavePeriodical);autosaveLockRelease=false});a('input[type=&quot;submit&quot;], a.submitdelete',&quot;#submitpost&quot;).click(function(){blockSave=true;window.onbeforeunload=null;a(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).each(function(){var b=a(this);if(b.hasClass(&quot;button-primary&quot;)){b.addClass(&quot;button-primary-disabled&quot;)}else{b.addClass(&quot;button-disabled&quot;)}});if(a(this).attr(&quot;id&quot;)==&quot;publish&quot;){a(&quot;#major-publishing-actions .spinn
 er&quot;
 ).show()}else{a(&quot;#minor-publishing .spinner&quot;).show()}});window.onbeforeunload=function(){var b=typeof(tinymce)!=&quot;undefined&quot;?tinymce.activeEditor:false,d,c;if(b&amp;&amp;!b.isHidden()){if(b.isDirty()){return autosaveL10n.saveAlert}}else{if(fullscreen&amp;&amp;fullscreen.settings.visible){d=a(&quot;#wp-fullscreen-title&quot;).val()||&quot;&quot;;c=a(&quot;#wp_mce_fullscreen&quot;).val()||&quot;&quot;}else{d=a(&quot;#post #title&quot;).val()||&quot;&quot;;c=a(&quot;#post #content&quot;).val()||&quot;&quot;}if((d||c)&amp;&amp;d+c!=autosaveLast){return autosaveL10n.saveAlert}}};a(window).unload(function(b){if(!autosaveLockRelease){return}if(b.target&amp;&amp;b.target.nodeName!=&quot;#document&quot;){return}a.ajax({type:&quot;POST&quot;,url:ajaxurl,async:false,data:{action:&quot;wp-remove-post-lock&quot;,_wpnonce:a(&quot;#_wpnonce&quot;).val(),post_ID:a(&quot;#post_ID&quot;).val(),active_post_lock:a(&quot;#active_post_lock&quot;).val()}})});a(&quot;#post-previe
 w&quot;)
 .click(function(){if(a(&quot;#auto_draft&quot;).val()==&quot;1&quot;&amp;&amp;notSaved){autosaveDelayPreview=true;autosave();return false}doPreview();return false});doPreview=function(){a(&quot;input#wp-preview&quot;).val(&quot;dopreview&quot;);a(&quot;form#post&quot;).attr(&quot;target&quot;,&quot;wp-preview&quot;).submit().attr(&quot;target&quot;,&quot;&quot;);var b=navigator.userAgent.toLowerCase();if(b.indexOf(&quot;safari&quot;)!=-1&amp;&amp;b.indexOf(&quot;chrome&quot;)==-1){a(&quot;form#post&quot;).attr(&quot;action&quot;,function(c,d){return d+&quot;?t=&quot;+new Date().getTime()})}a(&quot;input#wp-preview&quot;).val(&quot;&quot;)};a(&quot;#title&quot;).on(&quot;keydown.editor-focus&quot;,function(c){var b;if(c.which!=9){return}if(!c.ctrlKey&amp;&amp;!c.altKey&amp;&amp;!c.shiftKey){if(typeof(tinymce)!=&quot;undefined&quot;){b=tinymce.get(&quot;content&quot;)}if(b&amp;&amp;!b.isHidden()){a(this).one(&quot;keyup&quot;,function(d){a(&quot;#content_tbl td.mceToolbar &gt;
  a&quot;
 ).focus()})}else{a(&quot;#content&quot;).focus()}c.preventDefault()}});if(&quot;1&quot;==a(&quot;#auto_draft&quot;).val()){a(&quot;#title&quot;).blur(function(){if(!this.value||a(&quot;#auto_draft&quot;).val()!=&quot;1&quot;){return}delayed_autosave()})}a(document).on(&quot;heartbeat-connection-lost.autosave&quot;,function(){autosave_disable_buttons();a(&quot;#lost-connection-notice&quot;).show()}).on(&quot;heartbeat-connection-restored.autosave&quot;,function(){autosave_enable_buttons();a(&quot;#lost-connection-notice&quot;).hide()})});function autosave_parse_response(b){var d=wpAjax.parseAjaxResponse(b,&quot;autosave&quot;),c,a;if(d&amp;&amp;d.responses&amp;&amp;d.responses.length){if(d.responses[0].supplemental){a=d.responses[0].supplemental;jQuery.each(a,function(e,f){if(e.match(/^replace-/)){jQuery(&quot;#&quot;+e.replace(&quot;replace-&quot;,&quot;&quot;)).val(f)}})}if(!d.errors){if(c=parseInt(d.responses[0].id,10)){autosave_update_slug(c)}if(d.responses[0].data){jQuer
 y(&quot;
 .autosave-message&quot;).text(d.responses[0].data)}}}return d}function autosave_saved(a){blockSave=false;autosave_parse_response(a);autosave_enable_buttons()}function autosave_saved_new(a){blockSave=false;var c=autosave_parse_response(a),b;if(c&amp;&amp;c.responses.length&amp;&amp;!c.errors){b=parseInt(c.responses[0].id,10);if(b){notSaved=false;jQuery(&quot;#auto_draft&quot;).val(&quot;0&quot;)}autosave_enable_buttons();if(autosaveDelayPreview){autosaveDelayPreview=false;doPreview()}}else{autosave_enable_buttons()}}function autosave_update_slug(a){if(&quot;undefined&quot;!=makeSlugeditClickable&amp;&amp;jQuery.isFunction(makeSlugeditClickable)&amp;&amp;!jQuery(&quot;#edit-slug-box &gt; *&quot;).size()){jQuery.post(ajaxurl,{action:&quot;sample-permalink&quot;,post_id:a,new_title:fullscreen&amp;&amp;fullscreen.settings.visible?jQuery(&quot;#wp-fullscreen-title&quot;).val():jQuery(&quot;#title&quot;).val(),samplepermalinknonce:jQuery(&quot;#samplepermalinknonce&quot;).val()},fu
 nction(c
 ){if(c!==&quot;-1&quot;){var b=jQuery(&quot;#edit-slug-box&quot;);b.html(c);if(b.hasClass(&quot;hidden&quot;)){b.fadeIn(&quot;fast&quot;,function(){b.removeClass(&quot;hidden&quot;)})}makeSlugeditClickable()}})}}function autosave_loading(){jQuery(&quot;.autosave-message&quot;).html(autosaveL10n.savingText)}function autosave_enable_buttons(){if(!wp.heartbeat.connectionLost){setTimeout(function(){var a=jQuery(&quot;#submitpost&quot;);a.find(&quot;:button, :submit&quot;).removeAttr(&quot;disabled&quot;);a.find(&quot;.spinner&quot;).hide()},500)}}function autosave_disable_buttons(){jQuery(&quot;#submitpost&quot;).find(&quot;:button, :submit&quot;).prop(&quot;disabled&quot;,true);setTimeout(autosave_enable_buttons,5000)}function delayed_autosave(){setTimeout(function(){if(blockSave){return}autosave()},200)}autosave=function(){blockSave=true;var c=(typeof tinymce!=&quot;undefined&quot;)&amp;&amp;tinymce.activeEditor&amp;&amp;!tinymce.activeEditor.isHidden(),d,f,b,e,a;autosave_disa
 ble_butt
 ons();d=wp.autosave.getPostData();f=d.autosave;if(jQuery(&quot;#TB_window&quot;).css(&quot;display&quot;)==&quot;block&quot;){f=false}if((d.post_title.length==0&amp;&amp;d.content.length==0)||d.post_title+d.content==autosaveLast){f=false}if(f){autosaveLast=d.post_title+d.content;jQuery(document).triggerHandler(&quot;wpcountwords&quot;,[d.content])}else{d.autosave=0}if(d.auto_draft==&quot;1&quot;){a=autosave_saved_new}else{a=autosave_saved}jQuery.ajax({data:d,beforeSend:f?autosave_loading:null,type:&quot;POST&quot;,url:ajaxurl,success:a})};window.wp=window.wp||{};wp.autosave=wp.autosave||{};(function(a){wp.autosave.getPostData=function(){var c=typeof tinymce!=&quot;undefined&quot;?tinymce.activeEditor:null,e,g,b,d=[],f={action:&quot;autosave&quot;,autosave:true,post_id:a(&quot;#post_ID&quot;).val()||0,autosavenonce:a(&quot;#autosavenonce&quot;).val()||&quot;&quot;,post_type:a(&quot;#post_type&quot;).val()||&quot;&quot;,post_author:a(&quot;#post_author&quot;).val()||&quot;&quo
 t;,excer
 pt:a(&quot;#excerpt&quot;).val()||&quot;&quot;};if(c&amp;&amp;!c.isHidden()){if(c.plugins.spellchecker&amp;&amp;c.plugins.spellchecker.active){f.autosave=false;return f}else{if(&quot;mce_fullscreen&quot;==c.id){tinymce.get(&quot;content&quot;).setContent(c.getContent({format:&quot;raw&quot;}),{format:&quot;raw&quot;})}tinymce.triggerSave()}}if(typeof fullscreen!=&quot;undefined&quot;&amp;&amp;fullscreen.settings.visible){f.post_title=a(&quot;#wp-fullscreen-title&quot;).val()||&quot;&quot;;f.content=a(&quot;#wp_mce_fullscreen&quot;).val()||&quot;&quot;}else{f.post_title=a(&quot;#title&quot;).val()||&quot;&quot;;f.content=a(&quot;#content&quot;).val()||&quot;&quot;}a('input[id^=&quot;in-category-&quot;]:checked').each(function(){d.push(this.value)});f.catslist=d.join(&quot;,&quot;);if(e=a(&quot;#post_name&quot;).val()){f.post_name=e}if(g=a(&quot;#parent_id&quot;).val()){f.parent_id=g}if(a(&quot;#comment_status&quot;).prop(&quot;checked&quot;)){f.comment_status=&quot;open&quot;
 }if(a(&q
 uot;#ping_status&quot;).prop(&quot;checked&quot;)){f.ping_status=&quot;open&quot;}if(a(&quot;#auto_draft&quot;).val()==&quot;1&quot;){f.auto_draft=&quot;1&quot;}b=a(&quot;#post_format&quot;).val()||&quot;&quot;;f.post_format=b==&quot;standard&quot;?&quot;&quot;:b;a(&quot;.post-formats-fields&quot;).find('input[name^=&quot;_format_&quot;], textarea[name^=&quot;_format_&quot;]').each(function(h,j){f[j.name]=j.value||&quot;&quot;});return f};wp.autosave.local={lastsaveddata:&quot;&quot;,blog_id:0,ajaxurl:window.ajaxurl||&quot;wp-admin/admin-ajax.php&quot;,hasStorage:false,checkStorage:function(){var d=Math.random(),b=false;try{sessionStorage.setItem(&quot;wp-test&quot;,d);b=sessionStorage.getItem(&quot;wp-test&quot;)==d;sessionStorage.removeItem(&quot;wp-test&quot;)}catch(c){}this.hasStorage=b;return b},getStorage:function(){var b=false;if(this.hasStorage&amp;&amp;this.blog_id){b=sessionStorage.getItem(&quot;wp-autosave-&quot;+this.blog_id);if(b){b=JSON.parse(b)}else{b={}}}retu
 rn b},se
 tStorage:function(b){var c;if(this.hasStorage&amp;&amp;this.blog_id){c=&quot;wp-autosave-&quot;+this.blog_id;sessionStorage.setItem(c,JSON.stringify(b));return sessionStorage.getItem(c)!==null}return false},getData:function(){var c=this.getStorage(),b=a(&quot;#post_ID&quot;).val();if(!c||!b){return false}return c[&quot;post_&quot;+b]||false},setData:function(b){var d=this.getStorage(),c=a(&quot;#post_ID&quot;).val();if(!d||!c){return false}if(b){d[&quot;post_&quot;+c]=b}else{if(d.hasOwnProperty(&quot;post_&quot;+c)){delete d[&quot;post_&quot;+c]}else{return false}}return this.setStorage(d)},save:function(c){var b=false;if(!c){post_data=wp.autosave.getPostData()}else{post_data=this.getData()||{};a.extend(post_data,c)}if(post_data.post_title+&quot;: &quot;+post_data.content==this.lastsaveddata){return false}if(!post_data.autosave){return false}post_data.save_time=(new Date()).getTime();post_data.status=a(&quot;#post_status&quot;).val()||&quot;&quot;;b=this.setData(post_data);i
 f(typeof
  console!=&quot;undefined&quot;){console.log(&quot;Local autosave: saved, post content = %s&quot;,post_data.content)}if(b){this.lastsaveddata=post_data.post_title+&quot;: &quot;+post_data.content}return b},init:function(c){var b=this;if(&quot;post&quot;!=window.pagenow||!this.checkStorage()){return}if(typeof switchEditors==&quot;undefined&quot;){return}if(c){a.extend(this,c)}if(!this.blog_id){this.blog_id=typeof window.autosaveL10n!=&quot;undefined&quot;?window.autosaveL10n.blog_id:0}this.checkPost();a(document).ready(function(){b.run()})},run:function(){var b=this,c;if(!this.lastsaveddata){c=wp.autosave.getPostData();if(c.content&amp;&amp;a(&quot;#wp-content-wrap&quot;).hasClass(&quot;tmce-active&quot;)){this.lastsaveddata=c.post_title+&quot;: &quot;+switchEditors.pre_wpautop(c.content)}else{this.lastsaveddata=c.post_title+&quot;: &quot;+c.content}}this.schedule=a.schedule({time:15*1000,func:function(){wp.autosave.local.save()},repeat:true,protect:true});a(&quot;form#post&q
 uot;).on
 (&quot;submit.autosave-local&quot;,function(){var e=typeof tinymce!=&quot;undefined&quot;&amp;&amp;tinymce.get(&quot;content&quot;),d=a(&quot;#post_ID&quot;).val()||0;if(e&amp;&amp;!e.isHidden()){e.onSubmit.add(function(){wp.autosave.local.save({post_title:a(&quot;#title&quot;).val()||&quot;&quot;,content:a(&quot;#content&quot;).val()||&quot;&quot;,excerpt:a(&quot;#excerpt&quot;).val()||&quot;&quot;})})}else{b.save({post_title:a(&quot;#title&quot;).val()||&quot;&quot;,content:a(&quot;#content&quot;).val()||&quot;&quot;,excerpt:a(&quot;#excerpt&quot;).val()||&quot;&quot;})}wpCookies.set(&quot;wp-saving-post-&quot;+d,&quot;check&quot;)})},compare:function(d,c){function b(e){return e.toString().replace(/[\x20\t\r\n\f]+/g,&quot;&quot;)}return(b(d||&quot;&quot;)==b(c||&quot;&quot;))},checkPost:function(){var b=this,i=this.getData(),f,h,e=false,g,c=a(&quot;#post_ID&quot;).val()||0,d=wpCookies.get(&quot;wp-saving-post-&quot;+c);if(typeof console!=&quot;undefined&quot;){console.log(
 &quot;Lo
 cal autosave: checkPost, cookie = %s, post content = %s&quot;,d,i&amp;&amp;i.content)}if(!i){return}if(d){wpCookies.remove(&quot;wp-saving-post-&quot;+c);if(d==&quot;saved&quot;){this.setData(false);return}}if(a(&quot;#has-newer-autosave&quot;).length){return}if(d!=&quot;check&quot;){f=a(&quot;#content&quot;).val();h=a.extend({},i);if(a(&quot;#wp-content-wrap&quot;).hasClass(&quot;tmce-active&quot;)){f=switchEditors.pre_wpautop(f)}if(this.compare(f,h.content)&amp;&amp;this.compare(a(&quot;#title&quot;).val(),h.post_title)&amp;&amp;this.compare(a(&quot;#excerpt&quot;).val(),h.excerpt)){return}}this.restore_post_data=i;this.undo_post_data=wp.autosave.getPostData();g=a(&quot;#local-storage-notice&quot;);a(&quot;form#post&quot;).before(g.addClass(&quot;updated&quot;).show());g.on(&quot;click&quot;,function(k){var j=a(k.target);if(j.hasClass(&quot;restore-backup&quot;)){b.restorePost(b.restore_post_data);j.parent().hide();a(this).find(&quot;p.undo-restore&quot;).show()}else{if(j.
 hasClass
 (&quot;undo-restore-backup&quot;)){b.restorePost(b.undo_post_data);j.parent().hide();a(this).find(&quot;p.local-restore&quot;).show()}}k.preventDefault()})},restorePost:function(c){var b;if(c){this.lastsaveddata=c.post_title+&quot;: &quot;+c.content;if(a(&quot;#title&quot;).val()!=c.post_title){a(&quot;#title&quot;).focus().val(c.post_title||&quot;&quot;)}a(&quot;#excerpt&quot;).val(c.excerpt||&quot;&quot;);b=typeof tinymce!=&quot;undefined&quot;&amp;&amp;tinymce.get(&quot;content&quot;);if(b&amp;&amp;!b.isHidden()){b.undoManager.add();b.setContent(c.content?switchEditors.wpautop(c.content):&quot;&quot;)}else{a(&quot;#content-html&quot;).click();a(&quot;#content&quot;).val(c.content)}return true}return false}};wp.autosave.local.init()}(jQuery));
</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 (24022 => 24023)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2013-04-17 20:58:42 UTC (rev 24022)
+++ trunk/wp-includes/version.php        2013-04-18 12:15:12 UTC (rev 24023)
</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.6-beta1-24021';
</del><ins>+$wp_version = '3.6-beta1-24023';
</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>