[wp-trac] [WordPress Trac] #13483: fileupload_url / upload_url_path

WordPress Trac wp-trac at lists.automattic.com
Tue May 25 23:11:26 UTC 2010


#13483: fileupload_url / upload_url_path
--------------------------+-------------------------------------------------
 Reporter:  jimisaacs     |       Owner:                                                      
     Type:  defect (bug)  |      Status:  new                                                 
 Priority:  high          |   Milestone:  Future Release                                      
Component:  Multisite     |     Version:  3.0                                                 
 Severity:  major         |    Keywords:  multisite attachments fileupload_url upload_url_path
--------------------------+-------------------------------------------------
Changes (by wpmuguru):

  * milestone:  3.0 => Future Release


Comment:

 Replying to [comment:25 jimisaacs]:
 >
 > @wpmuguru Thanks for testing, and I sorry for not mentioning to you what
 I had earlier in these comments, but the behavior in question is all about
 the switch_to_blog() functionality.

 Ah :) Okay, it's all clear, media was not working properly under
 switch_to_blog in either MU or in trunk up until I made some recent
 changes. If you had come up with a custom setup that was working before,
 it is probably broken now.

 Both UPLOADS & BLOGUPLOADDIR are constants that refer to the original
 unswitched blog. The last change blocks those being used when switched.

 You should be able to sort something out using the upload_dir filter.

 We may be able to do something more flexible in a future release, but I'm
 not planning on tackling it this close to RC.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13483#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list