[wp-trac] [WordPress Trac] #37887: Make attachments atomic until a Customizer session is published
WordPress Trac
noreply at wordpress.org
Wed Aug 31 01:16:38 UTC 2016
#37887: Make attachments atomic until a Customizer session is published
-------------------------+-----------------------------
Reporter: fjarrett | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: administration
-------------------------+-----------------------------
Changes (by celloexpressions):
* keywords: => needs-patch
Comment:
This is also something that could be considered an issue with the media
modal in the admin - within the context of any post, attachments probably
shouldn't be published until the post is published.
That being said, I agree that leveraging the `auto-draft` status makes the
most sense here, and actually may not be all that difficult to do. If all
of the attachment meta is saved as it is now, that should still work
because the associated attachment is still an `auto-draft` and therefore
wouldn't be visible, right? For existing attachments, though, that would
be an issue. We might want to focus first on new attachments and then
pursue previewing changes to existing attachments, as that starts to get
into things like previewing edits to actual image files where duplicating
existing attachments as `auto-draft`s may become necessary.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37887#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list