We never want an admin bar on an APP request either. See #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e7ee7a2eaa
commit
d8b886461a
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue