[wp-trac] [WordPress Trac] #38015: Customize: Nav menu items should preview using original object title if not title supplied
WordPress Trac
noreply at wordpress.org
Fri Sep 16 06:45:42 UTC 2016
#38015: Customize: Nav menu items should preview using original object title if not
title supplied
--------------------------+------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Customize | Version: 4.3
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------
Changes (by westonruter):
* keywords: has-patch commit => has-patch
Comment:
@celloexpressions I found a couple other situations where `original_title`
wasn't being used.
1. Original title wasn't being used as the control title.
2. Original title wasn't being used as a `placeholder` for the nav label
input field.
And then the original title was being used where it shouldn't, namely when
loading the customizer when a nav menu item that had an empty title it
would get populate with the original title. So you could save the
customizer with a blank title and then reload the customizer and you'd see
the navigation label no longer empty.
See [attachment:38015.1.diff]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38015#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list