Add text/javascript header to cat-js.php. Props Juergen. fixes #2351
git-svn-id: http://svn.automattic.com/wordpress/trunk@3500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fa6f173c88
commit
537e956fbc
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
require_once('admin.php');
|
require_once('admin.php');
|
||||||
|
header('Content-type: text/javascript; charset=' . get_settings('blog_charset'), true);
|
||||||
?>
|
?>
|
||||||
var ajaxCat = new sack();
|
var ajaxCat = new sack();
|
||||||
var newcat;
|
var newcat;
|
||||||
|
|
Loading…
Reference in New Issue