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:
parent
8e0ad0374e
commit
5e54944621
@ -11,6 +11,7 @@
|
|||||||
* @var bool
|
* @var bool
|
||||||
*/
|
*/
|
||||||
define('APP_REQUEST', true);
|
define('APP_REQUEST', true);
|
||||||
|
define('WP_SHOW_ADMIN_BAR' , false);
|
||||||
|
|
||||||
/** Set up WordPress environment */
|
/** Set up WordPress environment */
|
||||||
require_once('./wp-load.php');
|
require_once('./wp-load.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user