mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02:00
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
|
* @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