[wp-trac] [WordPress Trac] #16358: Menu items get deleted with the user who created them
WordPress Trac
wp-trac at lists.automattic.com
Tue May 8 17:01:52 UTC 2012
#16358: Menu items get deleted with the user who created them
------------------------------+---------------------
Reporter: nacin | Owner: ryan
Type: defect (bug) | Status: closed
Priority: high | Milestone: 3.4
Component: Menus | Version: 3.0
Severity: major | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by ryan):
* owner: => ryan
* status: new => closed
* resolution: => fixed
Comment:
In [20739]:
{{{
#!CommitTicketReference repository="" revision="20739"
Don't delete nav menu items when the user that owns them is deleted.
* Introduce delete_with_user flag to register_post_type
* Set delete_with_user to false for the nav_menu_item post type
* Set it to true for all other core post types
* If delete_with_user is not set, fallback to post_type_supports('author')
Props nacin
Fixes #16358
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16358#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list