Ticket #19448: 19448.charset-only.diff
File 19448.charset-only.diff, 679 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-wp-ajax-response.php
126 126 * @since 2.1.0 127 127 */ 128 128 function send() { 129 header( 'Content-Type: text/xml');130 echo "<?xml version='1.0' standalone='yes'?><wp_ajax>";129 header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ) ); 130 echo "<?xml version='1.0' encoding='" . get_option( 'blog_charset' ) . "' standalone='yes'?><wp_ajax>"; 131 131 foreach ( (array) $this->responses as $response ) 132 132 echo $response; 133 133 echo '</wp_ajax>';