[wp-trac] [WordPress Trac] #37887: Make attachments atomic until a Customizer session is published
WordPress Trac
noreply at wordpress.org
Fri Jan 13 19:45:24 UTC 2017
#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: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: administration
-------------------------+-----------------------------
Comment (by azaozz):
> Desired behavior
>
> Attachments that are uploaded during a Customizer session should not be
published, or even visible by other logged in users, until the user
decides to publish the changes.
Why?
Is there any advantage in hiding uploaded files from other trusted users?
I don't see any. Similar case is when a file is uploaded while the user
composes a draft. We don't hide the upload until the post is published.
I'm also not sure if it is a good idea to remove or delete a file that was
uploaded while the customizer was used. This changes the current file
uploading behavior for no good reason: the users are still seeing the
(familiar) media popup, but files they upload may disappear later. This
can be taken as error and is pretty bad UX.
Also, if hiding of uploads is really really needed by somebody, it should
be a plugin. Seems it should be implemented by adding these attachments to
a "special" taxonomy (or similar) and excluding them from the Media
library. The proposed solution is needlessly complex.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37887#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list