[wp-trac] [WordPress Trac] #34111: Menu CSS Classes are saved as comma separated inside the Customiser
WordPress Trac
noreply at wordpress.org
Tue Oct 20 22:44:46 UTC 2015
#34111: Menu CSS Classes are saved as comma separated inside the Customiser
------------------------------------------+--------------------------
Reporter: paulwilde | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.3.2
Component: Customize | Version: 4.3
Severity: normal | Resolution: fixed
Keywords: has-patch commit fixed-major | Focuses: javascript
------------------------------------------+--------------------------
Comment (by westonruter):
In [changeset:"35308"]:
{{{
#!CommitTicketReference repository="" revision="35308"
Customizer: Prevent `nav_menu_item` settings from becoming dirty when
their controls are set up.
Since `wp_setup_nav_menu_item()` returns the `classes` property as an
array but the Customizer manages the value as a string, the setting needs
to initially export the value as a string. This prevents the `classes`
property type change from causing the setting to get marked as dirty even
though nothing changed. This is a regression from [34788].
See #34111.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34111#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list