diff --git a/xmlrpc.php b/xmlrpc.php index aa308f8d7..1a85f1a6b 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -32,6 +32,7 @@ header('Content-type: text/xml; charset=' . get_option('blog_charset'), true); exit; } +include_once(ABSPATH . 'wp-admin/admin-functions.php'); include_once(ABSPATH . WPINC . '/class-IXR.php'); // Turn off all warnings and errors.