We never want an admin bar on an APP request either. See #14772.

git-svn-id: https://develop.svn.wordpress.org/trunk@16072 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-10-29 07:46:35 +00:00
parent 8e0ad0374e
commit 5e54944621
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@
* @var bool
*/
define('APP_REQUEST', true);
define('WP_SHOW_ADMIN_BAR' , false);
/** Set up WordPress environment */
require_once('./wp-load.php');