No Admin Bar for XML-RPC requests.
git-svn-id: https://develop.svn.wordpress.org/trunk@15974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c9d26cd5b3
commit
bac7033da7
@ -11,6 +11,7 @@
|
||||
* @var bool
|
||||
*/
|
||||
define('XMLRPC_REQUEST', true);
|
||||
define('WP_SHOW_ADMIN_BAR' , false);
|
||||
|
||||
// Some browser-embedded clients send cookies. We don't want them.
|
||||
$_COOKIE = array();
|
||||
|
Loading…
Reference in New Issue
Block a user