[wp-trac] [WordPress Trac] #40403: Media: Allow disabling of auto-save for attachment changes in Media Library

WordPress Trac noreply at wordpress.org
Sat Sep 16 15:00:49 UTC 2017


#40403: Media: Allow disabling of auto-save for attachment changes in Media Library
-------------------------+------------------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by joemcgill):

 This has always been one of the more confusing parts of the image
 workflows in wp.media.frame from my point of view. Any time the Post frame
 uses the `insert` state, edits to those fields modify the underlying
 attachment, but if the same image is edited after being inserted,
 wp.media.frame uses the `image-details` state, in which changes are only
 saved at the post level (i.e., in the image markup in the post, but not
 the media library).

 This is super confusing UX and can easily lead to unintended consequences
 when someone uses an image on multiple posts and inadvertently does
 something like changing the caption in one post, not realizing they've
 just changed it on another post as well.

 What makes this trickier is that you can also upload new images while in
 the `insert` state, after which you should expect to be able to edit the
 data associated with that image before inserting it into whatever context
 you're in and have those changes saved to the media library.

 I have hopes that we can fix this UX issue as part of the Gutenberg
 project by separating the management of post-level properties from media
 library properties. In the mean time, I don't think we should disable this
 syncing behavior because I think that would lead to even greater
 confusion.

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


More information about the wp-trac mailing list