Changeset 46903 for branches/3.7/src/wp-includes/kses.php
- Timestamp:
- 12/12/2019 06:25:04 PM (6 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 46895
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-includes/kses.php
r46023 r46903 1308 1308 function wp_kses_bad_protocol_once($string, $allowed_protocols, $count = 1 ) { 1309 1309 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1310 $string2 = preg_split( '/:|�*58;|�*3a; /i', $string, 2 );1310 $string2 = preg_split( '/:|�*58;|�*3a;|:/i', $string, 2 ); 1311 1311 if ( isset($string2[1]) && ! preg_match('%/\?%', $string2[0]) ) { 1312 1312 $string = trim( $string2[1] );
Note: See TracChangeset
for help on using the changeset viewer.