mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-04 12:29:22 +00: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
@ -5,6 +5,8 @@
|
||||
* @package WordPress
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
define('WP_ADMIN', true);
|
||||
|
||||
if ( defined('ABSPATH') )
|
||||
require_once(ABSPATH . 'wp-load.php');
|
||||
|
Loading…
x
Reference in New Issue
Block a user