[wp-trac] [WordPress Trac] #50675: Media: migrate the data from the attachment post of the parent image when saving an edited image

WordPress Trac noreply at wordpress.org
Fri Jul 17 18:53:44 UTC 2020


#50675: Media: migrate the data from the attachment post of the parent image when
saving an edited image
----------------------------------------+-----------------------
 Reporter:  azaozz                      |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  5.5
Component:  Media                       |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  rest-api
----------------------------------------+-----------------------

Comment (by joedolson):

 Copying any of the information over at all requires a certain amount of
 assumption about the nature of the editing process; certainly for changes
 of size or rotations, it's still the same image - for cropping actions,
 that's less clear; it may or may not be the same image.

 And I'd note, @spacedmonkey, that an alt attribute does *not* describe the
 image; it describes the purpose of the image. In some cases, that text
 might describe the image itself, but certainly not in all cases.

 Ideally, I think that there should be a user interface to give people the
 opportunity to edit  meta for an attachment at the time it's created; it
 could be pre-populated with the existing meta data, as even if the
 information has changed, that's a likely starting point.

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


More information about the wp-trac mailing list