[wp-trac] [WordPress Trac] #13154: Editing Menus causes pages/posts to be deleted.

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 28 12:00:37 UTC 2010


#13154: Editing Menus causes pages/posts to be deleted.
--------------------------+-------------------------------------------------
 Reporter:  kgraeme       |       Owner:  filosofo
     Type:  defect (bug)  |      Status:  accepted
 Priority:  high          |   Milestone:  3.0     
Component:  Menus         |     Version:  3.0     
 Severity:  critical      |    Keywords:  nav-menu
--------------------------+-------------------------------------------------
Changes (by kpdesign):

 * cc: kpdesign (added)
  * keywords:  => nav-menu
  * version:  => 3.0


Comment:

 I found this same error yesterday AM, but did not have time then to file a
 ticket.

 Here are the steps that I took that produced the error:

 1. Add new menu; save.[[BR]]
 2. Add existing Hello World post to menu. Click Edit to see fields in menu
 item - default title (Menu Item) remained, but URL and title attribute
 fields are blank instead of showing post title and URL.[[BR]]
 3. With fields left blank, click Save Menu. Post chosen to be in the menu
 is deleted. Had to go to Trash to restore it.

 The same thing happened with the About page.

 I have applied the patch on this ticket to my updated dev install this AM.
 The post/page is no longer being deleted, so the checks put into place
 seem to have fixed that issue.

 However, the issue in step 2 above (adding a post to the nav menu) is
 still happening - default title remains, URL and title attribute fields
 are blank (see attached screenshot). Steps/result follow:

 1. Add custom link to menu, then add a post to menu. Fields for post are
 blank.[[BR]]
 2. Add page to menu, then add a post to menu. Fields for post are filled
 in properly sometimes; other times they are still blank.[[BR]]
 3. Add post first. Fields are blank.[[BR]]
 4. Add category or tag to menu, then add a post to menu. Fields for post
 are blank.

 Side note: I am able to add the same post/page/category/tag/etc. multiple
 times to the menu. Bug or intended behavior?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13154#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list