<!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>[22645] trunk/wp-includes: Compress scripts/styles: 3.5-beta3-22645.</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/22645">22645</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-11-18 18:58:32 +0000 (Sun, 18 Nov 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.5-beta3-22645. TinyMCE updated.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludescssadminbarrtlmincss">trunk/wp-includes/css/admin-bar-rtl.min.css</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpeditimageeditor_pluginjs">trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js</a></li>
<li><a href="#trunkwpincludesjstinymcewptinymcejsgz">trunk/wp-includes/js/tinymce/wp-tinymce.js.gz</a></li>
<li><a href="#trunkwpincludesversionphp">trunk/wp-includes/version.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludescssadminbarrtlmincss"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/css/admin-bar-rtl.min.css (22644 => 22645)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/css/admin-bar-rtl.min.css        2012-11-18 18:04:20 UTC (rev 22644)
+++ trunk/wp-includes/css/admin-bar-rtl.min.css        2012-11-18 18:58:32 UTC (rev 22645)
</span><span class="lines">@@ -1 +1 @@
</span><del>-#wpadminbar *{font-family:Tahoma,Arial,Helvetica,sans-serif}#wpadminbar{direction:rtl;font-family:Tahoma,Arial,Helvetica,sans-serif;left:auto;right:0}#wpadminbar .quicklinks{border-left:0;border-right:1px solid transparent}#wpadminbar .quicklinks ul{text-align:right}#wpadminbar li{float:right}#wpadminbar .quicklinks&gt;ul&gt;li{border-right:0;border-left:1px solid #555}#wpadminbar .quicklinks&gt;ul&gt;li&gt;a,#wpadminbar .quicklinks&gt;ul&gt;li&gt;.ab-empty-item{border-right:0;border-left:1px solid #333}#wpadminbar .quicklinks .ab-top-secondary&gt;li{border-left:0;border-right:1px solid #333;float:left}#wpadminbar .quicklinks .ab-top-secondary&gt;li&gt;a,#wpadminbar .quicklinks .ab-top-secondary&gt;li&gt;.ab-empty-item{border-right:1px solid #555;border-left:0}#wpadminbar .menupop .ab-sub-wrapper,#wpadminbar .shortlink-input{margin:0 -1px 0 0}#wpadminbar.ie7 .menupop .ab-sub-wrapper,#wpadminbar.ie7 .shortlink-input{left:auto;right:0}#wpadminbar .ab-top-secondary 
 .menupop .ab-sub-wrapper{right:auto;left:0;margin:0 0 0 -1px}#wpadminbar .menupop li:hover&gt;.ab-sub-wrapper,#wpadminbar .menupop li.hover&gt;.ab-sub-wrapper{margin-left:0;margin-right:100%}#wpadminbar .ab-top-secondary .menupop li:hover&gt;.ab-sub-wrapper,#wpadminbar .ab-top-secondary .menupop li.hover&gt;.ab-sub-wrapper{margin-left:inherit;margin-right:0;left:100%;right:inherit}#wpadminbar .menupop .menupop&gt;.ab-item{background-position:5% -46px;padding-left:2em;padding-right:1em}#wpadminbar .ab-top-secondary .menupop .menupop&gt;.ab-item{background-position:95% -20px;padding-left:1em;padding-right:2em}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary{right:0;left:auto}#wpadminbar .ab-top-secondary{float:left;right:auto;left:0}#wpadminbar ul li:last-child,#wpadminbar ul li:last-child .ab-item{border-left:0}#wpadminbar .screen-reader-shortcut:focus{left:auto;right:6px}#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions&gt;li{margin-right:88px;m
 argin-left:16px}#wp-admin-bar-user-actions&gt;li&gt;.ab-item{padding-left:0;padding-right:8px}#wp-admin-bar-user-info .avatar{left:auto;right:-72px}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar&gt;a img{margin-left:-1px;margin-right:4px}#wpadminbar .quicklinks li .blavatar{margin-right:0;margin-left:4px}#wpadminbar #adminbarsearch .adminbar-input{font-family:Tahoma,Arial,Helvetica,sans-serif;padding:0 24px 0 3px;margin:0;background-position:50% 2px}#wpadminbar #adminbarsearch .adminbar-input:focus,#wpadminbar.ie7 #adminbarsearch .adminbar-input{background-position:99% 2px}#wpadminbar .ab-icon{float:right}.ie7 #wp-admin-bar-wp-logo&gt;.ab-item .ab-icon{position:static}#wpadminbar.ie7 .ab-icon{float:left;left:12px}#wpadminbar .ab-label{margin-left:0;margin-right:4px;float:left}#wpadminbar.ie7 .ab-label{margin-right:0}#wpadminbar.ie7 #wp-admin-bar-comments&gt;a{min-width:25px}#wpadminbar a:hover .ab-comments-icon-arrow{border-right-color:#bbb}#wpadminbar .menup
 op .ab-sub-wrapper,#wpadminbar .shortlink-input{right:0}#wpadminbar .quicklinks .menupop ul li a{position:relative}* html #wpadminbar .quicklinks ul li a{float:right}
</del><span class="cx">\ No newline at end of file
</span><ins>+#wpadminbar *{font-family:Tahoma,Arial,Helvetica,sans-serif}#wpadminbar{direction:rtl;font-family:Tahoma,Arial,Helvetica,sans-serif;left:auto;right:0}#wpadminbar .quicklinks ul{text-align:right}#wpadminbar li{float:right}#wpadminbar .quicklinks&gt;ul&gt;li{border-right:0;border-left:1px solid #555}#wpadminbar .quicklinks&gt;ul&gt;li&gt;a,#wpadminbar .quicklinks&gt;ul&gt;li&gt;.ab-empty-item{border-right:0;border-left:1px solid #333}#wpadminbar .quicklinks .ab-top-secondary&gt;li{border-left:0;border-right:1px solid #333;float:left}#wpadminbar .quicklinks .ab-top-secondary&gt;li&gt;a,#wpadminbar .quicklinks .ab-top-secondary&gt;li&gt;.ab-empty-item{border-right:1px solid #555;border-left:0}#wpadminbar .menupop .ab-sub-wrapper,#wpadminbar .shortlink-input{margin:0 -1px 0 0}#wpadminbar.ie7 .menupop .ab-sub-wrapper,#wpadminbar.ie7 .shortlink-input{left:auto;right:0}#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper{right:auto;left:0;margin:0 0 0 -1px}#wpadminbar 
 .menupop li:hover&gt;.ab-sub-wrapper,#wpadminbar .menupop li.hover&gt;.ab-sub-wrapper{margin-left:0;margin-right:100%}#wpadminbar .ab-top-secondary .menupop li:hover&gt;.ab-sub-wrapper,#wpadminbar .ab-top-secondary .menupop li.hover&gt;.ab-sub-wrapper{margin-left:inherit;margin-right:0;left:100%;right:inherit}#wpadminbar .menupop .menupop&gt;.ab-item{background-position:5% -46px;padding-left:2em;padding-right:1em}#wpadminbar .ab-top-secondary .menupop .menupop&gt;.ab-item{background-position:95% -20px;padding-left:1em;padding-right:2em}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary{right:0;left:auto}#wpadminbar .ab-top-secondary{float:left;right:auto;left:0}#wpadminbar ul li:last-child,#wpadminbar ul li:last-child .ab-item{border-left:0}#wpadminbar .screen-reader-shortcut:focus{left:auto;right:6px}#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions&gt;li{margin-right:88px;margin-left:16px}#wp-admin-bar-user-actions&gt;li&gt;.ab-item{padding-left
 :0;padding-right:8px}#wp-admin-bar-user-info .avatar{left:auto;right:-72px}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar&gt;a img{margin-left:-1px;margin-right:4px}#wpadminbar .quicklinks li .blavatar{margin-right:0;margin-left:4px}#wpadminbar #adminbarsearch .adminbar-input{font-family:Tahoma,Arial,Helvetica,sans-serif;padding:0 24px 0 3px;margin:0;background-position:50% 2px}#wpadminbar #adminbarsearch .adminbar-input:focus,#wpadminbar.ie7 #adminbarsearch .adminbar-input{background-position:99% 2px}#wpadminbar .ab-icon{float:right}.ie7 #wp-admin-bar-wp-logo&gt;.ab-item .ab-icon{position:static}#wpadminbar.ie7 .ab-icon{float:left;left:12px}#wpadminbar .ab-label{margin-left:0;margin-right:4px;float:left}#wpadminbar.ie7 .ab-label{margin-right:0}#wpadminbar.ie7 #wp-admin-bar-comments&gt;a{min-width:25px}#wpadminbar a:hover .ab-comments-icon-arrow{border-right-color:#bbb}#wpadminbar .menupop .ab-sub-wrapper,#wpadminbar .shortlink-input{right:0}#wpadminbar .quic
 klinks .menupop ul li a{position:relative}* html #wpadminbar .quicklinks ul li a{float:right}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjstinymcepluginswpeditimageeditor_pluginjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js (22644 => 22645)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js        2012-11-18 18:04:20 UTC (rev 22644)
+++ trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js        2012-11-18 18:58:32 UTC (rev 22645)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(){tinymce.create(&quot;tinymce.plugins.wpEditImage&quot;,{url:&quot;&quot;,editor:{},init:function(a,c){var d=this,b={};d.url=c;d.editor=a;d._createButtons();a.addCommand(&quot;WP_EditImage&quot;,d._editImage);a.onInit.add(function(e){e.dom.events.add(e.getBody(),&quot;mousedown&quot;,function(g){var f;if(g.target.nodeName==&quot;IMG&quot;&amp;&amp;(f=e.dom.getParent(g.target,&quot;div.mceTemp&quot;))){if(tinymce.isGecko){e.selection.select(f)}else{if(tinymce.isWebKit){e.dom.events.prevent(g)}}}});e.dom.events.add(e.getBody(),&quot;keydown&quot;,function(j){var k,f,i,h,g;if(j.keyCode==13){k=e.selection.getNode();f=e.dom.getParent(k,&quot;dl.wp-caption&quot;);if(f){i=e.dom.getParent(f,&quot;div.mceTemp&quot;)}if(i){e.dom.events.cancel(j);h=e.dom.create(&quot;p&quot;,{},&quot;\uFEFF&quot;);e.dom.insertAfter(h,i);e.selection.setCursorLocation(h,0);return false}}});if(&quot;ontouchstart&quot; in window){e.dom.events.add(e.getBody(),&quot;touchstart&quot;,fu
 nction(f){d._showButtons(f)})}});a.onMouseUp.add(function(f,g){if(tinymce.isWebKit||tinymce.isOpera){return}if(b.x&amp;&amp;(g.clientX!=b.x||g.clientY!=b.y)){var h=f.selection.getNode();if(&quot;IMG&quot;==h.nodeName){window.setTimeout(function(){var e=f.dom.getParent(h,&quot;dl.wp-caption&quot;),i;if(h.width!=b.img_w||h.height!=b.img_h){h.className=h.className.replace(/size-[^ &quot;']+/,&quot;&quot;)}if(e){i=f.dom.getAttrib(h,&quot;width&quot;)||h.width;i=parseInt(i,10);f.dom.setStyle(e,&quot;width&quot;,10+i);f.execCommand(&quot;mceRepaint&quot;)}},100)}}b={}});a.onMouseDown.add(function(f,g){d._showButtons(g)});a.onBeforeSetContent.add(function(e,f){f.content=e.wpSetImgCaption(f.content)});a.onPostProcess.add(function(e,f){if(f.get){f.content=e.wpGetImgCaption(f.content)}});a.wpSetImgCaption=function(e){return d._do_shcode(e)};a.wpGetImgCaption=function(e){return d._get_shcode(e)}},_do_shcode:function(a){return a.replace(/(?:&lt;p&gt;)?\[(?:wp_)?caption([^\]]+)\]([\s\S]+
 ?)\[\/(?:wp_)?caption\](?:&lt;\/p&gt;)?/g,function(j,i,h){var d,m,k,l,f,g,e=tinymce.trim;d=i.match(/id=['&quot;]([^'&quot;]*)['&quot;] ?/);if(d){i=i.replace(d[0],&quot;&quot;)}m=i.match(/align=['&quot;]([^'&quot;]*)['&quot;] ?/);if(m){i=i.replace(m[0],&quot;&quot;)}k=i.match(/width=['&quot;]([0-9]*)['&quot;] ?/);if(k){i=i.replace(k[0],&quot;&quot;)}h=e(h);g=h.match(/((?:&lt;a [^&gt;]+&gt;)?&lt;img [^&gt;]+&gt;(?:&lt;\/a&gt;)?)([\s\S]*)/i);if(g&amp;&amp;g[2]){l=e(g[2]);g=e(g[1])}else{l=e(i).replace(/caption=['&quot;]/,&quot;&quot;).replace(/['&quot;]$/,&quot;&quot;);g=h}d=(d&amp;&amp;d[1])?d[1]:&quot;&quot;;m=(m&amp;&amp;m[1])?m[1]:&quot;alignnone&quot;;k=(k&amp;&amp;k[1])?k[1]:&quot;&quot;;if(!k||!l){return h}f=&quot;mceTemp&quot;;if(m==&quot;aligncenter&quot;){f+=&quot; mceIEcenter&quot;}return'&lt;div class=&quot;'+f+'&quot;&gt;&lt;dl id=&quot;'+d+'&quot; class=&quot;wp-caption '+m+'&quot; style=&quot;width: '+(10+parseInt(k))+'px&quot;&gt;&lt;dt class=&quot;wp-caption-dt&
 quot;&gt;'+g+'&lt;/dt&gt;&lt;dd class=&quot;wp-caption-dd&quot;&gt;'+l+&quot;&lt;/dd&gt;&lt;/dl&gt;&lt;/div&gt;&quot;})},_get_shcode:function(a){return a.replace(/&lt;div (?:id=&quot;attachment_|class=&quot;mceTemp)[^&gt;]*&gt;([\s\S]+?)&lt;\/div&gt;/g,function(d,c){var e=c.replace(/&lt;dl ([^&gt;]+)&gt;\s*&lt;dt [^&gt;]+&gt;([\s\S]+?)&lt;\/dt&gt;\s*&lt;dd [^&gt;]+&gt;([\s\S]*?)&lt;\/dd&gt;\s*&lt;\/dl&gt;/gi,function(i,f,l,j){var k,h,g;g=l.match(/width=&quot;([0-9]*)&quot;/);g=(g&amp;&amp;g[1])?g[1]:&quot;&quot;;if(!g||!j){return l}k=f.match(/id=&quot;([^&quot;]*)&quot;/);k=(k&amp;&amp;k[1])?k[1]:&quot;&quot;;h=f.match(/class=&quot;([^&quot;]*)&quot;/);h=(h&amp;&amp;h[1])?h[1]:&quot;&quot;;h=h.match(/align[a-z]+/)||&quot;alignnone&quot;;j=j.replace(/\r\n|\r/g,&quot;\n&quot;).replace(/&lt;[a-zA-Z0-9]+( [^&lt;&gt;]+)?&gt;/g,function(b){return b.replace(/[\r\n\t]+/,&quot; &quot;)});j=j.replace(/\s*\n\s*/g,&quot;&lt;br /&gt;&quot;);return'[caption id=&quot;'+k+'&quot; align=&quo
 t;'+h+'&quot; width=&quot;'+g+'&quot;]'+l+&quot; &quot;+j+&quot;[/caption]&quot;});if(e.indexOf(&quot;[caption&quot;)!==0){e=c.replace(/[\s\S]*?((?:&lt;a [^&gt;]+&gt;)?&lt;img [^&gt;]+&gt;(?:&lt;\/a&gt;)?)(&lt;p&gt;[\s\S]*&lt;\/p&gt;)?[\s\S]*/gi,&quot;&lt;p&gt;$1&lt;/p&gt;$2&quot;)}return e})},_createButtons:function(){var b=this,a=b.editor,d=tinymce.DOM,e,c,f;f=(window.devicePixelRatio&amp;&amp;window.devicePixelRatio&gt;1)||(window.matchMedia&amp;&amp;window.matchMedia(&quot;(min-resolution:130dpi)&quot;).matches);d.remove(&quot;wp_editbtns&quot;);d.add(document.body,&quot;div&quot;,{id:&quot;wp_editbtns&quot;,style:&quot;display:none;&quot;});e=d.add(&quot;wp_editbtns&quot;,&quot;img&quot;,{src:f?b.url+&quot;/img/image-2x.png&quot;:b.url+&quot;/img/image.png&quot;,id:&quot;wp_editimgbtn&quot;,width:&quot;24&quot;,height:&quot;24&quot;,title:a.getLang(&quot;wpeditimage.edit_img&quot;)});tinymce.dom.Event.add(e,&quot;mousedown&quot;,function(g){b._editImage();a.plugins.word
 press._hideButtons()});c=d.add(&quot;wp_editbtns&quot;,&quot;img&quot;,{src:f?b.url+&quot;/img/delete-2x.png&quot;:b.url+&quot;/img/delete.png&quot;,id:&quot;wp_delimgbtn&quot;,width:&quot;24&quot;,height:&quot;24&quot;,title:a.getLang(&quot;wpeditimage.del_img&quot;)});tinymce.dom.Event.add(c,&quot;mousedown&quot;,function(i){var g=a.selection.getNode(),h;if(g.nodeName==&quot;IMG&quot;&amp;&amp;a.dom.getAttrib(g,&quot;class&quot;).indexOf(&quot;mceItem&quot;)==-1){if((h=a.dom.getParent(g,&quot;div&quot;))&amp;&amp;a.dom.hasClass(h,&quot;mceTemp&quot;)){a.dom.remove(h)}else{if((h=a.dom.getParent(g,&quot;A&quot;))&amp;&amp;h.childNodes.length==1){a.dom.remove(h)}else{a.dom.remove(g)}}a.execCommand(&quot;mceRepaint&quot;);return false}a.plugins.wordpress._hideButtons()})},_editImage:function(){var d=this.editor,e=this.url,g=d.selection.getNode(),c,f,a,b=g.className;if(b.indexOf(&quot;mceItem&quot;)!=-1||b.indexOf(&quot;wpGallery&quot;)!=-1||g.nodeName!=&quot;IMG&quot;){return}
 c=tinymce.DOM.getViewPort();f=680&lt;(c.h-70)?680:c.h-70;a=650&lt;c.w?650:c.w;d.windowManager.open({file:e+&quot;/editimage.html&quot;,width:a+&quot;px&quot;,height:f+&quot;px&quot;,inline:true})},_showButtons:function(c){var a=this.editor,b=c.target;if(b.nodeName!=&quot;IMG&quot;){if(b.firstChild&amp;&amp;b.firstChild.nodeName==&quot;IMG&quot;&amp;&amp;b.childNodes.length==1){b=b.firstChild}else{a.plugins.wordpress._hideButtons();return}}if(a.dom.getAttrib(b,&quot;class&quot;).indexOf(&quot;mceItem&quot;)==-1){mouse={x:c.clientX,y:c.clientY,img_w:b.clientWidth,img_h:b.clientHeight};if(c.type==&quot;touchstart&quot;){a.selection.select(b);a.dom.events.cancel(c)}a.plugins.wordpress._hideButtons();a.plugins.wordpress._showButtons(b,&quot;wp_editbtns&quot;)}},getInfo:function(){return{longname:&quot;Edit Image&quot;,author:&quot;WordPress&quot;,authorurl:&quot;http://wordpress.org&quot;,infourl:&quot;&quot;,version:&quot;1.0&quot;}}});tinymce.PluginManager.add(&quot;wpeditimage
 &quot;,tinymce.plugins.wpEditImage)})();
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(){tinymce.create(&quot;tinymce.plugins.wpEditImage&quot;,{url:&quot;&quot;,editor:{},init:function(a,c){var d=this,b={};d.url=c;d.editor=a;d._createButtons();a.addCommand(&quot;WP_EditImage&quot;,d._editImage);a.onInit.add(function(e){e.dom.events.add(e.getBody(),&quot;mousedown&quot;,function(g){var f;if(g.target.nodeName==&quot;IMG&quot;&amp;&amp;(f=e.dom.getParent(g.target,&quot;div.mceTemp&quot;))){if(tinymce.isGecko){e.selection.select(f)}else{if(tinymce.isWebKit){e.dom.events.prevent(g)}}}});e.dom.events.add(e.getBody(),&quot;keydown&quot;,function(j){var k,f,i,h,g;if(j.keyCode==13){k=e.selection.getNode();f=e.dom.getParent(k,&quot;dl.wp-caption&quot;);if(f){i=e.dom.getParent(f,&quot;div.mceTemp&quot;)}if(i){e.dom.events.cancel(j);h=e.dom.create(&quot;p&quot;,{},&quot;\uFEFF&quot;);e.dom.insertAfter(h,i);e.selection.setCursorLocation(h,0);return false}}});if(&quot;ontouchstart&quot; in window){e.dom.events.add(e.getBody(),&quot;touchstart&quot;,fu
 nction(f){d._showButtons(f)})}});a.onMouseUp.add(function(f,g){if(tinymce.isWebKit||tinymce.isOpera){return}if(b.x&amp;&amp;(g.clientX!=b.x||g.clientY!=b.y)){var h=f.selection.getNode();if(&quot;IMG&quot;==h.nodeName){window.setTimeout(function(){var e=f.dom.getParent(h,&quot;dl.wp-caption&quot;),i;if(h.width!=b.img_w||h.height!=b.img_h){h.className=h.className.replace(/size-[^ &quot;']+/,&quot;&quot;)}if(e){i=f.dom.getAttrib(h,&quot;width&quot;)||h.width;i=parseInt(i,10);f.dom.setStyle(e,&quot;width&quot;,10+i);f.execCommand(&quot;mceRepaint&quot;)}},100)}}b={}});a.onMouseDown.add(function(f,g){d._showButtons(g)});a.onBeforeSetContent.add(function(e,f){f.content=e.wpSetImgCaption(f.content)});a.onPostProcess.add(function(e,f){if(f.get){f.content=e.wpGetImgCaption(f.content)}});a.wpSetImgCaption=function(e){return d._do_shcode(e)};a.wpGetImgCaption=function(e){return d._get_shcode(e)};a.onBeforeExecCommand.add(function(e,h,g,j){var f,i;if(h==&quot;mceInsertContent&quot;){f=e
 .dom.getParent(e.selection.getNode(),&quot;div.mceTemp&quot;);if(!f){return}i=e.dom.create(&quot;p&quot;);e.dom.insertAfter(i,f);e.selection.setCursorLocation(i,0)}})},_do_shcode:function(a){return a.replace(/(?:&lt;p&gt;)?\[(?:wp_)?caption([^\]]+)\]([\s\S]+?)\[\/(?:wp_)?caption\](?:&lt;\/p&gt;)?/g,function(j,i,h){var d,m,k,l,f,g,e=tinymce.trim;d=i.match(/id=['&quot;]([^'&quot;]*)['&quot;] ?/);if(d){i=i.replace(d[0],&quot;&quot;)}m=i.match(/align=['&quot;]([^'&quot;]*)['&quot;] ?/);if(m){i=i.replace(m[0],&quot;&quot;)}k=i.match(/width=['&quot;]([0-9]*)['&quot;] ?/);if(k){i=i.replace(k[0],&quot;&quot;)}h=e(h);g=h.match(/((?:&lt;a [^&gt;]+&gt;)?&lt;img [^&gt;]+&gt;(?:&lt;\/a&gt;)?)([\s\S]*)/i);if(g&amp;&amp;g[2]){l=e(g[2]);g=e(g[1])}else{l=e(i).replace(/caption=['&quot;]/,&quot;&quot;).replace(/['&quot;]$/,&quot;&quot;);g=h}d=(d&amp;&amp;d[1])?d[1]:&quot;&quot;;m=(m&amp;&amp;m[1])?m[1]:&quot;alignnone&quot;;k=(k&amp;&amp;k[1])?k[1]:&quot;&quot;;if(!k||!l){return h}f=&quot;mceT
 emp&quot;;if(m==&quot;aligncenter&quot;){f+=&quot; mceIEcenter&quot;}return'&lt;div class=&quot;'+f+'&quot;&gt;&lt;dl id=&quot;'+d+'&quot; class=&quot;wp-caption '+m+'&quot; style=&quot;width: '+(10+parseInt(k))+'px&quot;&gt;&lt;dt class=&quot;wp-caption-dt&quot;&gt;'+g+'&lt;/dt&gt;&lt;dd class=&quot;wp-caption-dd&quot;&gt;'+l+&quot;&lt;/dd&gt;&lt;/dl&gt;&lt;/div&gt;&quot;})},_get_shcode:function(a){return a.replace(/&lt;div (?:id=&quot;attachment_|class=&quot;mceTemp)[^&gt;]*&gt;([\s\S]+?)&lt;\/div&gt;/g,function(d,c){var e=c.replace(/&lt;dl ([^&gt;]+)&gt;\s*&lt;dt [^&gt;]+&gt;([\s\S]+?)&lt;\/dt&gt;\s*&lt;dd [^&gt;]+&gt;([\s\S]*?)&lt;\/dd&gt;\s*&lt;\/dl&gt;/gi,function(i,f,l,j){var k,h,g;g=l.match(/width=&quot;([0-9]*)&quot;/);g=(g&amp;&amp;g[1])?g[1]:&quot;&quot;;if(!g||!j){return l}k=f.match(/id=&quot;([^&quot;]*)&quot;/);k=(k&amp;&amp;k[1])?k[1]:&quot;&quot;;h=f.match(/class=&quot;([^&quot;]*)&quot;/);h=(h&amp;&amp;h[1])?h[1]:&quot;&quot;;h=h.match(/align[a-z]+/)||&quot;
 alignnone&quot;;j=j.replace(/\r\n|\r/g,&quot;\n&quot;).replace(/&lt;[a-zA-Z0-9]+( [^&lt;&gt;]+)?&gt;/g,function(b){return b.replace(/[\r\n\t]+/,&quot; &quot;)});j=j.replace(/\s*\n\s*/g,&quot;&lt;br /&gt;&quot;);return'[caption id=&quot;'+k+'&quot; align=&quot;'+h+'&quot; width=&quot;'+g+'&quot;]'+l+&quot; &quot;+j+&quot;[/caption]&quot;});if(e.indexOf(&quot;[caption&quot;)!==0){e=c.replace(/[\s\S]*?((?:&lt;a [^&gt;]+&gt;)?&lt;img [^&gt;]+&gt;(?:&lt;\/a&gt;)?)(&lt;p&gt;[\s\S]*&lt;\/p&gt;)?[\s\S]*/gi,&quot;&lt;p&gt;$1&lt;/p&gt;$2&quot;)}return e})},_createButtons:function(){var b=this,a=b.editor,d=tinymce.DOM,e,c,f;f=(window.devicePixelRatio&amp;&amp;window.devicePixelRatio&gt;1)||(window.matchMedia&amp;&amp;window.matchMedia(&quot;(min-resolution:130dpi)&quot;).matches);d.remove(&quot;wp_editbtns&quot;);d.add(document.body,&quot;div&quot;,{id:&quot;wp_editbtns&quot;,style:&quot;display:none;&quot;});e=d.add(&quot;wp_editbtns&quot;,&quot;img&quot;,{src:f?b.url+&quot;/img/image
 -2x.png&quot;:b.url+&quot;/img/image.png&quot;,id:&quot;wp_editimgbtn&quot;,width:&quot;24&quot;,height:&quot;24&quot;,title:a.getLang(&quot;wpeditimage.edit_img&quot;)});tinymce.dom.Event.add(e,&quot;mousedown&quot;,function(g){b._editImage();a.plugins.wordpress._hideButtons()});c=d.add(&quot;wp_editbtns&quot;,&quot;img&quot;,{src:f?b.url+&quot;/img/delete-2x.png&quot;:b.url+&quot;/img/delete.png&quot;,id:&quot;wp_delimgbtn&quot;,width:&quot;24&quot;,height:&quot;24&quot;,title:a.getLang(&quot;wpeditimage.del_img&quot;)});tinymce.dom.Event.add(c,&quot;mousedown&quot;,function(i){var g=a.selection.getNode(),h;if(g.nodeName==&quot;IMG&quot;&amp;&amp;a.dom.getAttrib(g,&quot;class&quot;).indexOf(&quot;mceItem&quot;)==-1){if((h=a.dom.getParent(g,&quot;div&quot;))&amp;&amp;a.dom.hasClass(h,&quot;mceTemp&quot;)){a.dom.remove(h)}else{if((h=a.dom.getParent(g,&quot;A&quot;))&amp;&amp;h.childNodes.length==1){a.dom.remove(h)}else{a.dom.remove(g)}}a.execCommand(&quot;mceRepaint&quot;);r
 eturn false}a.plugins.wordpress._hideButtons()})},_editImage:function(){var d=this.editor,e=this.url,g=d.selection.getNode(),c,f,a,b=g.className;if(b.indexOf(&quot;mceItem&quot;)!=-1||b.indexOf(&quot;wpGallery&quot;)!=-1||g.nodeName!=&quot;IMG&quot;){return}c=tinymce.DOM.getViewPort();f=680&lt;(c.h-70)?680:c.h-70;a=650&lt;c.w?650:c.w;d.windowManager.open({file:e+&quot;/editimage.html&quot;,width:a+&quot;px&quot;,height:f+&quot;px&quot;,inline:true})},_showButtons:function(c){var a=this.editor,b=c.target;if(b.nodeName!=&quot;IMG&quot;){if(b.firstChild&amp;&amp;b.firstChild.nodeName==&quot;IMG&quot;&amp;&amp;b.childNodes.length==1){b=b.firstChild}else{a.plugins.wordpress._hideButtons();return}}if(a.dom.getAttrib(b,&quot;class&quot;).indexOf(&quot;mceItem&quot;)==-1){mouse={x:c.clientX,y:c.clientY,img_w:b.clientWidth,img_h:b.clientHeight};if(c.type==&quot;touchstart&quot;){a.selection.select(b);a.dom.events.cancel(c)}a.plugins.wordpress._hideButtons();a.plugins.wordpress._showB
 uttons(b,&quot;wp_editbtns&quot;)}},getInfo:function(){return{longname:&quot;Edit Image&quot;,author:&quot;WordPress&quot;,authorurl:&quot;http://wordpress.org&quot;,infourl:&quot;&quot;,version:&quot;1.0&quot;}}});tinymce.PluginManager.add(&quot;wpeditimage&quot;,tinymce.plugins.wpEditImage)})();
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjstinymcewptinymcejsgz"></a>
<div class="binary"><h4>Modified: trunk/wp-includes/js/tinymce/wp-tinymce.js.gz</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkwpincludesversionphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/version.php (22644 => 22645)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-11-18 18:04:20 UTC (rev 22644)
+++ trunk/wp-includes/version.php        2012-11-18 18:58:32 UTC (rev 22645)
</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-beta3-22642';
</del><ins>+$wp_version = '3.5-beta3-22645';
</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 class="lines">@@ -18,7 +18,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @global string $tinymce_version
</span><span class="cx">  */
</span><del>-$tinymce_version = '357-22607';
</del><ins>+$tinymce_version = '357-22645';
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Holds the required PHP version
</span></span></pre>
</div>
</div>

</body>
</html>