[wp-trac] [WordPress Trac] #25650: When switching between blogs, wp_upload_dir 'baseurl' and 'url' may be pointing to the current blog not the switched one

WordPress Trac noreply at wordpress.org
Fri Jan 31 17:32:15 UTC 2014


#25650: When switching between blogs, wp_upload_dir 'baseurl' and 'url' may be
pointing to the current blog not the switched one
--------------------------+------------------------------
 Reporter:  igmoweb       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  3.6.1
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 Replying to [comment:2 igmoweb]:
 > But the problem now would be that the user could not change the content
 url by himself using WP_CONTENT_URL constant. Or at least, new issues
 would come, I guess.

 Yeah, it would likely be a regression. :-)

 Something along the lines of filtering the uploads url might work, though
 (see #23221).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25650#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list