Changeset 21528
- Timestamp:
- 08/15/2012 06:17:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-ajax-response.php
r19911 r21528 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;
Note: See TracChangeset
for help on using the changeset viewer.