admin-db is needed for wp_delete_category
git-svn-id: http://svn.automattic.com/wordpress/trunk@2940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1dd2e8f0d1
commit
ef2049566f
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
require_once('../wp-config.php');
|
||||
require_once('admin-functions.php');
|
||||
require_once('admin-db.php');
|
||||
|
||||
get_currentuserinfo();
|
||||
if ( !$current_user )
|
||||
|
|
Loading…
Reference in New Issue