Ticket #14348: 14348-2.diff
File 14348-2.diff, 1.2 KB (added by , 14 years ago) |
---|
-
wp-includes/default-filters.php
174 174 // Misc filters 175 175 add_filter( 'option_ping_sites', 'privacy_ping_filter' ); 176 176 add_filter( 'option_blog_charset', '_wp_specialchars' ); // IMPORTANT: This must not be wp_specialchars() or esc_html() or it'll cause an infinite loop 177 add_filter( 'template_include', 'httphead' ); 177 178 add_filter( 'option_home', '_config_wp_home' ); 178 179 add_filter( 'option_siteurl', '_config_wp_siteurl' ); 179 180 add_filter( 'tiny_mce_before_init', '_mce_set_direction' ); -
wp-includes/functions.php
3311 3311 die(); 3312 3312 } 3313 3313 3314 function httphead( $template ) 3315 { 3316 if( $_SERVER['REQUEST_METHOD'] == 'HEAD' ) 3317 return false; 3318 3319 return $template; 3320 } 3321 3314 3322 /** 3315 3323 * Converts value to nonnegative integer. 3316 3324 *