[wp-trac] [WordPress Trac] #35112: Screen Options in Appearance -> Menu not saved correctly sometimes
WordPress Trac
noreply at wordpress.org
Wed Dec 16 16:18:16 UTC 2015
#35112: Screen Options in Appearance -> Menu not saved correctly sometimes
----------------------------+-----------------------------
Reporter: Asgaros | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4.1
Component: Administration | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses: ui, javascript
----------------------------+-----------------------------
Comment (by afercia):
Additionally, as far as I see, in the Menus screen the "Boxes" checkboxes
have 2 click events attached. The first one from `postbox.js` by
`postboxes.add_postbox_toggles()` and the second one from `nav-menus.js`
by `wpNavMenu.initToggles()`. When the first one is triggered, the AJAX
call in the second one is triggered too but the ID values are not get yet.
So there are always 2 AJAX calls and the first one has empty parameters.
This happens also in previous WP versions and shouldn't be directly
related to the reported bug.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35112#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list