Media sideloading broken in WordPress 7
-
Since updating to WordPress 7.0, generating posts with media causes this error:
Uncaught Error: Call to undefined function FakerPress\Module\media_handle_sideload() in /Users/Jake/Local Sites/cambio-blueprint/app/public/wp-content/plugins/fakerpress/src/FakerPress/Module/Attachment.php on line 161I believe this is because
includes/file.phpis now included in the general WordPress bootstrap, so the call toif (! function_exists('download_url')) {in Attachment.php fails to loads necessary dependencies.
You must be logged in to reply to this topic.