Closed postphotos closed 4 years ago
Also interesting, there is a related bug for Jetpack as well: https://github.com/Automattic/jetpack/issues/16425
The import process which handles the image import from Unsplash was not setting the current post ID as the post_parent
to the imported image.
Classic editor has code to do the mapping after a post is uploaded, but the Block editor does not have that code. PR #199 adds code to set the post_parent
to the current post ID during the import process.
Bug Description
images aren’t “attaching” to Block Editor posts, but do in Classic.
For context, regular images, when uploaded in either editor, are “attached” to a page.
Expected Behaviour
Images should attach to a post/page when uploaded, regardless of editor type (classic or block).
Currently it's just working on Classic.
Steps to reproduce
/wp-admin/upload.php?mode=list&attachment-filter=detached
Screenshots
Additional context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry