Make WordPress Core

Ticket #1831: image-uploading.php.diff

File image-uploading.php.diff, 890 bytes (added by IoZ, 21 years ago)

This patch solves that problem

  • wp-admin/image-uploading.php

     
    337337die('This script was not meant to be called directly.');
    338338}
    339339
     340@header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    340341?>
    341342<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    342343<html xmlns="http://www.w3.org/1999/xhtml">
    343344<head>
    344345<meta http-equiv="imagetoolbar" content="no" />
     346<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />
    345347<script type="text/javascript">
    346348/* Define any variables we'll need, such as alternate URLs. */
    347349<?php echo $images_script; ?>