No Admin Bar for XML-RPC requests.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-10-26 14:37:50 +00:00
parent 197a16b836
commit 77aaa245c5
1 changed files with 1 additions and 0 deletions

View File

@ -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();