Changeset 45823 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 08/17/2019 01:58:12 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r45723 r45823 6881 6881 } 6882 6882 6883 $remote_source = strip_tags( $remote_source, '<a>' ); // just keep the tag we need 6883 // Remove all script and style tags including their content. 6884 $remote_source = preg_replace( '@<(script|style)[^>]*?>.*?</\\1>@si', '', $remote_source ); 6885 // Just keep the tag we need. 6886 $remote_source = strip_tags( $remote_source, '<a>' ); 6884 6887 6885 6888 $p = explode( "\n\n", $remote_source );
Note: See TracChangeset
for help on using the changeset viewer.