File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?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 ' ));
33if (!isset ($ _GET ["page " ])) require_once ('admin.php ' );
44if ( $ editing ) {
55 wp_enqueue_script ( array ('dbx-admin-key?pagenow= ' . attribute_escape ($ pagenow ),'admin-custom-fields ' ) );
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ function export_wp() {
5151
5252header ('Content-Description: File Transfer ' );
5353header ("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 );
5555
5656$ where = '' ;
5757if ( isset ( $ _GET ['author ' ] ) && $ _GET ['author ' ] != 'all ' ) {
Original file line number Diff line number Diff line change 22require_once ('admin.php ' );
33require_once (ABSPATH . WPINC . '/rss.php ' );
44
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 ' ));
66
77switch ( $ _GET ['jax ' ] ) {
88
Original file line number Diff line number Diff line change 1111 $ step = (int ) $ _GET ['step ' ];
1212else
1313 $ 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 ' ));
1515?>
1616<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1717<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes (); ?> >
Original file line number Diff line number Diff line change 11<?php
22require_once ('admin.php ' );
33
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 ' ));
55
66if (!current_user_can ('upload_files ' ))
77 wp_die (__ ('You do not have permission to upload files. ' ));
Original file line number Diff line number Diff line change 22if ($ _SERVER ["REQUEST_METHOD " ] != "POST " ) {
33 header ('Allow: POST ' );
44 header ("HTTP/1.1 405 Method Not Allowed " );
5- header ("Content-type : text/plain " );
5+ header ("Content-Type : text/plain " );
66 exit ;
77}
88require ( dirname (__FILE__ ) . '/wp-config.php ' );
Original file line number Diff line number Diff line change @@ -176,9 +176,9 @@ function send_headers() {
176176 status_header ( 404 );
177177 if ( !is_user_logged_in () )
178178 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 ' ));
180180 } 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 ' ));
182182 } else {
183183 // We're showing a feed, so WP is indeed the only thing that last changed
184184 if ( $ this ->query_vars ['withcomments ' ]
@@ -729,7 +729,7 @@ function add( $args = '' ) {
729729 }
730730
731731 function send () {
732- header ('Content-type : text/xml ' );
732+ header ('Content-Type : text/xml ' );
733733 echo "<?xml version='1.0' standalone='yes'?><wp_ajax> " ;
734734 foreach ( $ this ->responses as $ response )
735735 echo $ response ;
Original file line number Diff line number Diff line change 11<?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 );
33$ more = 1 ;
44
55?>
Original file line number Diff line number Diff line change 11<?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 );
33$ more = 1 ;
44
55?>
Original file line number Diff line number Diff line change 11<?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 );
33$ more = 1 ;
44
55?>
You can’t perform that action at this time.
0 commit comments