Admin includes reorg. see #4334

git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-05-25 07:16:21 +00:00
parent c018ceb6bd
commit 09f70467e0
24 changed files with 2791 additions and 2726 deletions
+1 -5
View File
@@ -39,7 +39,7 @@ header('Content-type: text/xml; charset=' . get_option('blog_charset'), true);
exit;
}
include_once(ABSPATH . 'wp-admin/admin-functions.php');
include_once(ABSPATH . 'wp-admin/includes/admin.php');
include_once(ABSPATH . WPINC . '/class-IXR.php');
// Turn off all warnings and errors.
@@ -490,10 +490,6 @@ class wp_xmlrpc_server extends IXR_Server {
return(new IXR_Error(401, __("Sorry, you do not have the right to add a category.")));
}
// We need this to make use of the wp_insert_category()
// funciton.
require_once(ABSPATH . "wp-admin/admin-db.php");
// If no slug was provided make it empty so that
// WordPress will generate one.
if(empty($category["slug"])) {