[wp-trac] [WordPress Trac] #33200: Changing BLOG_ID_CURRENT_SITE breaks media

WordPress Trac noreply at wordpress.org
Thu Jul 30 08:51:56 UTC 2015


#33200: Changing BLOG_ID_CURRENT_SITE breaks media
--------------------------+-----------------------------
 Reporter:  gilbitron     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.2.3
 Severity:  normal        |   Keywords:
  Focuses:  multisite     |
--------------------------+-----------------------------
 Say you upload media to the default site and a subsite while
 `BLOG_ID_CURRENT_SITE` is `1`. The media locations are as follows:

 * Default site: `uploads`
 * Subsite: `uploads/sites/2`

 When you change `BLOG_ID_CURRENT_SITE` to `2` the location of the media
 files changes so that it is now:

 * Default site: `uploads/sites/1`
 * Subsite: `uploads`

 However no files are moved which results in broken media.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33200>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list