Changeset 46909 for branches/4.1/src/wp-includes/kses.php
- Timestamp:
- 12/12/2019 06:39:23 PM (6 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/kses.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/src/wp-includes/kses.php
r46013 r46909 1375 1375 function wp_kses_bad_protocol_once($string, $allowed_protocols, $count = 1 ) { 1376 1376 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1377 $string2 = preg_split( '/:|�*58;|�*3a; /i', $string, 2 );1377 $string2 = preg_split( '/:|�*58;|�*3a;|:/i', $string, 2 ); 1378 1378 if ( isset($string2[1]) && ! preg_match('%/\?%', $string2[0]) ) { 1379 1379 $string = trim( $string2[1] );
Note: See TracChangeset
for help on using the changeset viewer.