Changeset 46895 for trunk/src/wp-includes/kses.php
- Timestamp:
- 12/12/2019 05:52:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/kses.php
r46793 r46895 1666 1666 function wp_kses_bad_protocol_once( $string, $allowed_protocols, $count = 1 ) { 1667 1667 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1668 $string2 = preg_split( '/:|�*58;|�*3a; /i', $string, 2 );1668 $string2 = preg_split( '/:|�*58;|�*3a;|:/i', $string, 2 ); 1669 1669 if ( isset( $string2[1] ) && ! preg_match( '%/\?%', $string2[0] ) ) { 1670 1670 $string = trim( $string2[1] );
Note: See TracChangeset
for help on using the changeset viewer.