[wp-trac] [WordPress Trac] #14134: Menus item are limited to 16 item and will not save more than that
WordPress Trac
noreply at wordpress.org
Mon Feb 22 06:26:03 UTC 2016
#14134: Menus item are limited to 16 item and will not save more than that
-------------------------------------+------------------------
Reporter: jaanfx | Owner: ericlewis
Type: defect (bug) | Status: accepted
Priority: high | Milestone: 4.5
Component: Menus | Version: 3.0
Severity: major | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+------------------------
Comment (by westonruter):
@ericlewis I noticed a regression introduced by [36510], namely where the
Nav Menus admin page will drop any backslashes used on any input fields
(e.g. menu name, item label, item description, etc). For example, try
providing “\o/” for a nav menu item label. It will get saved as “o/”. The
fix is simple (albeit tragic): it needs to re-slash the values being
populated into `$_POST` that are parsed out of the JSON. See
[attachment:14134.re-slash.diff].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14134#comment:203>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list