Ticket #18395: patch.diff
File patch.diff, 598 bytes (added by , 13 years ago) |
---|
-
wp-includes/default-filters.php
60 60 foreach ( array( 'pre_comment_author_url', 'pre_user_url', 'pre_link_url', 'pre_link_image', 61 61 'pre_link_rss', 'pre_post_guid' ) as $filter ) { 62 62 add_filter( $filter, 'wp_strip_all_tags' ); 63 add_filter( $filter, 'esc_url_raw' ); 63 if ($filter != 'pre_post_guid') 64 add_filter( $filter, 'esc_url_raw' ); 64 65 add_filter( $filter, 'wp_filter_kses' ); 65 66 } 66 67