[wp-trac] [WordPress Trac] #43699: if i remove image from a post > wp-json return it again as a media

WordPress Trac noreply at wordpress.org
Mon Apr 9 12:13:05 UTC 2018


#43699: if i remove image from a post >  wp-json return it again as a media
-------------------------------+------------------------------
 Reporter:  adalenv            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  4.9.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  rest-api
-------------------------------+------------------------------

Comment (by soulseekah):

 The nightly build can be retrieved from here https://wordpress.org
 /nightly-builds/wordpress-latest.zip

 When testing make sure you're using the default theme, and absolutely no
 active plugins.

 Also, please show the HTTP response headers.

 And, can you please show a request to `/wp-json/wp/v2/media?parent=X`,
 where parent is some non-existing number?

 Thanks.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43699#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list