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
|
@ -6,6 +6,8 @@
|
|||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
define('WP_ADMIN', true);
|
||||
|
||||
if ( defined('ABSPATH') )
|
||||
require_once(ABSPATH . 'wp-load.php');
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue