Changeset 46917 for branches/4.8/src/wp-includes/kses.php
- Timestamp:
- 12/12/2019 06:53:18 PM (5 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
- Property svn:mergeinfo changed
/trunk merged: 46893,46895
- Property svn:mergeinfo changed
-
branches/4.8/src/wp-includes/kses.php
r46006 r46917 1386 1386 function wp_kses_bad_protocol_once($string, $allowed_protocols, $count = 1 ) { 1387 1387 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1388 $string2 = preg_split( '/:|�*58;|�*3a; /i', $string, 2 );1388 $string2 = preg_split( '/:|�*58;|�*3a;|:/i', $string, 2 ); 1389 1389 if ( isset($string2[1]) && ! preg_match('%/\?%', $string2[0]) ) { 1390 1390 $string = trim( $string2[1] );
Note: See TracChangeset
for help on using the changeset viewer.