Changeset 46911 for branches/4.3/src/wp-includes/kses.php
- Timestamp:
- 12/12/2019 06:42:58 PM (5 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
-
branches/4.3/src/wp-includes/kses.php
r46011 r46911 1394 1394 function wp_kses_bad_protocol_once($string, $allowed_protocols, $count = 1 ) { 1395 1395 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1396 $string2 = preg_split( '/:|�*58;|�*3a; /i', $string, 2 );1396 $string2 = preg_split( '/:|�*58;|�*3a;|:/i', $string, 2 ); 1397 1397 if ( isset($string2[1]) && ! preg_match('%/\?%', $string2[0]) ) { 1398 1398 $string = trim( $string2[1] );
Note: See TracChangeset
for help on using the changeset viewer.