mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
admin-db is needed for wp_delete_category
git-svn-id: https://develop.svn.wordpress.org/trunk@2940 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8c5f91cd89
commit
ab51dd291b
@ -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…
x
Reference in New Issue
Block a user