Ticket #3525: pre_remote_source.patch
| File pre_remote_source.patch, 500 bytes (added by tenpura, 5 years ago) |
|---|
-
xmlrpc.php
1199 1199 if ( !$linea ) 1200 1200 return new IXR_Error(16, 'The source URL does not exist.'); 1201 1201 1202 $linea = apply_filters('pre_remote_source', $linea, $pagelinkedto); 1203 1202 1204 // Work around bug in strip_tags(): 1203 1205 $linea = str_replace('<!DOC', '<DOC', $linea); 1204 1206 $linea = preg_replace( '/[\s\r\n\t]+/', ' ', $linea ); // normalize spaces
