Changeset 5640
- Timestamp:
- 06/02/2007 05:21:18 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r5634 r5640 1 1 <?php 2 @header('Content- type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));2 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 3 3 if (!isset($_GET["page"])) require_once('admin.php'); 4 4 if ( $editing ) { -
trunk/wp-admin/export.php
r5563 r5640 52 52 header('Content-Description: File Transfer'); 53 53 header("Content-Disposition: attachment; filename=$filename"); 54 header('Content- type: text/xml; charset=' . get_option('blog_charset'), true);54 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 55 55 56 56 $where = ''; -
trunk/wp-admin/index-extra.php
r5347 r5640 3 3 require_once (ABSPATH . WPINC . '/rss.php'); 4 4 5 @header('Content- type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));5 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 6 6 7 7 switch ( $_GET['jax'] ) { -
trunk/wp-admin/upgrade.php
r5542 r5640 12 12 else 13 13 $step = 0; 14 @header('Content- type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));14 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 15 15 ?> 16 16 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -
trunk/wp-admin/upload.php
r5635 r5640 2 2 require_once('admin.php'); 3 3 4 @header('Content- type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));4 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 5 5 6 6 if (!current_user_can('upload_files')) -
trunk/wp-comments-post.php
r5128 r5640 3 3 header('Allow: POST'); 4 4 header("HTTP/1.1 405 Method Not Allowed"); 5 header("Content- type: text/plain");5 header("Content-Type: text/plain"); 6 6 exit; 7 7 } -
trunk/wp-includes/classes.php
r5575 r5640 177 177 if ( !is_user_logged_in() ) 178 178 nocache_headers(); 179 @header('Content- type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));179 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 180 180 } else if ( empty($this->query_vars['feed']) ) { 181 @header('Content- type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));181 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 182 182 } else { 183 183 // We're showing a feed, so WP is indeed the only thing that last changed … … 730 730 731 731 function send() { 732 header('Content- type: text/xml');732 header('Content-Type: text/xml'); 733 733 echo "<?xml version='1.0' standalone='yes'?><wp_ajax>"; 734 734 foreach ( $this->responses as $response ) -
trunk/wp-includes/feed-atom.php
r5390 r5640 1 1 <?php 2 header('Content- type: application/atom+xml; charset=' . get_option('blog_charset'), true);2 header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true); 3 3 $more = 1; 4 4 -
trunk/wp-includes/feed-rdf.php
r5390 r5640 1 1 <?php 2 header('Content- type: application/rdf+xml; charset=' . get_option('blog_charset'), true);2 header('Content-Type: application/rdf+xml; charset=' . get_option('blog_charset'), true); 3 3 $more = 1; 4 4 -
trunk/wp-includes/feed-rss.php
r5390 r5640 1 1 <?php 2 header('Content- type: text/xml; charset=' . get_option('blog_charset'), true);2 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 3 3 $more = 1; 4 4 -
trunk/wp-includes/feed-rss2-comments.php
r5390 r5640 1 1 <?php 2 header('Content- type: text/xml;charset=' . get_option('blog_charset'), true);2 header('Content-Type: text/xml;charset=' . get_option('blog_charset'), true); 3 3 4 4 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; -
trunk/wp-includes/feed-rss2.php
r5390 r5640 1 1 <?php 2 header('Content- type: text/xml; charset=' . get_option('blog_charset'), true);2 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 3 3 $more = 1; 4 4 -
trunk/wp-includes/functions.php
r5573 r5640 744 744 function cache_javascript_headers() { 745 745 $expiresOffset = 864000; // 10 days 746 header("Content- type: text/javascript; charset=" . get_bloginfo('charset'));746 header("Content-Type: text/javascript; charset=" . get_bloginfo('charset')); 747 747 header("Vary: Accept-Encoding"); // Handle proxies 748 748 header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT"); … … 798 798 799 799 function do_robots() { 800 header('Content- type: text/plain; charset=utf-8');800 header('Content-Type: text/plain; charset=utf-8'); 801 801 802 802 do_action('do_robotstxt'); -
trunk/wp-links-opml.php
r5155 r5640 6 6 } 7 7 8 header('Content- type: text/xml; charset=' . get_option('blog_charset'), true);8 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 9 9 $link_cat = $_GET['link_cat']; 10 10 if ((empty ($link_cat)) || ($link_cat == 'all') || ($link_cat == '0')) { -
trunk/xmlrpc.php
r5570 r5640 19 19 20 20 if ( isset( $_GET['rsd'] ) ) { // http://archipelago.phrasewise.com/rsd 21 header('Content- type: text/xml; charset=' . get_option('blog_charset'), true);21 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 22 22 23 23 ?>
Note: See TracChangeset
for help on using the changeset viewer.