Ticket #6449: 6449.patch

File 6449.patch, 0.5 kB (added by azaozz, 6 months ago)
  • wp-includes/formatting.php

    old new  
    11321132        $output = str_replace('<', '<', $output); 
    11331133        $output = str_replace('>', '>', $output); 
    11341134 
     1135        // These should be entities too 
     1136        $output = str_replace('<', '&lt;', $output); 
     1137        $output = str_replace('>', '&gt;', $output); 
     1138         
    11351139        return apply_filters('richedit_pre', $output); 
    11361140} 
    11371141