Define WP_ADMIN in flash uploader, props hailin, fixes #9368
git-svn-id: https://develop.svn.wordpress.org/trunk@10827 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ad1686e2e6
commit
5b46fbafd5
@ -5,6 +5,8 @@
|
||||
* @package WordPress
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
define('WP_ADMIN', true);
|
||||
|
||||
if ( defined('ABSPATH') )
|
||||
require_once(ABSPATH . 'wp-load.php');
|
||||
|
Loading…
Reference in New Issue
Block a user