WordPress.org

Make WordPress Core

Ticket #14272: 14272.patch

File 14272.patch, 842 bytes (added by envygeeks, 8 years ago)
  • wp-admin/includes/post.php

     
    16021602<script type="text/javascript">
    16031603/* <![CDATA[ */
    16041604<?php if ( $ext_plugins ) echo "$ext_plugins\n"; ?>
    1605 <?php if ( $compressed ) { ?>
    1606 tinyMCEPreInit.go();
    1607 <?php } else { ?>
     1605<?php if ( !$compressed ) { ?>
    16081606(function(){var t=tinyMCEPreInit,sl=tinymce.ScriptLoader,ln=t.mceInit.language,th=t.mceInit.theme,pl=t.mceInit.plugins;sl.markDone(t.base+'/langs/'+ln+'.js');sl.markDone(t.base+'/themes/'+th+'/langs/'+ln+'.js');sl.markDone(t.base+'/themes/'+th+'/langs/'+ln+'_dlg.js');tinymce.each(pl.split(','),function(n){if(n&&n.charAt(0)!='-'){sl.markDone(t.base+'/plugins/'+n+'/langs/'+ln+'.js');sl.markDone(t.base+'/plugins/'+n+'/langs/'+ln+'_dlg.js');}});})();
    16091607<?php } ?>
    16101608tinyMCE.init(tinyMCEPreInit.mceInit);