mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
Define WP_ADMIN in flash uploader, props hailin, fixes #9368
git-svn-id: http://svn.automattic.com/wordpress/trunk@10827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bea5770abc
commit
f26797d298
@ -6,6 +6,8 @@
|
|||||||
* @subpackage Administration
|
* @subpackage Administration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
define('WP_ADMIN', true);
|
||||||
|
|
||||||
if ( defined('ABSPATH') )
|
if ( defined('ABSPATH') )
|
||||||
require_once(ABSPATH . 'wp-load.php');
|
require_once(ABSPATH . 'wp-load.php');
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user