<!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>[23704] trunk/wp-includes: Compress scripts/styles: 3.6-alpha-23704.</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/23704">23704</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2013-03-15 02:58:53 +0000 (Fri, 15 Mar 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.6-alpha-23704.</pre>

<h3>Modified Paths</h3>
<ul>
<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="trunkwpincludesjsautosaveminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/autosave.min.js (23703 => 23704)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/autosave.min.js        2013-03-15 02:32:05 UTC (rev 23703)
+++ trunk/wp-includes/js/autosave.min.js        2013-03-15 02:58:53 UTC (rev 23704)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var autosave,autosaveLast=&quot;&quot;,autosavePeriodical,autosaveOldMessage=&quot;&quot;,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 .spinner&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_loc
 k&quot;).val()}})});a(&quot;#post-preview&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;,fun
 ction(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()})}});function autosave_parse_response(c){var d=wpAjax.parseAjaxResponse(c,&quot;autosave&quot;),e=&quot;&quot;,a,b;if(d&amp;&amp;d.responses&amp;&amp;d.responses.length){e=d.responses[0].data;if(d.responses[0].supplemental){b=d.responses[0].supplemental;if(&quot;disable&quot;==b.disable_autosave){autosave=function(){};autosaveLockRelease=false;d={errors:true}}if(b[&quot;active-post-lock&quot;]){jQuery(&quot;#active_post_lock&quot;).val(b[&quot;active-post-lock&quot;])}if(b.alert){jQuery(&quot;#autosave-alert&quot;).remove();jQuery(&quot;#titlediv&quot;).after('&lt;div id=&quot;autosave-alert&quot; class=&quot;error below-h2&quot;&gt;&lt;p&gt;'+b.alert+&quot;&lt;/p&gt;&lt;/
 div&gt;&quot;)}jQuery.each(b,function(f,g){if(f.match(/^replace-/)){jQuery(&quot;#&quot;+f.replace(&quot;replace-&quot;,&quot;&quot;)).val(g)}})}if(!d.errors){a=parseInt(d.responses[0].id,10);if(!isNaN(a)&amp;&amp;a&gt;0){autosave_update_slug(a)}}}if(e){jQuery(&quot;.autosave-message&quot;).html(e)}else{if(autosaveOldMessage&amp;&amp;d){jQuery(&quot;.autosave-message&quot;).html(autosaveOldMessage)}}return d}function autosave_saved(a){blockSave=false;autosave_parse_response(a);autosave_enable_buttons()}function autosave_saved_new(b){blockSave=false;var c=autosave_parse_response(b),a;if(c&amp;&amp;c.responses.length&amp;&amp;!c.errors){a=parseInt(c.responses[0].id,10);if(!isNaN(a)&amp;&amp;a&gt;0){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;jQue
 ry.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()},function(b){if(b!==&quot;-1&quot;){jQuery(&quot;#edit-slug-box&quot;).html(b);makeSlugeditClickable()}})}}function autosave_loading(){jQuery(&quot;.autosave-message&quot;).html(autosaveL10n.savingText)}function autosave_enable_buttons(){setTimeout(function(){jQuery(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).removeAttr(&quot;disabled&quot;);jQuery(&quot;.spinner&quot;,&quot;#submitpost&quot;).hide()},500)}function autosave_disable_buttons(){jQuery(&quot;:button, :submit&quot;,&quot;#submitpost&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_disable_buttons();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}autosaveOldMessage=jQuery(&quot;#autosave&quot;).html();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 b=typeof tinymce!=&quot;undefined&quot;?
 tinymce.activeEditor:null,d,f,c=[],e={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;&quot;,excerpt:a(&quot;#excerpt&quot;).val()||&quot;&quot;};if(b&amp;&amp;!b.isHidden()){if(b.plugins.spellchecker&amp;&amp;b.plugins.spellchecker.active){e.autosave=false;return e}else{if(&quot;mce_fullscreen&quot;==b.id){tinymce.get(&quot;content&quot;).setContent(b.getContent({format:&quot;raw&quot;}),{format:&quot;raw&quot;})}tinymce.triggerSave()}}if(typeof fullscreen!=&quot;undefined&quot;&amp;&amp;fullscreen.settings.visible){e.post_title=a(&quot;#wp-fullscreen-title&quot;).val()||&quot;&quot;;e.content=a(&quot;#wp_mce_fullscreen&quot;).val()||&quot;&quot;}else{e.post_title=a(&quot;#title&quot;).val()||&quot;&quot;;e.content=a(&quot;#content&quot;).val()||&quot;&quot;}a('input[id
 ^=&quot;in-category-&quot;]:checked').each(function(){c.push(this.value)});e.catslist=c.join(&quot;,&quot;);if(d=a(&quot;#post_name&quot;).val()){e.post_name=d}if(f=a(&quot;#parent_id&quot;).val()){e.parent_id=f}if(a(&quot;#comment_status&quot;).prop(&quot;checked&quot;)){e.comment_status=&quot;open&quot;}if(a(&quot;#ping_status&quot;).prop(&quot;checked&quot;)){e.ping_status=&quot;open&quot;}if(a(&quot;#auto_draft&quot;).val()==&quot;1&quot;){e.auto_draft=&quot;1&quot;}return e};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}d[&quot;post_&quot;+c]=b;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);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(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&quot;).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(!i){return}if(a(&quot;#has-newer-autosave&quot;).length){return}if(d==&quot;saved&quot;){return}else{if(d!=&quot;check&quot;){f=a(&quot;#content&quot;).val();h=a.extend({},i);if(a(&quot;#wp-content-wrap&quot;).hasClass(&quot;tm
 ce-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&qu
 ot;).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,autosaveOldMessage=&quot;&quot;,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 .spinner&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_loc
 k&quot;).val()}})});a(&quot;#post-preview&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;,fun
 ction(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()})}});function autosave_parse_response(c){var d=wpAjax.parseAjaxResponse(c,&quot;autosave&quot;),e=&quot;&quot;,a,b;if(d&amp;&amp;d.responses&amp;&amp;d.responses.length){e=d.responses[0].data;if(d.responses[0].supplemental){b=d.responses[0].supplemental;if(&quot;disable&quot;==b.disable_autosave){autosave=function(){};autosaveLockRelease=false;d={errors:true}}if(b[&quot;active-post-lock&quot;]){jQuery(&quot;#active_post_lock&quot;).val(b[&quot;active-post-lock&quot;])}if(b.alert){jQuery(&quot;#autosave-alert&quot;).remove();jQuery(&quot;#titlediv&quot;).after('&lt;div id=&quot;autosave-alert&quot; class=&quot;error below-h2&quot;&gt;&lt;p&gt;'+b.alert+&quot;&lt;/p&gt;&lt;/
 div&gt;&quot;)}jQuery.each(b,function(f,g){if(f.match(/^replace-/)){jQuery(&quot;#&quot;+f.replace(&quot;replace-&quot;,&quot;&quot;)).val(g)}})}if(!d.errors){a=parseInt(d.responses[0].id,10);if(!isNaN(a)&amp;&amp;a&gt;0){autosave_update_slug(a)}}}if(e){jQuery(&quot;.autosave-message&quot;).html(e)}else{if(autosaveOldMessage&amp;&amp;d){jQuery(&quot;.autosave-message&quot;).html(autosaveOldMessage)}}return d}function autosave_saved(a){blockSave=false;autosave_parse_response(a);autosave_enable_buttons()}function autosave_saved_new(b){blockSave=false;var c=autosave_parse_response(b),a;if(c&amp;&amp;c.responses.length&amp;&amp;!c.errors){a=parseInt(c.responses[0].id,10);if(!isNaN(a)&amp;&amp;a&gt;0){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;jQue
 ry.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()},function(b){if(b!==&quot;-1&quot;){jQuery(&quot;#edit-slug-box&quot;).html(b);makeSlugeditClickable()}})}}function autosave_loading(){jQuery(&quot;.autosave-message&quot;).html(autosaveL10n.savingText)}function autosave_enable_buttons(){setTimeout(function(){jQuery(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).removeAttr(&quot;disabled&quot;);jQuery(&quot;.spinner&quot;,&quot;#submitpost&quot;).hide()},500)}function autosave_disable_buttons(){jQuery(&quot;:button, :submit&quot;,&quot;#submitpost&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_disable_buttons();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}autosaveOldMessage=jQuery(&quot;#autosave&quot;).html();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 b=typeof tinymce!=&quot;undefined&quot;?
 tinymce.activeEditor:null,d,f,c=[],e={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;&quot;,excerpt:a(&quot;#excerpt&quot;).val()||&quot;&quot;};if(b&amp;&amp;!b.isHidden()){if(b.plugins.spellchecker&amp;&amp;b.plugins.spellchecker.active){e.autosave=false;return e}else{if(&quot;mce_fullscreen&quot;==b.id){tinymce.get(&quot;content&quot;).setContent(b.getContent({format:&quot;raw&quot;}),{format:&quot;raw&quot;})}tinymce.triggerSave()}}if(typeof fullscreen!=&quot;undefined&quot;&amp;&amp;fullscreen.settings.visible){e.post_title=a(&quot;#wp-fullscreen-title&quot;).val()||&quot;&quot;;e.content=a(&quot;#wp_mce_fullscreen&quot;).val()||&quot;&quot;}else{e.post_title=a(&quot;#title&quot;).val()||&quot;&quot;;e.content=a(&quot;#content&quot;).val()||&quot;&quot;}a('input[id
 ^=&quot;in-category-&quot;]:checked').each(function(){c.push(this.value)});e.catslist=c.join(&quot;,&quot;);if(d=a(&quot;#post_name&quot;).val()){e.post_name=d}if(f=a(&quot;#parent_id&quot;).val()){e.parent_id=f}if(a(&quot;#comment_status&quot;).prop(&quot;checked&quot;)){e.comment_status=&quot;open&quot;}if(a(&quot;#ping_status&quot;).prop(&quot;checked&quot;)){e.ping_status=&quot;open&quot;}if(a(&quot;#auto_draft&quot;).val()==&quot;1&quot;){e.auto_draft=&quot;1&quot;}return e};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}d[&quot;post_&quot;+c]=b;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);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&quot;).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(!i){return}if(a(&quot;#has-newer-autosave&quot;).length){return}if(d==&quot;saved&quot;){return}else{if(d!=&quot;check&quot;){f=a(&quot;#content&quot;).val();h=a.extend({},i);if(a(&quot;#wp-content-wrap&quot;).has
 Class(&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(&qu
 ot;#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 (23703 => 23704)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2013-03-15 02:32:05 UTC (rev 23703)
+++ trunk/wp-includes/version.php        2013-03-15 02:58:53 UTC (rev 23704)
</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-alpha-23695';
</del><ins>+$wp_version = '3.6-alpha-23704';
</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>