[wp-trac] [WordPress Trac] #42975: Customize: Previewing a changeset locks the changeset
WordPress Trac
noreply at wordpress.org
Sun Dec 24 23:13:17 UTC 2017
#42975: Customize: Previewing a changeset locks the changeset
--------------------------+-----------------------------
Reporter: dlh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.9
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
To demonstrate:
1. Schedule or save a draft of a changeset.
2. Close the Customizer.
3. Visit the changeset preview link in another browser while logged in as
a different user.
4. Open the Customizer again as the first user, and see that the changeset
has been locked by the second user.
This can be especially disorienting if the second user doesn't have access
to the Customizer.
The attached patch attempts to address this issue by locking the changeset
only when `customize.php` is being loaded. One downside to this approach
is that it would mean anyone providing an alternate interface for editing
a changeset would need to set the lock themselves, though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42975>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list