Can't attach image to a custom post type
-
Hey,
when plugin is active attachments are not being attached when uploading images with ‘Add Media’ button above content editor on edit post page.
This applicable for custom post types only.
While debugging I’ve found that ‘post_id’ field is not passed to async-upload.php. But it is needed to determine ‘parent’ when creating attachment. When I deactivate plugin then it starts passing ‘post_id’ and works well.
Help please. Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Can't attach image to a custom post type’ is closed to new replies.