Answers.Body: <p>Not seeing this on my only 5.01 site, which uses the old WP CiviCRM file structure.  That is, the files are in <code>&lt;webroot&gt;/wp-content/plugins/files/civicrm</code> and not <code>&lt;webroot&gt;/wp-content/uploads/civicrm</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-18T18:00:48.397Z
Answers.Text: I'm using the new file structure.
Answers.UserDisplayName: Andy Burns
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-19T02:42:47.163Z
Answers.LastActivityDate: 2018-12-19T02:42:47.163Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>When upgrading a WP multisite to 5.0.1, it completely removed contents within the civicrm uploads directory. I then restored the folder from the backup and all worked.</p>
  
  <p>But this is weird, does anyone know why this happens? Has it happened to anyone else? Not feeling secure to upgrade on production yet when I see things like this.</p>
  
  <p>It makes you run a db upgrade for all sites on the network but that shouldn't have anything to do with the uploads folder.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-18T21:53:09.937Z
Comments.Text: Did you test local or on your normal host?    WP should not remove any folders and I've not seen that.
Comments.UserDisplayName: Kevin Cristiano
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-18T21:56:59.430Z
Comments.Text: On our normal host. So strange :/
Comments.UserDisplayName: Andy Burns
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-18T23:16:41.573Z
Comments.Text: 5.01 here - not multisite -but no issues @AndyBurns
Comments.UserDisplayName: themak
Tags: <wordpress><upgrade><multisite>
Title: Upgrading WP to 5.0.1 deletes civicrm uploads folder
ThreadText: # Upgrading WP to 5.0.1 deletes civicrm uploads folder
  
  (Asked by: username_0 on 2018-12-18)
  
  When upgrading a WP multisite to 5.0.1, it completely removed contents within the civicrm uploads directory. I then restored the folder from the backup and all worked.
  
  But this is weird, does anyone know why this happens? Has it happened to anyone else? Not feeling secure to upgrade on production yet when I see things like this.
  
  It makes you run a db upgrade for all sites on the network but that shouldn't have anything to do with the uploads folder.
  
  **Tags:** wordpress, upgrade, multisite
  
  > **Comments:**
  > **username_1**: Did you test local or on your normal host?    WP should not remove any folders and I've not seen that.  
  > **username_0**: On our normal host. So strange :/  
  > **username_2**: 5.01 here - not multisite -but no issues @AndyBurns  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2018-12-19. Score: 1
  
  Not seeing this on my only 5.01 site, which uses the old WP CiviCRM file structure. That is, the files are in `/wp-content/plugins/files/civicrm` and not `/wp-content/uploads/civicrm`.
  
  > **Comments:**
  > **username_0**: I'm using the new file structure.  
  
  ---
  
  