Changeset 45997 for trunk/src/wp-includes/kses.php
- Timestamp:
- 09/04/2019 05:51:33 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/kses.php
r45590 r45997 1665 1665 */ 1666 1666 function wp_kses_bad_protocol_once( $string, $allowed_protocols, $count = 1 ) { 1667 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1667 1668 $string2 = preg_split( '/:|�*58;|�*3a;/i', $string, 2 ); 1668 1669 if ( isset( $string2[1] ) && ! preg_match( '%/\?%', $string2[0] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.