[wp-trac] [WordPress Trac] #44219: null post json object reference when retrieve a media item
WordPress Trac
noreply at wordpress.org
Thu May 24 19:22:01 UTC 2018
#44219: null post json object reference when retrieve a media item
-------------------------------+------------------------------
Reporter: nurcholisart | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.8.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: rest-api
-------------------------------+------------------------------
Changes (by birgire):
* keywords: => reporter-feedback
Comment:
Welcome to WordPress Trac @nurcholisart
I think that means the featured image is not attached to any post, hence
null.
An image can only be attached to a single post.
So I think this is expected, if your featured image is not attached to the
post.
Is that the case?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44219#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list