Changeset 23303
- Timestamp:
- 01/17/2013 03:07:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r23265 r23303 2604 2604 if ( ! is_array( $protocols ) ) 2605 2605 $protocols = wp_allowed_protocols(); 2606 if ( wp_kses_bad_protocol( $url, $protocols ) != $url ) 2606 $good_protocol_url = wp_kses_bad_protocol( $url, $protocols ); 2607 if ( strtolower( $good_protocol_url ) != strtolower( $url ) ) 2607 2608 return ''; 2608 2609 2609 return apply_filters('clean_url', $ url, $original_url, $_context);2610 return apply_filters('clean_url', $good_protocol_url, $original_url, $_context); 2610 2611 } 2611 2612
Note: See TracChangeset
for help on using the changeset viewer.