[wp-trac] [WordPress Trac] #11136: Media upload tabs broken if not deployed in root

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 13 15:13:02 UTC 2009


#11136: Media upload tabs broken if not deployed in root
--------------------------+-------------------------------------------------
 Reporter:  s3000xl       |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Upload        |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 If you deploy in a directory other than the root directory (e.g. /blog/)
 then when you click the tabs in the media-upload.php dialogue it tries to
 load /wp-admin/media-upload.php?tab=xxx instead of /blog/wp-admin/media-
 upload.php?tab=xxx

 Assuming this needs to use the admin_url() function or similar. Tracked
 the problem down to the_media_upload_tabs() in wp-admin/include/media.php.

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


More information about the wp-trac mailing list