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:
Andrew Ozz 2009-03-20 01:07:35 +00:00
parent ad1686e2e6
commit 5b46fbafd5
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@
* @package WordPress
* @subpackage Administration
*/
define('WP_ADMIN', true);
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');