Ticket #47283: 47283.diff
File 47283.diff, 646 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/class-wp-xmlrpc-server.php
6802 6802 return $this->pingback_error( 32, __( 'We cannot find a title on that page.' ) ); 6803 6803 } 6804 6804 6805 $remote_source = preg_replace( '@<(script|style)[^>]*?>.*?</\\1>@si', '', $remote_source ); // remove all script and style tags including their content. 6805 6806 $remote_source = strip_tags( $remote_source, '<a>' ); // just keep the tag we need 6806 6807 6807 6808 $p = explode( "\n\n", $remote_source );