<!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>[22860] trunk/wp-includes: Compress scripts/styles: 3.5-RC1-22860.</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/22860">22860</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-11-27 02:58:50 +0000 (Tue, 27 Nov 2012)</dd>
</dl>

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

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjstinymcepluginswordpresseditor_pluginjs">trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpeditimageeditor_pluginjs">trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpgalleryeditor_pluginjs">trunk/wp-includes/js/tinymce/plugins/wpgallery/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="trunkwpincludesjstinymcepluginswordpresseditor_pluginjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js (22859 => 22860)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js        2012-11-27 02:27:11 UTC (rev 22859)
+++ trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js        2012-11-27 02:58:50 UTC (rev 22860)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(){var a=tinymce.DOM;tinymce.create(&quot;tinymce.plugins.WordPress&quot;,{showButtons:0,init:function(f,c){var j=this,e=f.getParam(&quot;wordpress_adv_toolbar&quot;,&quot;toolbar2&quot;),i=0,d,b,h,g;d='&lt;img src=&quot;'+c+'/img/trans.gif&quot; class=&quot;mceWPmore mceItemNoResize&quot; title=&quot;'+f.getLang(&quot;wordpress.wp_more_alt&quot;)+'&quot; /&gt;';b='&lt;img src=&quot;'+c+'/img/trans.gif&quot; class=&quot;mceWPnextpage mceItemNoResize&quot; title=&quot;'+f.getLang(&quot;wordpress.wp_page_alt&quot;)+'&quot; /&gt;';if(getUserSetting(&quot;hidetb&quot;,&quot;0&quot;)==&quot;1&quot;){f.settings.wordpress_adv_hidden=0}f.onPostRender.add(function(){var k=f.controlManager.get(e);if(f.getParam(&quot;wordpress_adv_hidden&quot;,1)&amp;&amp;k){a.hide(k.id);j._resizeIframe(f,e,28)}});f.addCommand(&quot;WP_More&quot;,function(){f.execCommand(&quot;mceInsertContent&quot;,0,d)});f.addCommand(&quot;WP_Page&quot;,function(){f.execCommand(&quot;mceInsertCon
 tent&quot;,0,b)});f.addCommand(&quot;WP_Help&quot;,function(){f.windowManager.open({url:tinymce.baseURL+&quot;/wp-mce-help.php&quot;,width:450,height:420,inline:1})});f.addCommand(&quot;WP_Adv&quot;,function(){var k=f.controlManager,l=k.get(e).id;if(&quot;undefined&quot;==l){return}if(a.isHidden(l)){k.setActive(&quot;wp_adv&quot;,1);a.show(l);j._resizeIframe(f,e,-28);f.settings.wordpress_adv_hidden=0;setUserSetting(&quot;hidetb&quot;,&quot;1&quot;)}else{k.setActive(&quot;wp_adv&quot;,0);a.hide(l);j._resizeIframe(f,e,28);f.settings.wordpress_adv_hidden=1;setUserSetting(&quot;hidetb&quot;,&quot;0&quot;)}});f.addCommand(&quot;WP_Medialib&quot;,function(){var l=f.getParam(&quot;wp_fullscreen_editor_id&quot;)||f.getParam(&quot;fullscreen_editor_id&quot;)||f.id,k=tinymce.DOM.select(&quot;#wp-&quot;+l+&quot;-media-buttons a.thickbox&quot;);if(k&amp;&amp;k[0]){k=k[0]}else{return}tb_show(&quot;&quot;,k.href)});f.addButton(&quot;wp_more&quot;,{title:&quot;wordpress.wp_more_desc&quot;,
 cmd:&quot;WP_More&quot;});f.addButton(&quot;wp_page&quot;,{title:&quot;wordpress.wp_page_desc&quot;,image:c+&quot;/img/page.gif&quot;,cmd:&quot;WP_Page&quot;});f.addButton(&quot;wp_help&quot;,{title:&quot;wordpress.wp_help_desc&quot;,cmd:&quot;WP_Help&quot;});f.addButton(&quot;wp_adv&quot;,{title:&quot;wordpress.wp_adv_desc&quot;,cmd:&quot;WP_Adv&quot;});f.addButton(&quot;add_media&quot;,{title:&quot;wordpress.add_media&quot;,image:c+&quot;/img/image.gif&quot;,cmd:&quot;WP_Medialib&quot;});f.onBeforeExecCommand.add(function(r,q,u,p,l){var x=tinymce.DOM,m,k,t,w,v,s;if(&quot;mceFullScreen&quot;==q){if(&quot;mce_fullscreen&quot;!=r.id&amp;&amp;x.select(&quot;a.thickbox&quot;).length){r.settings.theme_advanced_buttons1+=&quot;,|,add_media&quot;}}if(&quot;JustifyLeft&quot;==q||&quot;JustifyRight&quot;==q||&quot;JustifyCenter&quot;==q){m=r.selection.getNode();if(m.nodeName==&quot;IMG&quot;){s=q.substr(7).toLowerCase();v=&quot;align&quot;+s;k=r.dom.getParent(m,&quot;dl.wp-caption&q
 uot;);t=r.dom.getParent(m,&quot;div.mceTemp&quot;);if(k&amp;&amp;t){w=r.dom.hasClass(k,v)?&quot;alignnone&quot;:v;k.className=k.className.replace(/align[^ '&quot;]+\s?/g,&quot;&quot;);r.dom.addClass(k,w);if(w==&quot;aligncenter&quot;){r.dom.addClass(t,&quot;mceIEcenter&quot;)}else{r.dom.removeClass(t,&quot;mceIEcenter&quot;)}l.terminate=true;r.execCommand(&quot;mceRepaint&quot;)}else{if(r.dom.hasClass(m,v)){r.dom.addClass(m,&quot;alignnone&quot;)}else{r.dom.removeClass(m,&quot;alignnone&quot;)}}}}});f.onPreInit.add(function(k){var l=&quot;id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup&quot;,m=l+&quot;|abbr|axis|headers|scope|rowspan|colspan|char|charoff|align|valign|halign|nowrap|bgcolor|width|height&quot;;k.schema.addValidElements(&quot;table[&quot;+l+&quot;|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor]
 &quot;);k.schema.addValidElements(&quot;tr[&quot;+l+&quot;|align|char|charoff|valign|halign|bgcolor]&quot;);k.schema.addValidElements(&quot;td[&quot;+m+&quot;],th[&quot;+m+&quot;]&quot;);k.schema.addValidElements(&quot;a[&quot;+l+&quot;|href|target|ping|rel|media|type|name]&quot;)});f.onInit.add(function(m){var l=m.getParam(&quot;body_class&quot;,&quot;&quot;),k=m.getBody();if(l){l=l.split(&quot; &quot;)}else{l=[]}if(m.getParam(&quot;directionality&quot;,&quot;&quot;)==&quot;rtl&quot;){l.push(&quot;rtl&quot;)}if(tinymce.isIE9){l.push(&quot;ie9&quot;)}else{if(tinymce.isIE8){l.push(&quot;ie8&quot;)}else{if(tinymce.isIE7){l.push(&quot;ie7&quot;)}}}if(m.id!=&quot;wp_mce_fullscreen&quot;&amp;&amp;m.id!=&quot;mce_fullscreen&quot;){l.push(&quot;wp-editor&quot;)}else{if(m.id==&quot;mce_fullscreen&quot;){l.push(&quot;mce-fullscreen&quot;)}}tinymce.each(l,function(n){if(n){m.dom.addClass(k,n)}});m.onNodeChange.add(function(o,n,q){var p;if(q.nodeName==&quot;IMG&quot;){p=o.dom.getParent
 (q,&quot;dl.wp-caption&quot;)}else{if(q.nodeName==&quot;DIV&quot;&amp;&amp;o.dom.hasClass(q,&quot;mceTemp&quot;)){p=q.firstChild;if(!o.dom.hasClass(p,&quot;wp-caption&quot;)){p=false}}}if(p){if(o.dom.hasClass(p,&quot;alignleft&quot;)){n.setActive(&quot;justifyleft&quot;,1)}else{if(o.dom.hasClass(p,&quot;alignright&quot;)){n.setActive(&quot;justifyright&quot;,1)}else{if(o.dom.hasClass(p,&quot;aligncenter&quot;)){n.setActive(&quot;justifycenter&quot;,1)}}}}});m.onBeforeSetContent.add(function(n,p){if(p.content){p.content=p.content.replace(/&lt;p&gt;\s*&lt;(p|div|ul|ol|dl|table|blockquote|h[1-6]|fieldset|pre|address)( [^&gt;]*)?&gt;/gi,&quot;&lt;$1$2&gt;&quot;);p.content=p.content.replace(/&lt;\/(p|div|ul|ol|dl|table|blockquote|h[1-6]|fieldset|pre|address)&gt;\s*&lt;\/p&gt;/gi,&quot;&lt;/$1&gt;&quot;)}})});if(&quot;undefined&quot;!=typeof(jQuery)){f.onKeyUp.add(function(m,n){var l=n.keyCode||n.charCode;if(l==i){return}if(13==l||8==i||46==i){jQuery(document).triggerHandler(&quot
 ;wpcountwords&quot;,[m.getContent({format:&quot;raw&quot;})])}i=l})}f.onSaveContent.addToTop(function(k,l){l.content=l.content.replace(/&lt;p&gt;(&lt;br ?\/?&gt;|\u00a0|\uFEFF)?&lt;\/p&gt;/g,&quot;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&quot;)});f.onSaveContent.add(function(k,l){if(k.getParam(&quot;wpautop&quot;,true)&amp;&amp;typeof(switchEditors)==&quot;object&quot;){if(k.isHidden()){l.content=l.element.value}else{l.content=switchEditors.pre_wpautop(l.content)}}});j._handleMoreBreak(f,c);g=&quot;alt+shift&quot;;f.addShortcut(g+&quot;+c&quot;,&quot;justifycenter_desc&quot;,&quot;JustifyCenter&quot;);f.addShortcut(g+&quot;+r&quot;,&quot;justifyright_desc&quot;,&quot;JustifyRight&quot;);f.addShortcut(g+&quot;+l&quot;,&quot;justifyleft_desc&quot;,&quot;JustifyLeft&quot;);f.addShortcut(g+&quot;+j&quot;,&quot;justifyfull_desc&quot;,&quot;JustifyFull&quot;);f.addShortcut(g+&quot;+q&quot;,&quot;blockquote_desc&quot;,&quot;mceBlockQuote&quot;);f.addShortcut(g+&quot;+u&quot;,&quot;bullist_des
 c&quot;,&quot;InsertUnorderedList&quot;);f.addShortcut(g+&quot;+o&quot;,&quot;numlist_desc&quot;,&quot;InsertOrderedList&quot;);f.addShortcut(g+&quot;+n&quot;,&quot;spellchecker.desc&quot;,&quot;mceSpellCheck&quot;);f.addShortcut(g+&quot;+a&quot;,&quot;link_desc&quot;,&quot;WP_Link&quot;);f.addShortcut(g+&quot;+s&quot;,&quot;unlink_desc&quot;,&quot;unlink&quot;);f.addShortcut(g+&quot;+m&quot;,&quot;image_desc&quot;,&quot;WP_Medialib&quot;);f.addShortcut(g+&quot;+z&quot;,&quot;wordpress.wp_adv_desc&quot;,&quot;WP_Adv&quot;);f.addShortcut(g+&quot;+t&quot;,&quot;wordpress.wp_more_desc&quot;,&quot;WP_More&quot;);f.addShortcut(g+&quot;+d&quot;,&quot;striketrough_desc&quot;,&quot;Strikethrough&quot;);f.addShortcut(g+&quot;+h&quot;,&quot;help_desc&quot;,&quot;WP_Help&quot;);f.addShortcut(g+&quot;+p&quot;,&quot;wordpress.wp_page_desc&quot;,&quot;WP_Page&quot;);f.addShortcut(&quot;ctrl+s&quot;,&quot;save_desc&quot;,function(){if(&quot;function&quot;==typeof autosave){autosave()}});if
 (/\bwpfullscreen\b/.test(f.settings.plugins)){f.addShortcut(g+&quot;+w&quot;,&quot;wordpress.wp_fullscreen_desc&quot;,&quot;wpFullScreen&quot;)}else{if(/\bfullscreen\b/.test(f.settings.plugins)){f.addShortcut(g+&quot;+g&quot;,&quot;fullscreen.desc&quot;,&quot;mceFullScreen&quot;)}}f.onInit.add(function(k){tinymce.dom.Event.add(k.getWin(),&quot;scroll&quot;,function(l){k.plugins.wordpress._hideButtons()});tinymce.dom.Event.add(k.getBody(),&quot;dragstart&quot;,function(l){k.plugins.wordpress._hideButtons()})});f.onBeforeExecCommand.add(function(k,m,l,n){k.plugins.wordpress._hideButtons()});f.onSaveContent.add(function(k,l){k.plugins.wordpress._hideButtons()});f.onMouseDown.add(function(k,l){if(l.target.nodeName!=&quot;IMG&quot;){k.plugins.wordpress._hideButtons()}});h=function(k){var l;if(k.target.id==&quot;mceModalBlocker&quot;||k.target.className==&quot;ui-widget-overlay&quot;){for(l in f.windowManager.windows){f.windowManager.close(null,l)}}};tinymce.dom.Event.remove(docum
 ent.body,&quot;click&quot;,h);tinymce.dom.Event.add(document.body,&quot;click&quot;,h)},getInfo:function(){return{longname:&quot;WordPress Plugin&quot;,author:&quot;WordPress&quot;,authorurl:&quot;http://wordpress.org&quot;,infourl:&quot;http://wordpress.org&quot;,version:&quot;3.0&quot;}},_setEmbed:function(b){return b.replace(/\[embed\]([\s\S]+?)\[\/embed\][\s\u00a0]*/g,function(d,c){return'&lt;img width=&quot;300&quot; height=&quot;200&quot; src=&quot;'+tinymce.baseURL+'/plugins/wordpress/img/trans.gif&quot; class=&quot;wp-oembed mceItemNoResize&quot; alt=&quot;'+c+'&quot; title=&quot;'+c+'&quot; /&gt;'})},_getEmbed:function(b){return b.replace(/&lt;img[^&gt;]+&gt;/g,function(c){if(c.indexOf('class=&quot;wp-oembed')!=-1){var d=c.match(/alt=&quot;([^\&quot;]+)&quot;/);if(d[1]){c=&quot;[embed]&quot;+d[1]+&quot;[/embed]&quot;}}return c})},_showButtons:function(f,d){var g=tinyMCE.activeEditor,i,h,b,j=tinymce.DOM,e,c;b=g.dom.getViewPort(g.getWin());i=j.getPos(g.getContentAreaC
 ontainer());h=g.dom.getPos(f);e=Math.max(h.x-b.x,0)+i.x;c=Math.max(h.y-b.y,0)+i.y;j.setStyles(d,{top:c+5+&quot;px&quot;,left:e+5+&quot;px&quot;,display:&quot;block&quot;});this.showButtons=true},_hideButtons:function(){if(!this.showButtons){return}if(document.getElementById(&quot;wp_editbtns&quot;)){tinymce.DOM.hide(&quot;wp_editbtns&quot;)}if(document.getElementById(&quot;wp_gallerybtns&quot;)){tinymce.DOM.hide(&quot;wp_gallerybtns&quot;)}this.showButtons=false},_resizeIframe:function(c,e,b){var d=c.getContentAreaContainer().firstChild;a.setStyle(d,&quot;height&quot;,d.clientHeight+b);c.theme.deltaHeight+=b},_handleMoreBreak:function(c,d){var e,b;e='&lt;img src=&quot;'+d+'/img/trans.gif&quot; alt=&quot;$1&quot; class=&quot;mceWPmore mceItemNoResize&quot; title=&quot;'+c.getLang(&quot;wordpress.wp_more_alt&quot;)+'&quot; /&gt;';b='&lt;img src=&quot;'+d+'/img/trans.gif&quot; class=&quot;mceWPnextpage mceItemNoResize&quot; title=&quot;'+c.getLang(&quot;wordpress.wp_page_alt&qu
 ot;)+'&quot; /&gt;';c.onPostRender.add(function(){if(c.theme.onResolveName){c.theme.onResolveName.add(function(f,g){if(g.node.nodeName==&quot;IMG&quot;){if(c.dom.hasClass(g.node,&quot;mceWPmore&quot;)){g.name=&quot;wpmore&quot;}if(c.dom.hasClass(g.node,&quot;mceWPnextpage&quot;)){g.name=&quot;wppage&quot;}}})}});c.onBeforeSetContent.add(function(f,g){if(g.content){g.content=g.content.replace(/&lt;!--more(.*?)--&gt;/g,e);g.content=g.content.replace(/&lt;!--nextpage--&gt;/g,b)}});c.onPostProcess.add(function(f,g){if(g.get){g.content=g.content.replace(/&lt;img[^&gt;]+&gt;/g,function(i){if(i.indexOf('class=&quot;mceWPmore')!==-1){var h,j=(h=i.match(/alt=&quot;(.*?)&quot;/))?h[1]:&quot;&quot;;i=&quot;&lt;!--more&quot;+j+&quot;--&gt;&quot;}if(i.indexOf('class=&quot;mceWPnextpage')!==-1){i=&quot;&lt;!--nextpage--&gt;&quot;}return i})}});c.onNodeChange.add(function(g,f,h){f.setActive(&quot;wp_page&quot;,h.nodeName===&quot;IMG&quot;&amp;&amp;g.dom.hasClass(h,&quot;mceWPnextpage&quot;
 ));f.setActive(&quot;wp_more&quot;,h.nodeName===&quot;IMG&quot;&amp;&amp;g.dom.hasClass(h,&quot;mceWPmore&quot;))})}});tinymce.PluginManager.add(&quot;wordpress&quot;,tinymce.plugins.WordPress)})();
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(){var a=tinymce.DOM;tinymce.create(&quot;tinymce.plugins.WordPress&quot;,{init:function(f,c){var j=this,e=f.getParam(&quot;wordpress_adv_toolbar&quot;,&quot;toolbar2&quot;),i=0,d,b,h,g;d='&lt;img src=&quot;'+c+'/img/trans.gif&quot; class=&quot;mceWPmore mceItemNoResize&quot; title=&quot;'+f.getLang(&quot;wordpress.wp_more_alt&quot;)+'&quot; /&gt;';b='&lt;img src=&quot;'+c+'/img/trans.gif&quot; class=&quot;mceWPnextpage mceItemNoResize&quot; title=&quot;'+f.getLang(&quot;wordpress.wp_page_alt&quot;)+'&quot; /&gt;';if(getUserSetting(&quot;hidetb&quot;,&quot;0&quot;)==&quot;1&quot;){f.settings.wordpress_adv_hidden=0}f.onPostRender.add(function(){var k=f.controlManager.get(e);if(f.getParam(&quot;wordpress_adv_hidden&quot;,1)&amp;&amp;k){a.hide(k.id);j._resizeIframe(f,e,28)}});f.addCommand(&quot;WP_More&quot;,function(){f.execCommand(&quot;mceInsertContent&quot;,0,d)});f.addCommand(&quot;WP_Page&quot;,function(){f.execCommand(&quot;mceInsertContent&quot;,0,b
 )});f.addCommand(&quot;WP_Help&quot;,function(){f.windowManager.open({url:tinymce.baseURL+&quot;/wp-mce-help.php&quot;,width:450,height:420,inline:1})});f.addCommand(&quot;WP_Adv&quot;,function(){var k=f.controlManager,l=k.get(e).id;if(&quot;undefined&quot;==l){return}if(a.isHidden(l)){k.setActive(&quot;wp_adv&quot;,1);a.show(l);j._resizeIframe(f,e,-28);f.settings.wordpress_adv_hidden=0;setUserSetting(&quot;hidetb&quot;,&quot;1&quot;)}else{k.setActive(&quot;wp_adv&quot;,0);a.hide(l);j._resizeIframe(f,e,28);f.settings.wordpress_adv_hidden=1;setUserSetting(&quot;hidetb&quot;,&quot;0&quot;)}});f.addCommand(&quot;WP_Medialib&quot;,function(){var l=f.getParam(&quot;wp_fullscreen_editor_id&quot;)||f.getParam(&quot;fullscreen_editor_id&quot;)||f.id,k=tinymce.DOM.select(&quot;#wp-&quot;+l+&quot;-media-buttons a.thickbox&quot;);if(k&amp;&amp;k[0]){k=k[0]}else{return}tb_show(&quot;&quot;,k.href)});f.addButton(&quot;wp_more&quot;,{title:&quot;wordpress.wp_more_desc&quot;,cmd:&quot;WP_M
 ore&quot;});f.addButton(&quot;wp_page&quot;,{title:&quot;wordpress.wp_page_desc&quot;,image:c+&quot;/img/page.gif&quot;,cmd:&quot;WP_Page&quot;});f.addButton(&quot;wp_help&quot;,{title:&quot;wordpress.wp_help_desc&quot;,cmd:&quot;WP_Help&quot;});f.addButton(&quot;wp_adv&quot;,{title:&quot;wordpress.wp_adv_desc&quot;,cmd:&quot;WP_Adv&quot;});f.addButton(&quot;add_media&quot;,{title:&quot;wordpress.add_media&quot;,image:c+&quot;/img/image.gif&quot;,cmd:&quot;WP_Medialib&quot;});f.onBeforeExecCommand.add(function(r,q,u,p,l){var x=tinymce.DOM,m,k,t,w,v,s;if(&quot;mceFullScreen&quot;==q){if(&quot;mce_fullscreen&quot;!=r.id&amp;&amp;x.select(&quot;a.thickbox&quot;).length){r.settings.theme_advanced_buttons1+=&quot;,|,add_media&quot;}}if(&quot;JustifyLeft&quot;==q||&quot;JustifyRight&quot;==q||&quot;JustifyCenter&quot;==q){m=r.selection.getNode();if(m.nodeName==&quot;IMG&quot;){s=q.substr(7).toLowerCase();v=&quot;align&quot;+s;k=r.dom.getParent(m,&quot;dl.wp-caption&quot;);t=r.dom.
 getParent(m,&quot;div.mceTemp&quot;);if(k&amp;&amp;t){w=r.dom.hasClass(k,v)?&quot;alignnone&quot;:v;k.className=k.className.replace(/align[^ '&quot;]+\s?/g,&quot;&quot;);r.dom.addClass(k,w);if(w==&quot;aligncenter&quot;){r.dom.addClass(t,&quot;mceIEcenter&quot;)}else{r.dom.removeClass(t,&quot;mceIEcenter&quot;)}l.terminate=true;r.execCommand(&quot;mceRepaint&quot;)}else{if(r.dom.hasClass(m,v)){r.dom.addClass(m,&quot;alignnone&quot;)}else{r.dom.removeClass(m,&quot;alignnone&quot;)}}}}});f.onPreInit.add(function(k){var l=&quot;id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup&quot;,m=l+&quot;|abbr|axis|headers|scope|rowspan|colspan|char|charoff|align|valign|halign|nowrap|bgcolor|width|height&quot;;k.schema.addValidElements(&quot;table[&quot;+l+&quot;|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor]&quot;);k.sche
 ma.addValidElements(&quot;tr[&quot;+l+&quot;|align|char|charoff|valign|halign|bgcolor]&quot;);k.schema.addValidElements(&quot;td[&quot;+m+&quot;],th[&quot;+m+&quot;]&quot;);k.schema.addValidElements(&quot;a[&quot;+l+&quot;|href|target|ping|rel|media|type|name]&quot;)});f.onInit.add(function(m){var l=m.getParam(&quot;body_class&quot;,&quot;&quot;),k=m.getBody();if(l){l=l.split(&quot; &quot;)}else{l=[]}if(m.getParam(&quot;directionality&quot;,&quot;&quot;)==&quot;rtl&quot;){l.push(&quot;rtl&quot;)}if(tinymce.isIE9){l.push(&quot;ie9&quot;)}else{if(tinymce.isIE8){l.push(&quot;ie8&quot;)}else{if(tinymce.isIE7){l.push(&quot;ie7&quot;)}}}if(m.id!=&quot;wp_mce_fullscreen&quot;&amp;&amp;m.id!=&quot;mce_fullscreen&quot;){l.push(&quot;wp-editor&quot;)}else{if(m.id==&quot;mce_fullscreen&quot;){l.push(&quot;mce-fullscreen&quot;)}}tinymce.each(l,function(n){if(n){m.dom.addClass(k,n)}});m.onNodeChange.add(function(o,n,q){var p;if(q.nodeName==&quot;IMG&quot;){p=o.dom.getParent(q,&quot;dl.wp
 -caption&quot;)}else{if(q.nodeName==&quot;DIV&quot;&amp;&amp;o.dom.hasClass(q,&quot;mceTemp&quot;)){p=q.firstChild;if(!o.dom.hasClass(p,&quot;wp-caption&quot;)){p=false}}}if(p){if(o.dom.hasClass(p,&quot;alignleft&quot;)){n.setActive(&quot;justifyleft&quot;,1)}else{if(o.dom.hasClass(p,&quot;alignright&quot;)){n.setActive(&quot;justifyright&quot;,1)}else{if(o.dom.hasClass(p,&quot;aligncenter&quot;)){n.setActive(&quot;justifycenter&quot;,1)}}}}});m.onBeforeSetContent.add(function(n,p){if(p.content){p.content=p.content.replace(/&lt;p&gt;\s*&lt;(p|div|ul|ol|dl|table|blockquote|h[1-6]|fieldset|pre|address)( [^&gt;]*)?&gt;/gi,&quot;&lt;$1$2&gt;&quot;);p.content=p.content.replace(/&lt;\/(p|div|ul|ol|dl|table|blockquote|h[1-6]|fieldset|pre|address)&gt;\s*&lt;\/p&gt;/gi,&quot;&lt;/$1&gt;&quot;)}})});if(&quot;undefined&quot;!=typeof(jQuery)){f.onKeyUp.add(function(m,n){var l=n.keyCode||n.charCode;if(l==i){return}if(13==l||8==i||46==i){jQuery(document).triggerHandler(&quot;wpcountwords&
 quot;,[m.getContent({format:&quot;raw&quot;})])}i=l})}f.onSaveContent.addToTop(function(k,l){l.content=l.content.replace(/&lt;p&gt;(&lt;br ?\/?&gt;|\u00a0|\uFEFF)?&lt;\/p&gt;/g,&quot;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&quot;)});f.onSaveContent.add(function(k,l){if(k.getParam(&quot;wpautop&quot;,true)&amp;&amp;typeof(switchEditors)==&quot;object&quot;){if(k.isHidden()){l.content=l.element.value}else{l.content=switchEditors.pre_wpautop(l.content)}}});j._handleMoreBreak(f,c);g=&quot;alt+shift&quot;;f.addShortcut(g+&quot;+c&quot;,&quot;justifycenter_desc&quot;,&quot;JustifyCenter&quot;);f.addShortcut(g+&quot;+r&quot;,&quot;justifyright_desc&quot;,&quot;JustifyRight&quot;);f.addShortcut(g+&quot;+l&quot;,&quot;justifyleft_desc&quot;,&quot;JustifyLeft&quot;);f.addShortcut(g+&quot;+j&quot;,&quot;justifyfull_desc&quot;,&quot;JustifyFull&quot;);f.addShortcut(g+&quot;+q&quot;,&quot;blockquote_desc&quot;,&quot;mceBlockQuote&quot;);f.addShortcut(g+&quot;+u&quot;,&quot;bullist_desc&quot;,&quot;
 InsertUnorderedList&quot;);f.addShortcut(g+&quot;+o&quot;,&quot;numlist_desc&quot;,&quot;InsertOrderedList&quot;);f.addShortcut(g+&quot;+n&quot;,&quot;spellchecker.desc&quot;,&quot;mceSpellCheck&quot;);f.addShortcut(g+&quot;+a&quot;,&quot;link_desc&quot;,&quot;WP_Link&quot;);f.addShortcut(g+&quot;+s&quot;,&quot;unlink_desc&quot;,&quot;unlink&quot;);f.addShortcut(g+&quot;+m&quot;,&quot;image_desc&quot;,&quot;WP_Medialib&quot;);f.addShortcut(g+&quot;+z&quot;,&quot;wordpress.wp_adv_desc&quot;,&quot;WP_Adv&quot;);f.addShortcut(g+&quot;+t&quot;,&quot;wordpress.wp_more_desc&quot;,&quot;WP_More&quot;);f.addShortcut(g+&quot;+d&quot;,&quot;striketrough_desc&quot;,&quot;Strikethrough&quot;);f.addShortcut(g+&quot;+h&quot;,&quot;help_desc&quot;,&quot;WP_Help&quot;);f.addShortcut(g+&quot;+p&quot;,&quot;wordpress.wp_page_desc&quot;,&quot;WP_Page&quot;);f.addShortcut(&quot;ctrl+s&quot;,&quot;save_desc&quot;,function(){if(&quot;function&quot;==typeof autosave){autosave()}});if(/\bwpfullscre
 en\b/.test(f.settings.plugins)){f.addShortcut(g+&quot;+w&quot;,&quot;wordpress.wp_fullscreen_desc&quot;,&quot;wpFullScreen&quot;)}else{if(/\bfullscreen\b/.test(f.settings.plugins)){f.addShortcut(g+&quot;+g&quot;,&quot;fullscreen.desc&quot;,&quot;mceFullScreen&quot;)}}f.onInit.add(function(k){tinymce.dom.Event.add(k.getWin(),&quot;scroll&quot;,function(l){k.plugins.wordpress._hideButtons()});tinymce.dom.Event.add(k.getBody(),&quot;dragstart&quot;,function(l){k.plugins.wordpress._hideButtons()})});f.onBeforeExecCommand.add(function(k,m,l,n){k.plugins.wordpress._hideButtons()});f.onSaveContent.add(function(k,l){k.plugins.wordpress._hideButtons()});f.onMouseDown.add(function(k,l){if(l.target.nodeName!=&quot;IMG&quot;){k.plugins.wordpress._hideButtons()}});h=function(k){var l;if(k.target.id==&quot;mceModalBlocker&quot;||k.target.className==&quot;ui-widget-overlay&quot;){for(l in f.windowManager.windows){f.windowManager.close(null,l)}}};tinymce.dom.Event.remove(document.body,&quot
 ;click&quot;,h);tinymce.dom.Event.add(document.body,&quot;click&quot;,h)},getInfo:function(){return{longname:&quot;WordPress Plugin&quot;,author:&quot;WordPress&quot;,authorurl:&quot;http://wordpress.org&quot;,infourl:&quot;http://wordpress.org&quot;,version:&quot;3.0&quot;}},_setEmbed:function(b){return b.replace(/\[embed\]([\s\S]+?)\[\/embed\][\s\u00a0]*/g,function(d,c){return'&lt;img width=&quot;300&quot; height=&quot;200&quot; src=&quot;'+tinymce.baseURL+'/plugins/wordpress/img/trans.gif&quot; class=&quot;wp-oembed mceItemNoResize&quot; alt=&quot;'+c+'&quot; title=&quot;'+c+'&quot; /&gt;'})},_getEmbed:function(b){return b.replace(/&lt;img[^&gt;]+&gt;/g,function(c){if(c.indexOf('class=&quot;wp-oembed')!=-1){var d=c.match(/alt=&quot;([^\&quot;]+)&quot;/);if(d[1]){c=&quot;[embed]&quot;+d[1]+&quot;[/embed]&quot;}}return c})},_showButtons:function(f,d){var g=tinyMCE.activeEditor,i,h,b,j=tinymce.DOM,e,c;b=g.dom.getViewPort(g.getWin());i=j.getPos(g.getContentAreaContainer());h=
 g.dom.getPos(f);e=Math.max(h.x-b.x,0)+i.x;c=Math.max(h.y-b.y,0)+i.y;j.setStyles(d,{top:c+5+&quot;px&quot;,left:e+5+&quot;px&quot;,display:&quot;block&quot;})},_hideButtons:function(){tinymce.DOM.hide([&quot;wp_editbtns&quot;,&quot;wp_gallerybtns&quot;])},_resizeIframe:function(c,e,b){var d=c.getContentAreaContainer().firstChild;a.setStyle(d,&quot;height&quot;,d.clientHeight+b);c.theme.deltaHeight+=b},_handleMoreBreak:function(c,d){var e,b;e='&lt;img src=&quot;'+d+'/img/trans.gif&quot; alt=&quot;$1&quot; class=&quot;mceWPmore mceItemNoResize&quot; title=&quot;'+c.getLang(&quot;wordpress.wp_more_alt&quot;)+'&quot; /&gt;';b='&lt;img src=&quot;'+d+'/img/trans.gif&quot; class=&quot;mceWPnextpage mceItemNoResize&quot; title=&quot;'+c.getLang(&quot;wordpress.wp_page_alt&quot;)+'&quot; /&gt;';c.onPostRender.add(function(){if(c.theme.onResolveName){c.theme.onResolveName.add(function(f,g){if(g.node.nodeName==&quot;IMG&quot;){if(c.dom.hasClass(g.node,&quot;mceWPmore&quot;)){g.name=&quo
 t;wpmore&quot;}if(c.dom.hasClass(g.node,&quot;mceWPnextpage&quot;)){g.name=&quot;wppage&quot;}}})}});c.onBeforeSetContent.add(function(f,g){if(g.content){g.content=g.content.replace(/&lt;!--more(.*?)--&gt;/g,e);g.content=g.content.replace(/&lt;!--nextpage--&gt;/g,b)}});c.onPostProcess.add(function(f,g){if(g.get){g.content=g.content.replace(/&lt;img[^&gt;]+&gt;/g,function(i){if(i.indexOf('class=&quot;mceWPmore')!==-1){var h,j=(h=i.match(/alt=&quot;(.*?)&quot;/))?h[1]:&quot;&quot;;i=&quot;&lt;!--more&quot;+j+&quot;--&gt;&quot;}if(i.indexOf('class=&quot;mceWPnextpage')!==-1){i=&quot;&lt;!--nextpage--&gt;&quot;}return i})}});c.onNodeChange.add(function(g,f,h){f.setActive(&quot;wp_page&quot;,h.nodeName===&quot;IMG&quot;&amp;&amp;g.dom.hasClass(h,&quot;mceWPnextpage&quot;));f.setActive(&quot;wp_more&quot;,h.nodeName===&quot;IMG&quot;&amp;&amp;g.dom.hasClass(h,&quot;mceWPmore&quot;))})}});tinymce.PluginManager.add(&quot;wordpress&quot;,tinymce.plugins.WordPress)})();
</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 (22859 => 22860)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js        2012-11-27 02:27:11 UTC (rev 22859)
+++ trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js        2012-11-27 02:58:50 UTC (rev 22860)
</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)};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)})();
</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=tinymce.activeEditor,d=tinymce.DOM,e,c,f;if(d.get(&quot;wp_editbtns&quot;)){return}f=(window.devicePixelRatio&amp;&amp;window.devicePixelRatio&gt;1)||(window.matchMedia&amp;&amp;window.matchMedia(&quot;(min-resolution:130dpi)&quot;).matches);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(j){var g=tinymce.activeEditor,i=g.selection.getNode(),h;if(i.nodeName==&quot;IMG&quot;&amp;&amp;g.dom.getAttrib(i,&quot;class&quot;).indexOf(&quot;mceItem&quot;)==-1){if((h=g.dom.getParent(i,&quot;div&quot;))&amp;&amp;g.dom.hasClass(h,&quot;mceTemp&quot;)){g.dom.remove(h)}else{if(i.parentNode.nodeName==&quot;A&quot;&amp;&amp;i.parentNode.childNodes.length==1){i=i.parentNode}if(i.par
 entNode.nodeName==&quot;P&quot;&amp;&amp;i.parentNode.childNodes.length==1){i=i.parentNode}g.dom.remove(i)}g.execCommand(&quot;mceRepaint&quot;);return false}g.plugins.wordpress._hideButtons()})},_editImage:function(){var d=tinymce.activeEditor,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)})();
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjstinymcepluginswpgalleryeditor_pluginjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js (22859 => 22860)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js        2012-11-27 02:27:11 UTC (rev 22859)
+++ trunk/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js        2012-11-27 02:58:50 UTC (rev 22860)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(){tinymce.create(&quot;tinymce.plugins.wpGallery&quot;,{init:function(a,b){var c=this;c.url=b;c.editor=a;c._createButtons();a.addCommand(&quot;WP_Gallery&quot;,function(){var e=a.selection.getNode(),d=wp.media.gallery,f;if(typeof wp===&quot;undefined&quot;||!wp.media||!wp.media.gallery){return}if(e.nodeName!=&quot;IMG&quot;||a.dom.getAttrib(e,&quot;class&quot;).indexOf(&quot;wpGallery&quot;)==-1){return}f=d.edit(&quot;[&quot;+a.dom.getAttrib(e,&quot;title&quot;)+&quot;]&quot;);f.get(&quot;gallery-edit&quot;).on(&quot;update&quot;,function(g){var h=d.shortcode(g).string().slice(1,-1);a.dom.setAttrib(e,&quot;title&quot;,h)})});a.onInit.add(function(d){if(&quot;ontouchstart&quot; in window){d.dom.events.add(d.getBody(),&quot;touchstart&quot;,function(g){var f=g.target;if(f.nodeName==&quot;IMG&quot;&amp;&amp;d.dom.hasClass(f,&quot;wpGallery&quot;)){d.selection.select(f);d.dom.events.cancel(g);d.plugins.wordpress._hideButtons();d.plugins.wordpress._showButto
 ns(f,&quot;wp_gallerybtns&quot;)}})}});a.onMouseDown.add(function(d,f){if(f.target.nodeName==&quot;IMG&quot;&amp;&amp;d.dom.hasClass(f.target,&quot;wpGallery&quot;)){d.plugins.wordpress._showButtons(f.target,&quot;wp_gallerybtns&quot;)}});a.onBeforeSetContent.add(function(d,e){e.content=c._do_gallery(e.content)});a.onPostProcess.add(function(d,e){if(e.get){e.content=c._get_gallery(e.content)}})},_do_gallery:function(a){return a.replace(/\[gallery([^\]]*)\]/g,function(d,c){return'&lt;img src=&quot;'+tinymce.baseURL+'/plugins/wpgallery/img/t.gif&quot; class=&quot;wpGallery mceItem&quot; title=&quot;gallery'+tinymce.DOM.encode(c)+'&quot; /&gt;'})},_get_gallery:function(b){function a(c,d){d=new RegExp(d+'=&quot;([^&quot;]+)&quot;',&quot;g&quot;).exec(c);return d?tinymce.DOM.decode(d[1]):&quot;&quot;}return b.replace(/(?:&lt;p[^&gt;]*&gt;)*(&lt;img[^&gt;]+&gt;)(?:&lt;\/p&gt;)*/g,function(e,d){var c=a(d,&quot;class&quot;);if(c.indexOf(&quot;wpGallery&quot;)!=-1){return&quot;&lt;p&
 gt;[&quot;+tinymce.trim(a(d,&quot;title&quot;))+&quot;]&lt;/p&gt;&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_gallerybtns&quot;);d.add(document.body,&quot;div&quot;,{id:&quot;wp_gallerybtns&quot;,style:&quot;display:none;&quot;});e=d.add(&quot;wp_gallerybtns&quot;,&quot;img&quot;,{src:f?b.url+&quot;/img/edit-2x.png&quot;:b.url+&quot;/img/edit.png&quot;,id:&quot;wp_editgallery&quot;,width:&quot;24&quot;,height:&quot;24&quot;,title:a.getLang(&quot;wordpress.editgallery&quot;)});tinymce.dom.Event.add(e,&quot;mousedown&quot;,function(g){a.windowManager.bookmark=a.selection.getBookmark(&quot;simple&quot;);a.execCommand(&quot;WP_Gallery&quot;);a.plugins.wordpress._hideButtons()});c=d.add(&quot;wp_gallerybtns&quot;,&quot;img&quot;,{src:f?b.url+&quot;/img/delete-2x.pn
 g&quot;:b.url+&quot;/img/delete.png&quot;,id:&quot;wp_delgallery&quot;,width:&quot;24&quot;,height:&quot;24&quot;,title:a.getLang(&quot;wordpress.delgallery&quot;)});tinymce.dom.Event.add(c,&quot;mousedown&quot;,function(h){var g=a.selection.getNode();if(g.nodeName==&quot;IMG&quot;&amp;&amp;a.dom.hasClass(g,&quot;wpGallery&quot;)){a.dom.remove(g);a.execCommand(&quot;mceRepaint&quot;);a.dom.events.cancel(h)}a.plugins.wordpress._hideButtons()})},getInfo:function(){return{longname:&quot;Gallery Settings&quot;,author:&quot;WordPress&quot;,authorurl:&quot;http://wordpress.org&quot;,infourl:&quot;&quot;,version:&quot;1.0&quot;}}});tinymce.PluginManager.add(&quot;wpgallery&quot;,tinymce.plugins.wpGallery)})();
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(){tinymce.create(&quot;tinymce.plugins.wpGallery&quot;,{init:function(a,b){var c=this;c.url=b;c.editor=a;c._createButtons();a.addCommand(&quot;WP_Gallery&quot;,function(){if(tinymce.isIE){a.selection.moveToBookmark(a.wpGalleryBookmark)}var e=a.selection.getNode(),d=wp.media.gallery,f;if(typeof wp===&quot;undefined&quot;||!wp.media||!wp.media.gallery){return}if(e.nodeName!=&quot;IMG&quot;||a.dom.getAttrib(e,&quot;class&quot;).indexOf(&quot;wpGallery&quot;)==-1){return}f=d.edit(&quot;[&quot;+a.dom.getAttrib(e,&quot;title&quot;)+&quot;]&quot;);f.get(&quot;gallery-edit&quot;).on(&quot;update&quot;,function(g){var h=d.shortcode(g).string().slice(1,-1);a.dom.setAttrib(e,&quot;title&quot;,h)})});a.onInit.add(function(d){if(&quot;ontouchstart&quot; in window){d.dom.events.add(d.getBody(),&quot;touchstart&quot;,function(g){var f=g.target;if(f.nodeName==&quot;IMG&quot;&amp;&amp;d.dom.hasClass(f,&quot;wpGallery&quot;)){d.selection.select(f);d.dom.events.cancel(g);
 d.plugins.wordpress._hideButtons();d.plugins.wordpress._showButtons(f,&quot;wp_gallerybtns&quot;)}})}});a.onMouseDown.add(function(d,f){if(f.target.nodeName==&quot;IMG&quot;&amp;&amp;d.dom.hasClass(f.target,&quot;wpGallery&quot;)){d.plugins.wordpress._hideButtons();d.plugins.wordpress._showButtons(f.target,&quot;wp_gallerybtns&quot;)}});a.onBeforeSetContent.add(function(d,e){e.content=c._do_gallery(e.content)});a.onPostProcess.add(function(d,e){if(e.get){e.content=c._get_gallery(e.content)}})},_do_gallery:function(a){return a.replace(/\[gallery([^\]]*)\]/g,function(d,c){return'&lt;img src=&quot;'+tinymce.baseURL+'/plugins/wpgallery/img/t.gif&quot; class=&quot;wpGallery mceItem&quot; title=&quot;gallery'+tinymce.DOM.encode(c)+'&quot; /&gt;'})},_get_gallery:function(b){function a(c,d){d=new RegExp(d+'=&quot;([^&quot;]+)&quot;',&quot;g&quot;).exec(c);return d?tinymce.DOM.decode(d[1]):&quot;&quot;}return b.replace(/(?:&lt;p[^&gt;]*&gt;)*(&lt;img[^&gt;]+&gt;)(?:&lt;\/p&gt;)*/g,fu
 nction(e,d){var c=a(d,&quot;class&quot;);if(c.indexOf(&quot;wpGallery&quot;)!=-1){return&quot;&lt;p&gt;[&quot;+tinymce.trim(a(d,&quot;title&quot;))+&quot;]&lt;/p&gt;&quot;}return e})},_createButtons:function(){var b=this,a=tinymce.activeEditor,d=tinymce.DOM,e,c,f;if(d.get(&quot;wp_gallerybtns&quot;)){return}f=(window.devicePixelRatio&amp;&amp;window.devicePixelRatio&gt;1)||(window.matchMedia&amp;&amp;window.matchMedia(&quot;(min-resolution:130dpi)&quot;).matches);d.add(document.body,&quot;div&quot;,{id:&quot;wp_gallerybtns&quot;,style:&quot;display:none;&quot;});e=d.add(&quot;wp_gallerybtns&quot;,&quot;img&quot;,{src:f?b.url+&quot;/img/edit-2x.png&quot;:b.url+&quot;/img/edit.png&quot;,id:&quot;wp_editgallery&quot;,width:&quot;24&quot;,height:&quot;24&quot;,title:a.getLang(&quot;wordpress.editgallery&quot;)});tinymce.dom.Event.add(e,&quot;mousedown&quot;,function(h){var g=tinymce.activeEditor;g.wpGalleryBookmark=g.selection.getBookmark(&quot;simple&quot;);g.execCommand(&quot;
 WP_Gallery&quot;);g.plugins.wordpress._hideButtons()});c=d.add(&quot;wp_gallerybtns&quot;,&quot;img&quot;,{src:f?b.url+&quot;/img/delete-2x.png&quot;:b.url+&quot;/img/delete.png&quot;,id:&quot;wp_delgallery&quot;,width:&quot;24&quot;,height:&quot;24&quot;,title:a.getLang(&quot;wordpress.delgallery&quot;)});tinymce.dom.Event.add(c,&quot;mousedown&quot;,function(i){var g=tinymce.activeEditor,h=g.selection.getNode();if(h.nodeName==&quot;IMG&quot;&amp;&amp;g.dom.hasClass(h,&quot;wpGallery&quot;)){g.dom.remove(h);g.execCommand(&quot;mceRepaint&quot;);g.dom.events.cancel(i)}g.plugins.wordpress._hideButtons()})},getInfo:function(){return{longname:&quot;Gallery Settings&quot;,author:&quot;WordPress&quot;,authorurl:&quot;http://wordpress.org&quot;,infourl:&quot;&quot;,version:&quot;1.0&quot;}}});tinymce.PluginManager.add(&quot;wpgallery&quot;,tinymce.plugins.wpGallery)})();
</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 (22859 => 22860)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-11-27 02:27:11 UTC (rev 22859)
+++ trunk/wp-includes/version.php        2012-11-27 02:58:50 UTC (rev 22860)
</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-RC1-22852';
</del><ins>+$wp_version = '3.5-RC1-22860';
</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-22657';
</del><ins>+$tinymce_version = '357-22860';
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Holds the required PHP version
</span></span></pre>
</div>
</div>

</body>
</html>