Ticket #48849: 48849.patch
File 48849.patch, 619 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/class-wp-xmlrpc-server.php
6893 6893 // Remove all script and style tags including their content. 6894 6894 $remote_source = preg_replace( '@<(script|style)[^>]*?>.*?</\\1>@si', '', $remote_source ); 6895 6895 // Just keep the tag we need. 6896 $remote_source = strip_tags( $remote_source, '<a>');6896 $remote_source = strip_tags( $remote_source, ['a'] ); 6897 6897 6898 6898 $p = explode( "\n\n", $remote_source ); 6899 6899