Changeset 46907 for branches/5.1/src/wp-includes/kses.php
- Timestamp:
- 12/12/2019 06:36:20 PM (5 years ago)
- Location:
- branches/5.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1
- Property svn:mergeinfo changed
/trunk merged: 46893-46896
- Property svn:mergeinfo changed
-
branches/5.1/src/wp-includes/kses.php
r46002 r46907 1659 1659 function wp_kses_bad_protocol_once( $string, $allowed_protocols, $count = 1 ) { 1660 1660 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1661 $string2 = preg_split( '/:|�*58;|�*3a; /i', $string, 2 );1661 $string2 = preg_split( '/:|�*58;|�*3a;|:/i', $string, 2 ); 1662 1662 if ( isset( $string2[1] ) && ! preg_match( '%/\?%', $string2[0] ) ) { 1663 1663 $string = trim( $string2[1] );
Note: See TracChangeset
for help on using the changeset viewer.