WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 13 months ago

#35940 new defect (bug)

Menus: Menu item names change to numbers for added and edited menu items

Reported by: ryan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.4.2
Component: Menus Keywords: needs-patch reporter-feedback
Focuses: Cc:

Description (last modified by ryan)

This was first noticed when bulk adding pages to an existing menu. Instead of the page title, the menu item uses a 15 digit number as its name and slug. This affected all attempts to add and edit menu items during a three hour session, whether by bulk or individually. Deleting and re-adding items did not help.

This happened on two sites. One a local MAMP install and the other on AWS. One was created from the other via export/import. The import was done days before the bug was seen. Both sites exhibited the problem during a Macnchrome session lasting a few hours.

The next day, the MAMP install no longer exhibited the bug. Existing items retained their numbers, but and edit flow started behaving properly. The AWS site still exhibits the problem.

I poked around the XHR request. The POST goes out fine. The response comes back with a number instead of the requested title. A quick peek in the DB at nav_menu_item post types revealed numbers instead of titles there too.

https://core.trac.wordpress.org/raw-attachment/ticket/35940/nav%20menu%20items%20with%20numbers%20instead%20of%20titles.png

Attachments (2)

nav menu items with numbers instead of titles.png (463.0 KB) - added by ryan 2 years ago.
Nav menu items showing numbers instead of page titles, macnchrome
nav menu items with numbers instead of titles, details view, macnchrome.png (474.5 KB) - added by ryan 2 years ago.
Nav menu items showing numbers instead of page titles, details view, macnchrome

Download all attachments as: .zip

Change History (6)

@ryan
2 years ago

Nav menu items showing numbers instead of page titles, macnchrome

#1 @ryan
2 years ago

  • Description modified (diff)

#2 @ryan
2 years ago

I don't have the ability to disable plugins on the AWS site and can't currently reproduce the problem on the MAMP staging/test site. They run mostly the same plugins, though there are some differences. I'll see if the original reporter can disable plugins. (These are not my sites. I'm just helping.)

@ryan
2 years ago

Nav menu items showing numbers instead of page titles, details view, macnchrome

#3 @welcher
22 months ago

  • Keywords needs-patch added

#4 @welcher
13 months ago

  • Keywords reporter-feedback added

@ryan is this still an issue?

Note: See TracTickets for help on using tickets.