Ticket #21990: 21990.diff
File 21990.diff, 516 bytes (added by , 12 years ago) |
---|
-
wp-includes/SimplePie/Sanitize.php
246 246 247 247 if ($type & (SIMPLEPIE_CONSTRUCT_HTML | SIMPLEPIE_CONSTRUCT_XHTML)) 248 248 { 249 249 if ( ! class_exists( 'DOMDocument' ) ) 250 { 251 return ''; 252 } 250 253 $document = new DOMDocument(); 251 254 $document->encoding = 'UTF-8'; 252 255 $data = $this->preprocess($data, $type);