Changeset 23348
- Timestamp:
- 01/25/2013 07:28:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.5/wp-includes/formatting.php
r22653 r23348 2602 2602 if ( ! is_array( $protocols ) ) 2603 2603 $protocols = wp_allowed_protocols(); 2604 if ( wp_kses_bad_protocol( $url, $protocols ) != $url ) 2604 $good_protocol_url = wp_kses_bad_protocol( $url, $protocols ); 2605 if ( strtolower( $good_protocol_url ) != strtolower( $url ) ) 2605 2606 return ''; 2606 2607 2607 return apply_filters('clean_url', $ url, $original_url, $_context);2608 return apply_filters('clean_url', $good_protocol_url, $original_url, $_context); 2608 2609 } 2609 2610
Note: See TracChangeset
for help on using the changeset viewer.