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:
parent
197a16b836
commit
77aaa245c5
|
@ -11,6 +11,7 @@
|
||||||
* @var bool
|
* @var bool
|
||||||
*/
|
*/
|
||||||
define('XMLRPC_REQUEST', true);
|
define('XMLRPC_REQUEST', true);
|
||||||
|
define('WP_SHOW_ADMIN_BAR' , false);
|
||||||
|
|
||||||
// Some browser-embedded clients send cookies. We don't want them.
|
// Some browser-embedded clients send cookies. We don't want them.
|
||||||
$_COOKIE = array();
|
$_COOKIE = array();
|
||||||
|
|
Loading…
Reference in New Issue