Changeset 46012 for branches/4.2/src/wp-includes/kses.php
- Timestamp:
- 09/04/2019 06:31:38 PM (5 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
-
branches/4.2/src/wp-includes/kses.php
r44042 r46012 1376 1376 */ 1377 1377 function wp_kses_bad_protocol_once($string, $allowed_protocols, $count = 1 ) { 1378 $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); 1378 1379 $string2 = preg_split( '/:|�*58;|�*3a;/i', $string, 2 ); 1379 1380 if ( isset($string2[1]) && ! preg_match('%/\?%', $string2[0]) ) {
Note: See TracChangeset
for help on using the changeset viewer.