Make WordPress Core

Opened 5 years ago

Last modified 4 months ago

#51623 new defect (bug)

Does WordPress run a clean-up cron-job for menu items having the draft status?

Reported by: zenithcity's profile zenithcity Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.1
Component: Menus Keywords: needs-testing
Focuses: performance Cc:

Description

On the menu admin screen, after dragging new menu items to the selected menu, whenever I discard the option to save the menu settings before reloading the page I noticed that the added menu items (not-saved) is still in my post database table with status "draft". Now if I discard 100 menu items, my post table is filled with 100 rows of redundant data. Why?

Attachments (1)

REC-20250218152521.mp4 (3.0 MB) - added by karthickmurugan 4 months ago.

Change History (2)

#1 @karthickmurugan
4 months ago

  • Keywords needs-testing added

Hi @zenithcity,

I wanted to check if this issue is still occurring. After testing on the latest WordPress version, I found that menu items are no longer being added with a "draft" status when leaving the page from the Site Editor without saving the menu in draft mode.

Could you confirm if you're still experiencing this issue?

Attached the testing video for reference.

Note: See TracTickets for help on using tickets.