Changeset 46899 for branches/5.3/src/wp-includes/kses.php
- Timestamp:
- 12/12/2019 06:10:23 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3/src/wp-includes/kses.php
r46794 r46899 1666 1666 function wp_kses_bad_protocol_once( $string, $allowed_protocols, $count = 1 ) { 1667 1667 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1668 $string2 = preg_split( '/:|�*58;|�*3a; /i', $string, 2 );1668 $string2 = preg_split( '/:|�*58;|�*3a;|:/i', $string, 2 ); 1669 1669 if ( isset( $string2[1] ) && ! preg_match( '%/\?%', $string2[0] ) ) { 1670 1670 $string = trim( $string2[1] );
Note: See TracChangeset
for help on using the changeset viewer.