[wp-trac] [WordPress Trac] #44405: Updating/Cropping Images via Rest API

WordPress Trac noreply at wordpress.org
Sat Jul 4 04:13:32 UTC 2020


#44405: Updating/Cropping Images via Rest API
--------------------------------------+--------------------------------
 Reporter:  apermo                    |       Owner:  TimothyBlynJacobs
     Type:  feature request           |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  REST API                  |     Version:  4.9.6
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------------
Changes (by TimothyBlynJacobs):

 * owner:  (none) => TimothyBlynJacobs
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48291" 48291]:
 {{{
 #!CommitTicketReference repository="" revision="48291"
 REST API: Introduce endpoint for editing images.

 To facilitate inline image editing in Gutenberg, a new endpoint at
 wp/v2/media/<id>/edit has been introduced. This is functionally similar to
 the existing ajax image editor, however the REST API editor creates a new
 attachment record instead of updating an existing attachment.

 Fixes #44405.
 Props ajlende, ellatrix, spacedmonkey, azaozz.
 }}}

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


More information about the wp-trac mailing list