[wp-trac] [WordPress Trac] #9368: WP_ADMIN needs to be true in flash uploader

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 20 00:28:15 GMT 2009


#9368: WP_ADMIN needs to be true in flash uploader
--------------------------+-------------------------------------------------
 Reporter:  hailin        |       Owner:  anonymous 
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 <mdawaffe_lap_> eagleclaw: wp-admin/async-upload.php loads admin.php after
 wp-load.php, so WP_ADMIN is not defined by the time plugins are loaded.

  It needs to be TRUE because some plugin tests this variable to make sure
 the URL is a admin one.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9368>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list