Make WordPress Core

Ticket #2262: admin-header.patch

File admin-header.patch, 648 bytes (added by donncha, 19 years ago)
  • trunk/wp-inst/wp-admin/admin-header.php

     
    11<?php
    22@header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    33if (!isset($_GET["page"])) require_once('admin.php');
    4 if ( $list_js || $cat_js )
    5         $sack_js = true;
    64if ( $editing ) {
    75        $dbx_js = true;
    86        $cat_js = true;
    97}
     8if ( $list_js || $cat_js )
     9        $sack_js = true;
    1010?>
    1111<?php get_admin_page_title(); ?>
    1212<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">