<!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>[23093] trunk: Compress scripts/styles: 3.5-RC3-23093.</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/23093">23093</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-12-06 05:26:39 +0000 (Thu, 06 Dec 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.5-RC3-23093.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjscustombackgroundminjs">trunk/wp-admin/js/custom-background.min.js</a></li>
<li><a href="#trunkwpincludesjsmediamodelsminjs">trunk/wp-includes/js/media-models.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="trunkwpadminjscustombackgroundminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/custom-background.min.js (23092 => 23093)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-background.min.js        2012-12-06 05:06:49 UTC (rev 23092)
+++ trunk/wp-admin/js/custom-background.min.js        2012-12-06 05:26:39 UTC (rev 23093)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(a){a(document).ready(function(){var b=a(&quot;#custom-background-image&quot;),c;a(&quot;#background-color&quot;).wpColorPicker({change:function(d,e){b.css(&quot;background-color&quot;,e.color.toString())},clear:function(){b.css(&quot;background-color&quot;,&quot;&quot;)}});a('input[name=&quot;background-position-x&quot;]').change(function(){b.css(&quot;background-position&quot;,a(this).val()+&quot; top&quot;)});a('input[name=&quot;background-repeat&quot;]').change(function(){b.css(&quot;background-repeat&quot;,a(this).val())});a(&quot;#choose-from-library-link&quot;).click(function(e){var d=a(this);e.preventDefault();if(c){c.open();return}c=wp.media({title:d.data(&quot;choose&quot;),library:{type:&quot;image&quot;},button:{text:d.data(&quot;update&quot;),close:false}});c.on(&quot;select&quot;,function(){var f=c.state().get(&quot;selection&quot;).first();a.post(ajaxurl,{action:&quot;set-background-image&quot;,attachment_id:f.id,size:&quot;full&quot;}).do
 ne(function(){window.location.reload()})});c.open()})})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(a){a(document).ready(function(){var b=a(&quot;#custom-background-image&quot;),c;a(&quot;#background-color&quot;).wpColorPicker({change:function(d,e){b.css(&quot;background-color&quot;,e.color.toString())},clear:function(){b.css(&quot;background-color&quot;,&quot;&quot;)}});a('input[name=&quot;background-position-x&quot;]').change(function(){b.css(&quot;background-position&quot;,a(this).val()+&quot; top&quot;)});a('input[name=&quot;background-repeat&quot;]').change(function(){b.css(&quot;background-repeat&quot;,a(this).val())});a(&quot;#choose-from-library-link&quot;).click(function(e){var d=a(this);e.preventDefault();if(c){c.open();return}c=wp.media.frames.customBackground=wp.media({title:d.data(&quot;choose&quot;),library:{type:&quot;image&quot;},button:{text:d.data(&quot;update&quot;),close:false}});c.on(&quot;select&quot;,function(){var f=c.state().get(&quot;selection&quot;).first();a.post(ajaxurl,{action:&quot;set-background-image&quot;,attachment_i
 d:f.id,size:&quot;full&quot;}).done(function(){window.location.reload()})});c.open()})})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsmediamodelsminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/media-models.min.js (23092 => 23093)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/media-models.min.js        2012-12-06 05:06:49 UTC (rev 23092)
+++ trunk/wp-includes/js/media-models.min.js        2012-12-06 05:26:39 UTC (rev 23093)
</span><span class="lines">@@ -1 +1 @@
</span><del>-window.wp=window.wp||{};(function(f){var d,c,a,e,b,g;g=wp.media=function(h){var i=g.view.MediaFrame,j;if(!i){return}h=_.defaults(h||{},{frame:&quot;select&quot;});if(&quot;select&quot;===h.frame&amp;&amp;i.Select){j=new i.Select(h)}else{if(&quot;post&quot;===h.frame&amp;&amp;i.Post){j=new i.Post(h)}}delete h.frame;return j};_.extend(g,{model:{},view:{},controller:{}});b=g.model.l10n=typeof _wpMediaModelsL10n===&quot;undefined&quot;?{}:_wpMediaModelsL10n;g.model.settings=b.settings||{};delete b.settings;e=function(i,h,j,k){if(_.isEqual(i,h)){return j===k?0:(j&gt;k?-1:1)}else{return i&gt;h?-1:1}};_.extend(g,{template:_.memoize(function(j){var i,h={evaluate:/&lt;#([\s\S]+?)#&gt;/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:&quot;data&quot;};return function(k){i=i||_.template(f(&quot;#tmpl-&quot;+j).html(),null,h);return i(k)}}),post:function(i,h){return g.ajax({data:_.isObject(i)?i:_.extend(h||{},{action:i})})},ajax:function(i,h
 ){if(_.isObject(i)){h=i}else{h=h||{};h.data=_.extend(h.data||{},{action:i})}h=_.defaults(h||{},{type:&quot;POST&quot;,url:g.model.settings.ajaxurl,context:this});return f.Deferred(function(j){if(h.success){j.done(h.success)}if(h.error){j.fail(h.error)}delete h.success;delete h.error;f.ajax(h).done(function(k){if(k===&quot;1&quot;||k===1){k={success:true}}if(_.isObject(k)&amp;&amp;!_.isUndefined(k.success)){j[k.success?&quot;resolveWith&quot;:&quot;rejectWith&quot;](this,[k.data])}else{j.rejectWith(this,[k])}}).fail(function(){j.rejectWith(this,arguments)})}).promise()},fit:function(l){var i=l.width,h=l.height,k=l.maxWidth,j=l.maxHeight,m;if(!_.isUndefined(k)&amp;&amp;!_.isUndefined(j)){m=(i/h&gt;k/j)?&quot;width&quot;:&quot;height&quot;}else{if(_.isUndefined(j)){m=&quot;width&quot;}else{if(_.isUndefined(k)&amp;&amp;h&gt;j){m=&quot;height&quot;}}}if(&quot;width&quot;===m&amp;&amp;i&gt;k){return{width:k,height:Math.round(k*h/i)}}else{if(&quot;height&quot;===m&amp;&amp;h&gt;j){
 return{width:Math.round(j*i/h),height:j}}else{return{width:i,height:h}}}},truncate:function(h,j,i){j=j||30;i=i||&quot;&amp;hellip;&quot;;if(h.length&lt;=j){return h}return h.substr(0,j/2)+i+h.substr(-1*j/2)}});d=g.model.Attachment=Backbone.Model.extend({sync:function(j,i,h){if(_.isUndefined(this.id)){return f.Deferred().rejectWith(this).promise()}if(&quot;read&quot;===j){h=h||{};h.context=this;h.data=_.extend(h.data||{},{action:&quot;get-attachment&quot;,id:this.id});return g.ajax(h)}else{if(&quot;update&quot;===j){if(!this.get(&quot;nonces&quot;)||!this.get(&quot;nonces&quot;).update){return f.Deferred().rejectWith(this).promise()}h=h||{};h.context=this;h.data=_.extend(h.data||{},{action:&quot;save-attachment&quot;,id:this.id,nonce:this.get(&quot;nonces&quot;).update,post_id:g.model.settings.post.id});if(h.changes){_.each(h.changes,function(l,k){h.changes[k]=this.get(k)},this);h.data.changes=h.changes;delete h.changes}return g.ajax(h)}else{if(&quot;delete&quot;===j){h=h||{}
 ;if(!h.wait){this.destroyed=true}h.context=this;h.data=_.extend(h.data||{},{action:&quot;delete-post&quot;,id:this.id,_wpnonce:this.get(&quot;nonces&quot;)[&quot;delete&quot;]});return g.ajax(h).done(function(){this.destroyed=true}).fail(function(){this.destroyed=false})}}}},parse:function(i,h){if(!i){return i}i.date=new Date(i.date);i.modified=new Date(i.modified);return i},saveCompat:function(j,i){var h=this;if(!this.get(&quot;nonces&quot;)||!this.get(&quot;nonces&quot;).update){return f.Deferred().rejectWith(this).promise()}return g.post(&quot;save-attachment-compat&quot;,_.defaults({id:this.id,nonce:this.get(&quot;nonces&quot;).update,post_id:g.model.settings.post.id},j)).done(function(m,k,l){h.set(h.parse(m,l),i)})}},{create:function(h){return c.all.push(h)},get:_.memoize(function(i,h){return c.all.push(h||{id:i})})});c=g.model.Attachments=Backbone.Collection.extend({model:d,initialize:function(i,h){h=h||{};this.props=new Backbone.Model();this.filters=h.filters||{};this
 .props.on(&quot;change&quot;,this._changeFilteredProps,this);this.props.on(&quot;change:order&quot;,this._changeOrder,this);this.props.on(&quot;change:orderby&quot;,this._changeOrderby,this);this.props.on(&quot;change:query&quot;,this._changeQuery,this);this.props.set(_.defaults(h.props||{}));if(h.observe){this.observe(h.observe)}},_changeOrder:function(i,h){if(this.comparator){this.sort()}},_changeOrderby:function(h,i){if(this.comparator&amp;&amp;this.comparator!==c.comparator){return}if(i&amp;&amp;&quot;post__in&quot;!==i){this.comparator=c.comparator}else{delete this.comparator}},_changeQuery:function(h,i){if(i){this.props.on(&quot;change&quot;,this._requery,this);this._requery()}else{this.props.off(&quot;change&quot;,this._requery,this)}},_changeFilteredProps:function(i,h){if(this.props.get(&quot;query&quot;)){return}var j=_.chain(h.changes).map(function(l,n){var m=c.filters[n],k=i.get(n);if(!m){return}if(k&amp;&amp;!this.filters[n]){this.filters[n]=m}else{if(!k&amp;&amp
 ;this.filters[n]===m){delete this.filters[n]}else{return}}return true},this).any().value();if(!j){return}if(!this._source){this._source=new c(this.models)}this.reset(this._source.filter(this.validator,this))},validateDestroyed:false,validator:function(h){if(!this.validateDestroyed&amp;&amp;h.destroyed){return false}return _.all(this.filters,function(j,i){return !!j.call(this,h)},this)},validate:function(k,i){var j=this.validator(k),h=!!this.getByCid(k.cid);if(!j&amp;&amp;h){this.remove(k,i)}else{if(j&amp;&amp;!h){this.add(k,i)}}return this},validateAll:function(h,i){i=i||{};_.each(h.models,function(j){this.validate(j,{silent:true})},this);if(!i.silent){this.trigger(&quot;reset&quot;,this,i)}return this},observe:function(h){this.observers=this.observers||[];this.observers.push(h);h.on(&quot;add change remove&quot;,this._validateHandler,this);h.on(&quot;reset&quot;,this._validateAllHandler,this);this.validateAll(h);return this},unobserve:function(h){if(h){h.off(null,null,this)
 ;this.observers=_.without(this.observers,h)}else{_.each(this.observers,function(i){i.off(null,null,this)},this);delete this.observers}return this},_validateHandler:function(j,h,i){i=h===this.mirroring?i:{silent:i&amp;&amp;i.silent};return this.validate(j,i)},_validateAllHandler:function(h,i){return this.validateAll(h,i)},mirror:function(h){if(this.mirroring&amp;&amp;this.mirroring===h){return this}this.unmirror();this.mirroring=h;this.reset([],{silent:true});this.observe(h);return this},unmirror:function(){if(!this.mirroring){return}this.unobserve(this.mirroring);delete this.mirroring},more:function(j){var i=f.Deferred(),k=this.mirroring,h=this;if(!k||!k.more){return i.resolveWith(this).promise()}k.more(j).done(function(){if(this===h.mirroring){i.resolveWith(this)}});return i.promise()},hasMore:function(){return this.mirroring?this.mirroring.hasMore():false},parse:function(i,h){return _.map(i,function(j){var k=d.get(j.id);return k.set(k.parse(j,h))})},_requery:function(){if(
 this.props.get(&quot;query&quot;)){this.mirror(a.get(this.props.toJSON()))}},saveMenuOrder:function(){if(&quot;menuOrder&quot;!==this.props.get(&quot;orderby&quot;)){return}var h=this.chain().filter(function(i){return !_.isUndefined(i.id)}).map(function(j,i){i=i+1;j.set(&quot;menuOrder&quot;,i);return[j.id,i]}).object().value();if(_.isEmpty(h)){return}return g.post(&quot;save-attachment-order&quot;,{nonce:g.model.settings.post.nonce,post_id:g.model.settings.post.id,attachments:h})}},{comparator:function(j,i,k){var l=this.props.get(&quot;orderby&quot;),h=this.props.get(&quot;order&quot;)||&quot;DESC&quot;,m=j.cid,n=i.cid;j=j.get(l);i=i.get(l);if(&quot;date&quot;===l||&quot;modified&quot;===l){j=j||new Date();i=i||new Date()}if(k&amp;&amp;k.ties){m=n=null}return(&quot;DESC&quot;===h)?e(j,i,m,n):e(i,j,n,m)},filters:{search:function(h){if(!this.props.get(&quot;search&quot;)){return true}return _.any([&quot;title&quot;,&quot;filename&quot;,&quot;description&quot;,&quot;caption&qu
 ot;,&quot;name&quot;],function(i){var j=h.get(i);return j&amp;&amp;-1!==j.search(this.props.get(&quot;search&quot;))},this)},type:function(i){var h=this.props.get(&quot;type&quot;);return !h||-1!==h.indexOf(i.get(&quot;type&quot;))},uploadedTo:function(i){var h=this.props.get(&quot;uploadedTo&quot;);if(_.isUndefined(h)){return true}return h===i.get(&quot;uploadedTo&quot;)}}});c.all=new c();g.query=function(h){return new c(null,{props:_.extend(_.defaults(h||{},{orderby:&quot;date&quot;}),{query:true})})};a=g.model.Query=c.extend({initialize:function(j,h){var i;h=h||{};c.prototype.initialize.apply(this,arguments);this.args=h.args;this._hasMore=true;this.created=new Date();this.filters.order=function(m){var l=this.props.get(&quot;orderby&quot;),k=this.props.get(&quot;order&quot;);if(!this.comparator){return true}if(this.length){return 1!==this.comparator(m,this.last(),{ties:true})}else{if(&quot;DESC&quot;===k&amp;&amp;(&quot;date&quot;===l||&quot;modified&quot;===l)){return m.g
 et(l)&gt;=this.created}else{if(&quot;ASC&quot;===k&amp;&amp;&quot;menuOrder&quot;===l){return m.get(l)===0}}}return false};i=[&quot;s&quot;,&quot;order&quot;,&quot;orderby&quot;,&quot;posts_per_page&quot;,&quot;post_mime_type&quot;,&quot;post_parent&quot;];if(wp.Uploader&amp;&amp;_(this.args).chain().keys().difference(i).isEmpty().value()){this.observe(wp.Uploader.queue)}},hasMore:function(){return this._hasMore},more:function(h){var i=this;if(this._more&amp;&amp;&quot;pending&quot;===this._more.state()){return this._more}if(!this.hasMore()){return f.Deferred().resolveWith(this).promise()}h=h||{};h.add=true;return this._more=this.fetch(h).done(function(j){if(_.isEmpty(j)||-1===this.args.posts_per_page||j.length&lt;this.args.posts_per_page){i._hasMore=false}})},sync:function(k,i,h){var j;if(&quot;read&quot;===k){h=h||{};h.context=this;h.data=_.extend(h.data||{},{action:&quot;query-attachments&quot;,post_id:g.model.settings.post.id});args=_.clone(this.args);if(-1!==args.posts_
 per_page){args.paged=Math.floor(this.length/args.posts_per_page)+1}h.data.query=args;return g.ajax(h)}else{j=c.prototype.sync?c.prototype:Backbone;return j.sync.apply(this,arguments)}}},{defaultProps:{orderby:&quot;date&quot;,order:&quot;DESC&quot;},defaultArgs:{posts_per_page:40},orderby:{allowed:[&quot;name&quot;,&quot;author&quot;,&quot;date&quot;,&quot;title&quot;,&quot;modified&quot;,&quot;uploadedTo&quot;,&quot;id&quot;,&quot;post__in&quot;,&quot;menuOrder&quot;],valuemap:{id:&quot;ID&quot;,uploadedTo:&quot;parent&quot;,menuOrder:&quot;menu_order ID&quot;}},propmap:{search:&quot;s&quot;,type:&quot;post_mime_type&quot;,perPage:&quot;posts_per_page&quot;,menuOrder:&quot;menu_order&quot;,uploadedTo:&quot;post_parent&quot;},get:(function(){var h=[];return function(k,j){var i={},m=a.orderby,n=a.defaultProps,l;delete k.query;_.defaults(k,n);k.order=k.order.toUpperCase();if(&quot;DESC&quot;!==k.order&amp;&amp;&quot;ASC&quot;!==k.order){k.order=n.order.toUpperCase()}if(!_.cont
 ains(m.allowed,k.orderby)){k.orderby=n.orderby}_.each(k,function(o,p){if(_.isNull(o)){return}i[a.propmap[p]||p]=o});_.defaults(i,a.defaultArgs);i.orderby=m.valuemap[k.orderby]||k.orderby;l=_.find(h,function(o){return _.isEqual(o.args,i)});if(!l){l=new a([],_.extend(j||{},{props:k,args:i}));h.push(l)}return l}}())});g.model.Selection=c.extend({initialize:function(i,h){c.prototype.initialize.apply(this,arguments);this.multiple=h&amp;&amp;h.multiple;this.on(&quot;add remove reset&quot;,_.bind(this.single,this,false))},add:function(i,h){if(!this.multiple){this.remove(this.models)}return c.prototype.add.call(this,i,h)},single:function(h){var i=this._single;if(h){this._single=h}if(this._single&amp;&amp;!this.getByCid(this._single.cid)){delete this._single}this._single=this._single||this.last();if(this._single!==i){if(i){i.trigger(&quot;selection:unsingle&quot;,i,this);if(!this.getByCid(i.cid)){this.trigger(&quot;selection:unsingle&quot;,i,this)}}if(this._single){this._single.trigg
 er(&quot;selection:single&quot;,this._single,this)}}return this._single}});f(window).on(&quot;unload&quot;,function(){window.wp=null})}(jQuery));
</del><span class="cx">\ No newline at end of file
</span><ins>+window.wp=window.wp||{};(function(f){var d,c,a,e,b,g;g=wp.media=function(h){var i=g.view.MediaFrame,j;if(!i){return}h=_.defaults(h||{},{frame:&quot;select&quot;});if(&quot;select&quot;===h.frame&amp;&amp;i.Select){j=new i.Select(h)}else{if(&quot;post&quot;===h.frame&amp;&amp;i.Post){j=new i.Post(h)}}delete h.frame;return j};_.extend(g,{model:{},view:{},controller:{},frames:{}});b=g.model.l10n=typeof _wpMediaModelsL10n===&quot;undefined&quot;?{}:_wpMediaModelsL10n;g.model.settings=b.settings||{};delete b.settings;e=function(i,h,j,k){if(_.isEqual(i,h)){return j===k?0:(j&gt;k?-1:1)}else{return i&gt;h?-1:1}};_.extend(g,{template:_.memoize(function(j){var i,h={evaluate:/&lt;#([\s\S]+?)#&gt;/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:&quot;data&quot;};return function(k){i=i||_.template(f(&quot;#tmpl-&quot;+j).html(),null,h);return i(k)}}),post:function(i,h){return g.ajax({data:_.isObject(i)?i:_.extend(h||{},{action:i})})},ajax:fu
 nction(i,h){if(_.isObject(i)){h=i}else{h=h||{};h.data=_.extend(h.data||{},{action:i})}h=_.defaults(h||{},{type:&quot;POST&quot;,url:g.model.settings.ajaxurl,context:this});return f.Deferred(function(j){if(h.success){j.done(h.success)}if(h.error){j.fail(h.error)}delete h.success;delete h.error;f.ajax(h).done(function(k){if(k===&quot;1&quot;||k===1){k={success:true}}if(_.isObject(k)&amp;&amp;!_.isUndefined(k.success)){j[k.success?&quot;resolveWith&quot;:&quot;rejectWith&quot;](this,[k.data])}else{j.rejectWith(this,[k])}}).fail(function(){j.rejectWith(this,arguments)})}).promise()},fit:function(l){var i=l.width,h=l.height,k=l.maxWidth,j=l.maxHeight,m;if(!_.isUndefined(k)&amp;&amp;!_.isUndefined(j)){m=(i/h&gt;k/j)?&quot;width&quot;:&quot;height&quot;}else{if(_.isUndefined(j)){m=&quot;width&quot;}else{if(_.isUndefined(k)&amp;&amp;h&gt;j){m=&quot;height&quot;}}}if(&quot;width&quot;===m&amp;&amp;i&gt;k){return{width:k,height:Math.round(k*h/i)}}else{if(&quot;height&quot;===m&amp;&am
 p;h&gt;j){return{width:Math.round(j*i/h),height:j}}else{return{width:i,height:h}}}},truncate:function(h,j,i){j=j||30;i=i||&quot;&amp;hellip;&quot;;if(h.length&lt;=j){return h}return h.substr(0,j/2)+i+h.substr(-1*j/2)}});g.attachment=function(h){return d.get(h)};d=g.model.Attachment=Backbone.Model.extend({sync:function(j,i,h){if(_.isUndefined(this.id)){return f.Deferred().rejectWith(this).promise()}if(&quot;read&quot;===j){h=h||{};h.context=this;h.data=_.extend(h.data||{},{action:&quot;get-attachment&quot;,id:this.id});return g.ajax(h)}else{if(&quot;update&quot;===j){if(!this.get(&quot;nonces&quot;)||!this.get(&quot;nonces&quot;).update){return f.Deferred().rejectWith(this).promise()}h=h||{};h.context=this;h.data=_.extend(h.data||{},{action:&quot;save-attachment&quot;,id:this.id,nonce:this.get(&quot;nonces&quot;).update,post_id:g.model.settings.post.id});if(h.changes){_.each(h.changes,function(l,k){h.changes[k]=this.get(k)},this);h.data.changes=h.changes;delete h.changes}retu
 rn g.ajax(h)}else{if(&quot;delete&quot;===j){h=h||{};if(!h.wait){this.destroyed=true}h.context=this;h.data=_.extend(h.data||{},{action:&quot;delete-post&quot;,id:this.id,_wpnonce:this.get(&quot;nonces&quot;)[&quot;delete&quot;]});return g.ajax(h).done(function(){this.destroyed=true}).fail(function(){this.destroyed=false})}}}},parse:function(i,h){if(!i){return i}i.date=new Date(i.date);i.modified=new Date(i.modified);return i},saveCompat:function(j,i){var h=this;if(!this.get(&quot;nonces&quot;)||!this.get(&quot;nonces&quot;).update){return f.Deferred().rejectWith(this).promise()}return g.post(&quot;save-attachment-compat&quot;,_.defaults({id:this.id,nonce:this.get(&quot;nonces&quot;).update,post_id:g.model.settings.post.id},j)).done(function(m,k,l){h.set(h.parse(m,l),i)})}},{create:function(h){return c.all.push(h)},get:_.memoize(function(i,h){return c.all.push(h||{id:i})})});c=g.model.Attachments=Backbone.Collection.extend({model:d,initialize:function(i,h){h=h||{};this.props=
 new Backbone.Model();this.filters=h.filters||{};this.props.on(&quot;change&quot;,this._changeFilteredProps,this);this.props.on(&quot;change:order&quot;,this._changeOrder,this);this.props.on(&quot;change:orderby&quot;,this._changeOrderby,this);this.props.on(&quot;change:query&quot;,this._changeQuery,this);this.props.set(_.defaults(h.props||{}));if(h.observe){this.observe(h.observe)}},_changeOrder:function(i,h){if(this.comparator){this.sort()}},_changeOrderby:function(h,i){if(this.comparator&amp;&amp;this.comparator!==c.comparator){return}if(i&amp;&amp;&quot;post__in&quot;!==i){this.comparator=c.comparator}else{delete this.comparator}},_changeQuery:function(h,i){if(i){this.props.on(&quot;change&quot;,this._requery,this);this._requery()}else{this.props.off(&quot;change&quot;,this._requery,this)}},_changeFilteredProps:function(i,h){if(this.props.get(&quot;query&quot;)){return}var j=_.chain(h.changes).map(function(l,n){var m=c.filters[n],k=i.get(n);if(!m){return}if(k&amp;&amp;!th
 is.filters[n]){this.filters[n]=m}else{if(!k&amp;&amp;this.filters[n]===m){delete this.filters[n]}else{return}}return true},this).any().value();if(!j){return}if(!this._source){this._source=new c(this.models)}this.reset(this._source.filter(this.validator,this))},validateDestroyed:false,validator:function(h){if(!this.validateDestroyed&amp;&amp;h.destroyed){return false}return _.all(this.filters,function(j,i){return !!j.call(this,h)},this)},validate:function(k,i){var j=this.validator(k),h=!!this.getByCid(k.cid);if(!j&amp;&amp;h){this.remove(k,i)}else{if(j&amp;&amp;!h){this.add(k,i)}}return this},validateAll:function(h,i){i=i||{};_.each(h.models,function(j){this.validate(j,{silent:true})},this);if(!i.silent){this.trigger(&quot;reset&quot;,this,i)}return this},observe:function(h){this.observers=this.observers||[];this.observers.push(h);h.on(&quot;add change remove&quot;,this._validateHandler,this);h.on(&quot;reset&quot;,this._validateAllHandler,this);this.validateAll(h);return thi
 s},unobserve:function(h){if(h){h.off(null,null,this);this.observers=_.without(this.observers,h)}else{_.each(this.observers,function(i){i.off(null,null,this)},this);delete this.observers}return this},_validateHandler:function(j,h,i){i=h===this.mirroring?i:{silent:i&amp;&amp;i.silent};return this.validate(j,i)},_validateAllHandler:function(h,i){return this.validateAll(h,i)},mirror:function(h){if(this.mirroring&amp;&amp;this.mirroring===h){return this}this.unmirror();this.mirroring=h;this.reset([],{silent:true});this.observe(h);return this},unmirror:function(){if(!this.mirroring){return}this.unobserve(this.mirroring);delete this.mirroring},more:function(j){var i=f.Deferred(),k=this.mirroring,h=this;if(!k||!k.more){return i.resolveWith(this).promise()}k.more(j).done(function(){if(this===h.mirroring){i.resolveWith(this)}});return i.promise()},hasMore:function(){return this.mirroring?this.mirroring.hasMore():false},parse:function(i,h){return _.map(i,function(j){var k=d.get(j.id);r
 eturn k.set(k.parse(j,h))})},_requery:function(){if(this.props.get(&quot;query&quot;)){this.mirror(a.get(this.props.toJSON()))}},saveMenuOrder:function(){if(&quot;menuOrder&quot;!==this.props.get(&quot;orderby&quot;)){return}var h=this.chain().filter(function(i){return !_.isUndefined(i.id)}).map(function(j,i){i=i+1;j.set(&quot;menuOrder&quot;,i);return[j.id,i]}).object().value();if(_.isEmpty(h)){return}return g.post(&quot;save-attachment-order&quot;,{nonce:g.model.settings.post.nonce,post_id:g.model.settings.post.id,attachments:h})}},{comparator:function(j,i,k){var l=this.props.get(&quot;orderby&quot;),h=this.props.get(&quot;order&quot;)||&quot;DESC&quot;,m=j.cid,n=i.cid;j=j.get(l);i=i.get(l);if(&quot;date&quot;===l||&quot;modified&quot;===l){j=j||new Date();i=i||new Date()}if(k&amp;&amp;k.ties){m=n=null}return(&quot;DESC&quot;===h)?e(j,i,m,n):e(i,j,n,m)},filters:{search:function(h){if(!this.props.get(&quot;search&quot;)){return true}return _.any([&quot;title&quot;,&quot;fil
 ename&quot;,&quot;description&quot;,&quot;caption&quot;,&quot;name&quot;],function(i){var j=h.get(i);return j&amp;&amp;-1!==j.search(this.props.get(&quot;search&quot;))},this)},type:function(i){var h=this.props.get(&quot;type&quot;);return !h||-1!==h.indexOf(i.get(&quot;type&quot;))},uploadedTo:function(i){var h=this.props.get(&quot;uploadedTo&quot;);if(_.isUndefined(h)){return true}return h===i.get(&quot;uploadedTo&quot;)}}});c.all=new c();g.query=function(h){return new c(null,{props:_.extend(_.defaults(h||{},{orderby:&quot;date&quot;}),{query:true})})};a=g.model.Query=c.extend({initialize:function(j,h){var i;h=h||{};c.prototype.initialize.apply(this,arguments);this.args=h.args;this._hasMore=true;this.created=new Date();this.filters.order=function(m){var l=this.props.get(&quot;orderby&quot;),k=this.props.get(&quot;order&quot;);if(!this.comparator){return true}if(this.length){return 1!==this.comparator(m,this.last(),{ties:true})}else{if(&quot;DESC&quot;===k&amp;&amp;(&quot;d
 ate&quot;===l||&quot;modified&quot;===l)){return m.get(l)&gt;=this.created}else{if(&quot;ASC&quot;===k&amp;&amp;&quot;menuOrder&quot;===l){return m.get(l)===0}}}return false};i=[&quot;s&quot;,&quot;order&quot;,&quot;orderby&quot;,&quot;posts_per_page&quot;,&quot;post_mime_type&quot;,&quot;post_parent&quot;];if(wp.Uploader&amp;&amp;_(this.args).chain().keys().difference(i).isEmpty().value()){this.observe(wp.Uploader.queue)}},hasMore:function(){return this._hasMore},more:function(h){var i=this;if(this._more&amp;&amp;&quot;pending&quot;===this._more.state()){return this._more}if(!this.hasMore()){return f.Deferred().resolveWith(this).promise()}h=h||{};h.add=true;return this._more=this.fetch(h).done(function(j){if(_.isEmpty(j)||-1===this.args.posts_per_page||j.length&lt;this.args.posts_per_page){i._hasMore=false}})},sync:function(k,i,h){var j;if(&quot;read&quot;===k){h=h||{};h.context=this;h.data=_.extend(h.data||{},{action:&quot;query-attachments&quot;,post_id:g.model.settings.p
 ost.id});args=_.clone(this.args);if(-1!==args.posts_per_page){args.paged=Math.floor(this.length/args.posts_per_page)+1}h.data.query=args;return g.ajax(h)}else{j=c.prototype.sync?c.prototype:Backbone;return j.sync.apply(this,arguments)}}},{defaultProps:{orderby:&quot;date&quot;,order:&quot;DESC&quot;},defaultArgs:{posts_per_page:40},orderby:{allowed:[&quot;name&quot;,&quot;author&quot;,&quot;date&quot;,&quot;title&quot;,&quot;modified&quot;,&quot;uploadedTo&quot;,&quot;id&quot;,&quot;post__in&quot;,&quot;menuOrder&quot;],valuemap:{id:&quot;ID&quot;,uploadedTo:&quot;parent&quot;,menuOrder:&quot;menu_order ID&quot;}},propmap:{search:&quot;s&quot;,type:&quot;post_mime_type&quot;,perPage:&quot;posts_per_page&quot;,menuOrder:&quot;menu_order&quot;,uploadedTo:&quot;post_parent&quot;},get:(function(){var h=[];return function(k,j){var i={},m=a.orderby,n=a.defaultProps,l;delete k.query;_.defaults(k,n);k.order=k.order.toUpperCase();if(&quot;DESC&quot;!==k.order&amp;&amp;&quot;ASC&quot;
 !==k.order){k.order=n.order.toUpperCase()}if(!_.contains(m.allowed,k.orderby)){k.orderby=n.orderby}_.each(k,function(o,p){if(_.isNull(o)){return}i[a.propmap[p]||p]=o});_.defaults(i,a.defaultArgs);i.orderby=m.valuemap[k.orderby]||k.orderby;l=_.find(h,function(o){return _.isEqual(o.args,i)});if(!l){l=new a([],_.extend(j||{},{props:k,args:i}));h.push(l)}return l}}())});g.model.Selection=c.extend({initialize:function(i,h){c.prototype.initialize.apply(this,arguments);this.multiple=h&amp;&amp;h.multiple;this.on(&quot;add remove reset&quot;,_.bind(this.single,this,false))},add:function(i,h){if(!this.multiple){this.remove(this.models)}return c.prototype.add.call(this,i,h)},single:function(h){var i=this._single;if(h){this._single=h}if(this._single&amp;&amp;!this.getByCid(this._single.cid)){delete this._single}this._single=this._single||this.last();if(this._single!==i){if(i){i.trigger(&quot;selection:unsingle&quot;,i,this);if(!this.getByCid(i.cid)){this.trigger(&quot;selection:unsingl
 e&quot;,i,this)}}if(this._single){this._single.trigger(&quot;selection:single&quot;,this._single,this)}}return this._single}});f(window).on(&quot;unload&quot;,function(){window.wp=null})}(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 (23092 => 23093)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-12-06 05:06:49 UTC (rev 23092)
+++ trunk/wp-includes/version.php        2012-12-06 05:26:39 UTC (rev 23093)
</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.5-RC3-23091';
</del><ins>+$wp_version = '3.5-RC3-23093';
</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>