Image uploads broken in site editor #57037
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
In 17.1+ and trunk image uploads are broken via blocks in the site editor. The work as expected in post editor, and via the media library in the site editor, but using the
Upload
button in Image block etc. causes aInvalid paramater: post
error.It looks like this bug was introduced by #55970 - commits prior to this work as expected.
Step-by-step reproduction instructions
Upload
optionScreenshots, screen recording, code snippet
Environment info
17.1+
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: