mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@4109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once('../wp-config.php');
|
||||
header('Content-type: text/javascript; charset=' . get_settings('blog_charset'), true);
|
||||
cache_javascript_headers();
|
||||
?>
|
||||
addLoadEvent(function(){catList=new listMan('categorychecklist');catList.ajaxRespEl='jaxcat';catList.topAdder=1;catList.alt=0;catList.showLink=0;});
|
||||
addLoadEvent(newCatAddIn);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once('admin.php');
|
||||
header('Content-type: text/javascript; charset=' . get_settings('blog_charset'), true);
|
||||
cache_javascript_headers();
|
||||
|
||||
switch ( $_GET['pagenow'] ) :
|
||||
case 'post.php' :
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once('admin.php');
|
||||
header('Content-type: text/javascript; charset=' . get_settings('blog_charset'), true);
|
||||
cache_javascript_headers();
|
||||
$handler = get_settings( 'siteurl' ) . '/wp-admin/admin-ajax.php';
|
||||
?>
|
||||
addLoadEvent(function(){theList=new listMan();});
|
||||
|
||||
Reference in New Issue
Block a user