Ticket #12341: 12341.001.diff
File 12341.001.diff, 632 bytes (added by , 14 years ago) |
---|
-
wp-includes/functions.php
1706 1706 $hook = 'do_feed_' . $feed; 1707 1707 if ( !has_action($hook) ) { 1708 1708 $message = sprintf( __( 'ERROR: %s is not a valid feed template.' ), esc_html($feed)); 1709 wp_die( $message);1709 wp_die( $message, '', array( 'response' => 404 ) ); 1710 1710 } 1711 1711 1712 1712 do_action( $hook, $wp_query->is_comment_feed ); … … 4041 4041 function _search_terms_tidy($t) { 4042 4042 return trim($t, "\"'\n\r "); 4043 4043 } 4044 ?> 4045 No newline at end of file 4044 ?>