- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/default-filters.php
r17466 r18023 59 59 // Save URL 60 60 foreach ( array( 'pre_comment_author_url', 'pre_user_url', 'pre_link_url', 'pre_link_image', 61 'pre_link_rss' ) as $filter ) {61 'pre_link_rss', 'pre_post_guid' ) as $filter ) { 62 62 add_filter( $filter, 'wp_strip_all_tags' ); 63 63 add_filter( $filter, 'esc_url_raw' ); … … 66 66 67 67 // Display URL 68 foreach ( array( 'user_url', 'link_url', 'link_image', 'link_rss', 'comment_url' ) as $filter ) {68 foreach ( array( 'user_url', 'link_url', 'link_image', 'link_rss', 'comment_url', 'post_guid' ) as $filter ) { 69 69 if ( is_admin() ) 70 70 add_filter( $filter, 'wp_strip_all_tags' ); … … 86 86 add_filter( $filter, 'sanitize_key' ); 87 87 } 88 89 // Mime types 90 add_filter( 'pre_post_mime_type', 'sanitize_mime_type' ); 91 add_filter( 'post_mime_type', 'sanitize_mime_type' ); 88 92 89 93 // Places to balance tags on input … … 219 223 add_action( 'login_head', 'wp_print_head_scripts', 9 ); 220 224 add_action( 'login_footer', 'wp_print_footer_scripts' ); 225 add_action( 'login_init', 'send_frame_options_header', 10, 0 ); 221 226 222 227 // Feed Generator Tags … … 250 255 add_action( 'comment_form', 'wp_comment_form_unfiltered_html_nonce' ); 251 256 add_action( 'wp_scheduled_delete', 'wp_scheduled_delete' ); 257 add_action( 'admin_init', 'send_frame_options_header', 10, 0 ); 258 add_action( 'importer_scheduled_cleanup', 'wp_delete_attachment' ); 252 259 253 260 // Navigation menu actions
Note: See TracChangeset
for help on using the changeset viewer.