WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13174 closed defect (bug) (fixed)

Deleteing Page/Post Does Not Remove it From Custom Navigation Menus

Reported by: uglyrobot Owned by: filosofo
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: has-patch
Focuses: Cc:

Description

If you add a post or page to a custom nav menu and then fully delete it, it is not removed from the nav menu and instead wraps the item in a dead link

<a></a>

Related:
http://core.trac.wordpress.org/ticket/13154

Attachments (1)

handle_menu_items_for_trashed_items.13174.diff (12.5 KB) - added by filosofo 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 @filosofo5 years ago

  • Status changed from new to accepted

comment:2 @filosofo5 years ago

  • Keywords has-patch added; needs-patch removed

comment:3 @nacin5 years ago

  • Milestone changed from Unassigned to 3.0

comment:5 @ocean905 years ago

  • Milestone 3.0 deleted
  • Priority changed from high to normal
  • Resolution set to fixed
  • Severity changed from major to normal
  • Status changed from accepted to closed

comment:6 @ocean905 years ago

  • Milestone set to 3.0
Note: See TracTickets for help on using tickets.