<!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>[23155] trunk/wp-includes: Compress scripts/styles: 3.5-RC5-23155.</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/23155">23155</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-12-10 10:15:13 +0000 (Mon, 10 Dec 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.5-RC5-23155. 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="#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 (23154 => 23155)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js        2012-12-10 10:12:47 UTC (rev 23154)
+++ trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js        2012-12-10 10:15:13 UTC (rev 23155)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(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(){if(typeof wp!==&quot;undefined&quot;&amp;&amp;wp.media&amp;&amp;wp.media.editor){wp.media.editor.open(f.id)}});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&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[^ '&q
 uot;]+\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){k.schema.addValidElements(&quot;object[*],param[id|name|value|valuetype|type],embed[*]&quot;);k.schema.addValidChildren(&quot;+object[embed]&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]|fields
 et|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;,&qu
 ot;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_de
 sc&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()}});f.onKeyDown.add(function(k,l){if(l.which==tinymce.VK.DELETE||l.which==tinymce.VK.BACKSPACE){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(){var b=tinymce.DOM;b.hide(b.select(&quot;#wp_editbtns, #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_m
 ore_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=&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;!--nex
 tpage--&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(){if(typeof wp!==&quot;undefined&quot;&amp;&amp;wp.media&amp;&amp;wp.media.editor){wp.media.editor.open(f.id)}});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&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[^ '&q
 uot;]+\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.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){retu
 rn}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;mceBlo
 ckQuote&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;,functi
 on(){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()}});f.onKeyDown.add(function(k,l){if(l.which==tinymce.VK.DELETE||l.which==tinymce.VK.BACKSPACE){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=&quo
 t;[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(){var b=tinymce.DOM;b.hide(b.select(&quot;#wp_editbtns, #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&q
 uot;)+'&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)})();
</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 (23154 => 23155)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-12-10 10:12:47 UTC (rev 23154)
+++ trunk/wp-includes/version.php        2012-12-10 10:15:13 UTC (rev 23155)
</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-RC5-23145';
</del><ins>+$wp_version = '3.5-RC5-23155';
</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 = '358-23145';
</del><ins>+$tinymce_version = '358-23155';
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Holds the required PHP version
</span></span></pre>
</div>
</div>

</body>
</html>