Include admin-functions in xmlrpc.
git-svn-id: https://develop.svn.wordpress.org/trunk@4650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9c222d2be4
commit
0829b413b9
@ -32,6 +32,7 @@ header('Content-type: text/xml; charset=' . get_option('blog_charset'), true);
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include_once(ABSPATH . 'wp-admin/admin-functions.php');
|
||||||
include_once(ABSPATH . WPINC . '/class-IXR.php');
|
include_once(ABSPATH . WPINC . '/class-IXR.php');
|
||||||
|
|
||||||
// Turn off all warnings and errors.
|
// Turn off all warnings and errors.
|
||||||
|
Loading…
Reference in New Issue
Block a user