[wp-trac] [WordPress Trac] #24146: Menu items with blank labels are removed on saving
WordPress Trac
noreply at wordpress.org
Fri Feb 13 16:48:00 UTC 2015
#24146: Menu items with blank labels are removed on saving
--------------------------+-----------------------------
Reporter: rodrigo@… | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.2
Component: Menus | Version: 3.5.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Changes (by DrewAPicture):
* keywords: has-patch 4.2-early => needs-patch
Comment:
In testing [attachment:24146.diff], I noticed a couple of standout issues:
* With the patch applied, the menus screen is tossing a notice:
{{{
PHP Notice: Undefined variable: no_title_class in
/srv/www/core/mutrunk/src/wp-admin/includes/nav-menu.php on line 109
}}}
* Creating and saving ordinary menu links with no label works∂ as
expected, though it looks like the same is not true for other types of
menu items. Removing labels on category items, for instance, the label is
simply restored on save.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24146#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list