[wp-trac] [WordPress Trac] #32183: Widget ID auto-increments conflict for concurrent users
WordPress Trac
noreply at wordpress.org
Wed Jun 7 00:20:35 UTC 2017
#32183: Widget ID auto-increments conflict for concurrent users
--------------------------+-----------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Widgets | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by westonruter):
I think this should be handled as part of storing widgets in a custom post
type (#35669). When adding a new widget in the customizer, it should
create an `auto-draft` widget post which then gets transitioned to
`publish` when the customizer is saved. This is what was done for adding
page/post stubs to the customizer, and it is also what is proposed for nav
menus in #38072.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32183#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list