WordPress Media Library Broken after WordPress Update
-
We had previously defined the UPLOADS variable in wp-config to point to an alternate directory:
define(‘UPLOADS’, ‘media’);This has been working just fine since 2017. The other day I updated WordPress to 5.3.2. Every single image in the media library disappeared and every single blog post featured image disappeared from our website.
If I go into the media library, the media library now thinks that all the images are in wp-content/uploads/ but if I go into the post table, the record for the matching image has its location as being at /media/ – which is correct.
Has this happened to anyone else who over-rode the default directory? Did someone at WordPress decide to hard code the wp-content/uploads/ directory somewhere – instead of using the UPLOADS variable defined in the wp-config.php file?
Any assistance on getting this fixed would be greatly appreciated.
The topic ‘WordPress Media Library Broken after WordPress Update’ is closed to new replies.