Skip to content

Commit

Permalink
No Admin Bar for XML-RPC requests.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@15974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
westi committed Oct 26, 2010
1 parent 197a16b commit 77aaa24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmlrpc.php
Expand Up @@ -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();
Expand Down

0 comments on commit 77aaa24

Please sign in to comment.