From 77aaa245c5dce9a3cdfda235edfc0e1f9c639c87 Mon Sep 17 00:00:00 2001 From: westi Date: Tue, 26 Oct 2010 14:37:50 +0000 Subject: [PATCH] No Admin Bar for XML-RPC requests. git-svn-id: http://svn.automattic.com/wordpress/trunk@15974 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- xmlrpc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/xmlrpc.php b/xmlrpc.php index f611dfcec6..b8f3c6262f 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -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();