<!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>[22973] trunk/wp-includes: Compress scripts/styles: 3.5-RC2-22973.</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/22973">22973</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-12-02 16:57:38 +0000 (Sun, 02 Dec 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.5-RC2-22973.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjsmediaeditorminjs">trunk/wp-includes/js/media-editor.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="trunkwpincludesjsmediaeditorminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/media-editor.min.js (22972 => 22973)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/media-editor.min.js        2012-12-02 16:55:58 UTC (rev 22972)
+++ trunk/wp-includes/js/media-editor.min.js        2012-12-02 16:57:38 UTC (rev 22973)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(b){var a={};wp.media.string={props:function(f,i){var h,c,e,g,d;d=function(j){if(&quot;image&quot;===j.type&amp;&amp;!j.alt){j.alt=j.caption||j.title||&quot;&quot;;j.alt=j.alt.replace(/&lt;\/?[^&gt;]+&gt;/g,&quot;&quot;)}return j};f=f?_.clone(f):{};if(i&amp;&amp;i.type){f.type=i.type}if(&quot;image&quot;===f.type){f=_.defaults(f||{},{align:getUserSetting(&quot;align&quot;,&quot;none&quot;),size:getUserSetting(&quot;imgsize&quot;,&quot;medium&quot;),url:&quot;&quot;,classes:[]})}if(!i){return d(f)}f.title=f.title||i.title;h=f.link||getUserSetting(&quot;urlbutton&quot;,&quot;post&quot;);if(&quot;file&quot;===h){c=i.url}else{if(&quot;post&quot;===h){c=i.link}else{if(&quot;custom&quot;===h){c=f.linkUrl}}}f.linkUrl=c||&quot;&quot;;if(&quot;image&quot;===i.type){f.classes.push(&quot;wp-image-&quot;+i.id);g=i.sizes;e=g&amp;&amp;g[f.size]?g[f.size]:i;_.extend(f,_.pick(i,&quot;align&quot;,&quot;caption&quot;,&quot;alt&quot;),{width:e.width,height:e.height,src:e.u
 rl,captionId:&quot;attachment_&quot;+i.id})}else{f.title=f.title||i.filename;f.rel=f.rel||&quot;attachment wp-att-&quot;+i.id}return d(f)},link:function(d,e){var c;d=wp.media.string.props(d,e);c={tag:&quot;a&quot;,content:d.title,attrs:{href:d.linkUrl}};if(d.rel){c.attrs.rel=d.rel}return wp.html.string(c)},image:function(g,i){var c={},d,f,h,e;g=wp.media.string.props(g,i);f=g.classes||[];c.src=g.url;_.extend(c,_.pick(g,&quot;width&quot;,&quot;height&quot;,&quot;alt&quot;));if(g.align&amp;&amp;!g.caption){f.push(&quot;align&quot;+g.align)}if(g.size){f.push(&quot;size-&quot;+g.size)}c[&quot;class&quot;]=_.compact(f).join(&quot; &quot;);d={tag:&quot;img&quot;,attrs:c,single:true};if(g.linkUrl){d={tag:&quot;a&quot;,attrs:{href:g.linkUrl},content:d}}e=wp.html.string(d);if(g.caption){h={};if(c.width){h.width=c.width}if(g.captionId){h.id=g.captionId}if(g.align){h.align=&quot;align&quot;+g.align}e=wp.shortcode.string({tag:&quot;caption&quot;,attrs:h,content:e+&quot; &quot;+g.caption}
 )}return e}};wp.media.gallery=(function(){var c={};return{defaults:{order:&quot;ASC&quot;,id:wp.media.view.settings.postId,itemtag:&quot;dl&quot;,icontag:&quot;dt&quot;,captiontag:&quot;dd&quot;,columns:3,size:&quot;thumbnail&quot;,orderby:&quot;menu_order ID&quot;},attachments:function(h){var j=h.string(),d=c[j],f,e,i,g;delete c[j];if(d){return d}f=_.defaults(h.attrs.named,wp.media.gallery.defaults);e=_.pick(f,&quot;orderby&quot;,&quot;order&quot;);e.type=&quot;image&quot;;e.perPage=-1;if(!f.orderby||/^menu_order(?: ID)?$/i.test(f.orderby)){e.orderby=&quot;menuOrder&quot;}if(f.ids){e.post__in=f.ids.split(&quot;,&quot;);e.orderby=&quot;post__in&quot;}else{if(f.include){e.post__in=f.include.split(&quot;,&quot;)}}if(f.exclude){e.post__not_in=f.exclude.split(&quot;,&quot;)}if(!e.post__in){e.uploadedTo=f.id}g=_.omit(f,&quot;id&quot;,&quot;ids&quot;,&quot;include&quot;,&quot;exclude&quot;,&quot;orderby&quot;,&quot;order&quot;);i=media.query(e);i.gallery=new Backbone.Model(g);retu
 rn i},shortcode:function(d){var f=d.props.toJSON(),e=_.pick(f,&quot;orderby&quot;,&quot;order&quot;),g,h;if(d.gallery){_.extend(e,d.gallery.toJSON())}e.ids=d.pluck(&quot;id&quot;);if(f.uploadedTo){e.id=f.uploadedTo}if(e.ids&amp;&amp;&quot;post__in&quot;===e.orderby){delete e.orderby}_.each(wp.media.gallery.defaults,function(j,i){if(j===e[i]){delete e[i]}});g=new wp.shortcode({tag:&quot;gallery&quot;,attrs:e,type:&quot;single&quot;});h=new wp.media.model.Attachments(d.models,{props:f});h.gallery=d.gallery;c[g.string()]=h;return g},edit:function(g){var f=wp.shortcode.next(&quot;gallery&quot;,g),h=wp.media.gallery.defaults.id,d,e;if(!f||f.content!==g){return}f=f.shortcode;if(_.isUndefined(f.get(&quot;id&quot;))&amp;&amp;!_.isUndefined(h)){f.set(&quot;id&quot;,h)}d=wp.media.gallery.attachments(f);e=new wp.media.model.Selection(d.models,{props:d.props.toJSON(),multiple:true});e.gallery=d.gallery;e.more().done(function(){e.props.set({query:false});e.unmirror();e.props.unset(&quot;
 orderby&quot;)});if(this.frame){this.frame.dispose()}this.frame=wp.media({frame:&quot;post&quot;,state:&quot;gallery-edit&quot;,title:wp.media.view.l10n.editGalleryTitle,editing:true,multiple:true,selection:e});return this.frame}}}());wp.media.editor={insert:function(g){var d=typeof(tinymce)!=&quot;undefined&quot;,j=typeof(QTags)!=&quot;undefined&quot;,c=window.wpActiveEditor,f;if(window.send_to_editor){return window.send_to_editor.apply(this,arguments)}if(!c){if(d&amp;&amp;tinymce.activeEditor){f=tinymce.activeEditor;c=window.wpActiveEditor=f.id}else{if(!j){return false}}}else{if(d){if(tinymce.activeEditor&amp;&amp;(tinymce.activeEditor.id==&quot;mce_fullscreen&quot;||tinymce.activeEditor.id==&quot;wp_mce_fullscreen&quot;)){f=tinymce.activeEditor}else{f=tinymce.get(c)}}}if(f&amp;&amp;!f.isHidden()){if(tinymce.isIE&amp;&amp;f.windowManager.insertimagebookmark){f.selection.moveToBookmark(f.windowManager.insertimagebookmark)}if(g.indexOf(&quot;[caption&quot;)===0){if(f.wpSetIm
 gCaption){g=f.wpSetImgCaption(g)}}else{if(g.indexOf(&quot;[gallery&quot;)===0){if(f.plugins.wpgallery){g=f.plugins.wpgallery._do_gallery(g)}}else{if(g.indexOf(&quot;[embed&quot;)===0){if(f.plugins.wordpress){g=f.plugins.wordpress._setEmbed(g)}}}}f.execCommand(&quot;mceInsertContent&quot;,false,g)}else{if(j){QTags.insertContent(g)}else{document.getElementById(c).value+=g}}if(window.tb_remove){try{window.tb_remove()}catch(i){}}},add:function(e,c){var d=this.get(e);if(d){return d}d=a[e]=wp.media(_.defaults(c||{},{frame:&quot;post&quot;,title:wp.media.view.l10n.addMedia,multiple:true}));d.on(&quot;insert&quot;,function(f){var g=d.state();f=f||g.get(&quot;selection&quot;);if(!f){return}f.each(function(i){var h=g.display(i).toJSON();this.send.attachment(h,i.toJSON())},this)},this);d.state(&quot;gallery-edit&quot;).on(&quot;update&quot;,function(f){this.insert(wp.media.gallery.shortcode(f).string())},this);d.state(&quot;embed&quot;).on(&quot;select&quot;,function(){var f=d.state().
 toJSON();f.url=f.url||&quot;&quot;;if(&quot;link&quot;===f.type){_.defaults(f,{title:f.url,linkUrl:f.url});this.send.link(f)}else{if(&quot;image&quot;===f.type){_.defaults(f,{title:f.url,linkUrl:&quot;&quot;,align:&quot;none&quot;,link:&quot;none&quot;});if(&quot;none&quot;===f.link){f.linkUrl=&quot;&quot;}else{if(&quot;file&quot;===f.link){f.linkUrl=f.url}}this.insert(wp.media.string.image(f))}}},this);return d},get:function(c){return a[c]},remove:function(c){delete a[c]},send:{attachment:function(f,g){var c=g.caption,d,e;if(!wp.media.view.settings.captions){delete g.caption}f=wp.media.string.props(f,g);d={id:g.id};if(f.linkUrl){d.url=f.linkUrl}if(&quot;image&quot;===g.type){e=wp.media.string.image(f);d.post_excerpt=c;_.each({align:&quot;align&quot;,size:&quot;image-size&quot;,alt:&quot;image_alt&quot;},function(h,i){if(f[i]){d[h]=f[i]}})}else{e=wp.media.string.link(f);d.post_title=f.title}return media.post(&quot;send-attachment-to-editor&quot;,{nonce:wp.media.view.settings
 .nonce.sendToEditor,attachment:d,html:e,post_id:wp.media.view.settings.postId}).done(function(h){wp.media.editor.insert(h)})},link:function(c){return media.post(&quot;send-link-to-editor&quot;,{nonce:wp.media.view.settings.nonce.sendToEditor,src:c.linkUrl,title:c.title,html:wp.media.string.link(c),post_id:wp.media.view.settings.postId}).done(function(d){wp.media.editor.insert(d)})}},init:function(){b(document.body).on(&quot;click&quot;,&quot;.insert-media&quot;,function(d){var e=b(this),c=e.data(&quot;editor&quot;);d.preventDefault();e.blur();wp.media.editor.open(c)})},open:function(e){var d,c;e=e||wpActiveEditor;if(typeof tinymce!==&quot;undefined&quot;&amp;&amp;tinymce.activeEditor){if(!e){c=tinymce.activeEditor;e=e||c.id}else{c=tinymce.get(e)}if(tinymce.isIE&amp;&amp;c&amp;&amp;!c.isHidden()){c.focus();c.windowManager.insertimagebookmark=c.selection.getBookmark()}}e=e||&quot;&quot;;d=wp.media.editor.get(e);if(d){d.open()}else{d=wp.media.editor.add(e)}return d}};b(wp.media
 .editor.init)}(jQuery));
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(b){var a={};wp.media.string={props:function(f,i){var h,c,e,g,d;d=function(j){if(&quot;image&quot;===j.type&amp;&amp;!j.alt){j.alt=j.caption||j.title||&quot;&quot;;j.alt=j.alt.replace(/&lt;\/?[^&gt;]+&gt;/g,&quot;&quot;)}return j};f=f?_.clone(f):{};if(i&amp;&amp;i.type){f.type=i.type}if(&quot;image&quot;===f.type){f=_.defaults(f||{},{align:getUserSetting(&quot;align&quot;,&quot;none&quot;),size:getUserSetting(&quot;imgsize&quot;,&quot;medium&quot;),url:&quot;&quot;,classes:[]})}if(!i){return d(f)}f.title=f.title||i.title;h=f.link||getUserSetting(&quot;urlbutton&quot;,&quot;post&quot;);if(&quot;file&quot;===h){c=i.url}else{if(&quot;post&quot;===h){c=i.link}else{if(&quot;custom&quot;===h){c=f.linkUrl}}}f.linkUrl=c||&quot;&quot;;if(&quot;image&quot;===i.type){f.classes.push(&quot;wp-image-&quot;+i.id);g=i.sizes;e=g&amp;&amp;g[f.size]?g[f.size]:i;_.extend(f,_.pick(i,&quot;align&quot;,&quot;caption&quot;,&quot;alt&quot;),{width:e.width,height:e.height,src:e.u
 rl,captionId:&quot;attachment_&quot;+i.id})}else{f.title=f.title||i.filename;f.rel=f.rel||&quot;attachment wp-att-&quot;+i.id}return d(f)},link:function(d,e){var c;d=wp.media.string.props(d,e);c={tag:&quot;a&quot;,content:d.title,attrs:{href:d.linkUrl}};if(d.rel){c.attrs.rel=d.rel}return wp.html.string(c)},image:function(g,i){var c={},d,f,h,e;g=wp.media.string.props(g,i);f=g.classes||[];c.src=g.url;_.extend(c,_.pick(g,&quot;width&quot;,&quot;height&quot;,&quot;alt&quot;));if(g.align&amp;&amp;!g.caption){f.push(&quot;align&quot;+g.align)}if(g.size){f.push(&quot;size-&quot;+g.size)}c[&quot;class&quot;]=_.compact(f).join(&quot; &quot;);d={tag:&quot;img&quot;,attrs:c,single:true};if(g.linkUrl){d={tag:&quot;a&quot;,attrs:{href:g.linkUrl},content:d}}e=wp.html.string(d);if(g.caption){h={};if(c.width){h.width=c.width}if(g.captionId){h.id=g.captionId}if(g.align){h.align=&quot;align&quot;+g.align}e=wp.shortcode.string({tag:&quot;caption&quot;,attrs:h,content:e+&quot; &quot;+g.caption}
 )}return e}};wp.media.gallery=(function(){var c={};return{defaults:{order:&quot;ASC&quot;,id:wp.media.view.settings.postId,itemtag:&quot;dl&quot;,icontag:&quot;dt&quot;,captiontag:&quot;dd&quot;,columns:3,size:&quot;thumbnail&quot;,orderby:&quot;menu_order ID&quot;},attachments:function(h){var j=h.string(),d=c[j],f,e,i,g;delete c[j];if(d){return d}f=_.defaults(h.attrs.named,wp.media.gallery.defaults);e=_.pick(f,&quot;orderby&quot;,&quot;order&quot;);e.type=&quot;image&quot;;e.perPage=-1;if(!f.orderby||/^menu_order(?: ID)?$/i.test(f.orderby)){e.orderby=&quot;menuOrder&quot;}if(f.ids){e.post__in=f.ids.split(&quot;,&quot;);e.orderby=&quot;post__in&quot;}else{if(f.include){e.post__in=f.include.split(&quot;,&quot;)}}if(f.exclude){e.post__not_in=f.exclude.split(&quot;,&quot;)}if(!e.post__in){e.uploadedTo=f.id}g=_.omit(f,&quot;id&quot;,&quot;ids&quot;,&quot;include&quot;,&quot;exclude&quot;,&quot;orderby&quot;,&quot;order&quot;);i=wp.media.query(e);i.gallery=new Backbone.Model(g);r
 eturn i},shortcode:function(d){var f=d.props.toJSON(),e=_.pick(f,&quot;orderby&quot;,&quot;order&quot;),g,h;if(d.gallery){_.extend(e,d.gallery.toJSON())}e.ids=d.pluck(&quot;id&quot;);if(f.uploadedTo){e.id=f.uploadedTo}if(e.ids&amp;&amp;&quot;post__in&quot;===e.orderby){delete e.orderby}_.each(wp.media.gallery.defaults,function(j,i){if(j===e[i]){delete e[i]}});g=new wp.shortcode({tag:&quot;gallery&quot;,attrs:e,type:&quot;single&quot;});h=new wp.media.model.Attachments(d.models,{props:f});h.gallery=d.gallery;c[g.string()]=h;return g},edit:function(g){var f=wp.shortcode.next(&quot;gallery&quot;,g),h=wp.media.gallery.defaults.id,d,e;if(!f||f.content!==g){return}f=f.shortcode;if(_.isUndefined(f.get(&quot;id&quot;))&amp;&amp;!_.isUndefined(h)){f.set(&quot;id&quot;,h)}d=wp.media.gallery.attachments(f);e=new wp.media.model.Selection(d.models,{props:d.props.toJSON(),multiple:true});e.gallery=d.gallery;e.more().done(function(){e.props.set({query:false});e.unmirror();e.props.unset(&qu
 ot;orderby&quot;)});if(this.frame){this.frame.dispose()}this.frame=wp.media({frame:&quot;post&quot;,state:&quot;gallery-edit&quot;,title:wp.media.view.l10n.editGalleryTitle,editing:true,multiple:true,selection:e});return this.frame}}}());wp.media.editor={insert:function(g){var d=typeof(tinymce)!=&quot;undefined&quot;,j=typeof(QTags)!=&quot;undefined&quot;,c=window.wpActiveEditor,f;if(window.send_to_editor){return window.send_to_editor.apply(this,arguments)}if(!c){if(d&amp;&amp;tinymce.activeEditor){f=tinymce.activeEditor;c=window.wpActiveEditor=f.id}else{if(!j){return false}}}else{if(d){if(tinymce.activeEditor&amp;&amp;(tinymce.activeEditor.id==&quot;mce_fullscreen&quot;||tinymce.activeEditor.id==&quot;wp_mce_fullscreen&quot;)){f=tinymce.activeEditor}else{f=tinymce.get(c)}}}if(f&amp;&amp;!f.isHidden()){if(tinymce.isIE&amp;&amp;f.windowManager.insertimagebookmark){f.selection.moveToBookmark(f.windowManager.insertimagebookmark)}if(g.indexOf(&quot;[caption&quot;)===0){if(f.wpSe
 tImgCaption){g=f.wpSetImgCaption(g)}}else{if(g.indexOf(&quot;[gallery&quot;)===0){if(f.plugins.wpgallery){g=f.plugins.wpgallery._do_gallery(g)}}else{if(g.indexOf(&quot;[embed&quot;)===0){if(f.plugins.wordpress){g=f.plugins.wordpress._setEmbed(g)}}}}f.execCommand(&quot;mceInsertContent&quot;,false,g)}else{if(j){QTags.insertContent(g)}else{document.getElementById(c).value+=g}}if(window.tb_remove){try{window.tb_remove()}catch(i){}}},add:function(e,c){var d=this.get(e);if(d){return d}d=a[e]=wp.media(_.defaults(c||{},{frame:&quot;post&quot;,title:wp.media.view.l10n.addMedia,multiple:true}));d.on(&quot;insert&quot;,function(f){var g=d.state();f=f||g.get(&quot;selection&quot;);if(!f){return}f.each(function(i){var h=g.display(i).toJSON();this.send.attachment(h,i.toJSON())},this)},this);d.state(&quot;gallery-edit&quot;).on(&quot;update&quot;,function(f){this.insert(wp.media.gallery.shortcode(f).string())},this);d.state(&quot;embed&quot;).on(&quot;select&quot;,function(){var f=d.state
 ().toJSON();f.url=f.url||&quot;&quot;;if(&quot;link&quot;===f.type){_.defaults(f,{title:f.url,linkUrl:f.url});this.send.link(f)}else{if(&quot;image&quot;===f.type){_.defaults(f,{title:f.url,linkUrl:&quot;&quot;,align:&quot;none&quot;,link:&quot;none&quot;});if(&quot;none&quot;===f.link){f.linkUrl=&quot;&quot;}else{if(&quot;file&quot;===f.link){f.linkUrl=f.url}}this.insert(wp.media.string.image(f))}}},this);return d},get:function(c){return a[c]},remove:function(c){delete a[c]},send:{attachment:function(f,g){var c=g.caption,d,e;if(!wp.media.view.settings.captions){delete g.caption}f=wp.media.string.props(f,g);d={id:g.id};if(f.linkUrl){d.url=f.linkUrl}if(&quot;image&quot;===g.type){e=wp.media.string.image(f);d.post_excerpt=c;_.each({align:&quot;align&quot;,size:&quot;image-size&quot;,alt:&quot;image_alt&quot;},function(h,i){if(f[i]){d[h]=f[i]}})}else{e=wp.media.string.link(f);d.post_title=f.title}return wp.media.post(&quot;send-attachment-to-editor&quot;,{nonce:wp.media.view.se
 ttings.nonce.sendToEditor,attachment:d,html:e,post_id:wp.media.view.settings.postId}).done(function(h){wp.media.editor.insert(h)})},link:function(c){return wp.media.post(&quot;send-link-to-editor&quot;,{nonce:wp.media.view.settings.nonce.sendToEditor,src:c.linkUrl,title:c.title,html:wp.media.string.link(c),post_id:wp.media.view.settings.postId}).done(function(d){wp.media.editor.insert(d)})}},init:function(){b(document.body).on(&quot;click&quot;,&quot;.insert-media&quot;,function(d){var e=b(this),c=e.data(&quot;editor&quot;);d.preventDefault();e.blur();wp.media.editor.open(c)})},open:function(e){var d,c;e=e||wpActiveEditor;if(typeof tinymce!==&quot;undefined&quot;&amp;&amp;tinymce.activeEditor){if(!e){c=tinymce.activeEditor;e=e||c.id}else{c=tinymce.get(e)}if(tinymce.isIE&amp;&amp;c&amp;&amp;!c.isHidden()){c.focus();c.windowManager.insertimagebookmark=c.selection.getBookmark()}}e=e||&quot;&quot;;d=wp.media.editor.get(e);if(d){d.open()}else{d=wp.media.editor.add(e)}return d}};b
 (wp.media.editor.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 (22972 => 22973)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-12-02 16:55:58 UTC (rev 22972)
+++ trunk/wp-includes/version.php        2012-12-02 16:57:38 UTC (rev 22973)
</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-RC2-22971';
</del><ins>+$wp_version = '3.5-RC2-22973';
</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>