WordPress.org

Make WordPress Core

Ticket #9432: 9432-post-script-cdata.patch

File 9432-post-script-cdata.patch, 952 bytes (added by hakre, 5 years ago)

missing cdata added.

  • wp-admin/includes/post.php

     
    13701370?> 
    13711371 
    13721372<script type="text/javascript"> 
     1373/* <![CDATA[ */ 
    13731374<?php if ( $ext_plugins ) echo "$ext_plugins\n"; ?> 
    13741375<?php if ( $concatenate_scripts ) { ?> 
    13751376tinyMCEPreInit.go(); 
     
    13771378(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');}});})(); 
    13781379<?php } ?> 
    13791380tinyMCE.init(tinyMCEPreInit.mceInit); 
     1381/* ]]> */ 
    13801382</script> 
    13811383<?php 
    13821384}