When pressing the "add media"-button on the edit post page, it opens and the loader keeps spinning without it displaying any images.
The images shows up just fine in the media library tab of the control panel.
Things I've tried so far:
- Changing theme to TwentySixteen (this works)
- Disabling all plugins (currently have none installed)
- Tried running the theme one a different install (does not work, same issue)
- Replace all the WordPress files in the environment
So I've kind of narrowed it down to it being a theme-issue. I just can't figure out which part of the theme that might affect the behavior of the "add media" function in WordPress.
Anyone have suggestions to as which files in the theme might affect control panel behavior?