[wp-trac] [WordPress Trac] #47782: REST API Media returning blank

WordPress Trac noreply at wordpress.org
Fri Jul 26 19:21:14 UTC 2019


#47782: REST API Media returning blank
--------------------------+------------------------------
 Reporter:  CHEWX         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.2.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  rest-api
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close
 * component:  REST API => Media


Comment:

 Hi @CHEWX, welcome to WordPress Trac! Thanks for the report.

 Yes, the current behavior is intentional, per comment:1.

 If you upload an image from the Edit Post screen then it becomes attached
 to that post and depends on its status.

 If you upload an image from the Media Library screen, then it does not
 depend on any post.

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


More information about the wp-trac mailing list