[wp-hackers] Purpose of 'draft' nav-menu items?

Otto otto at ottodestruct.com
Tue Sep 24 23:35:46 UTC 2013


Does it have a post status of "auto-draft"? The auto-drafts are
created for reserving the ID, I believe. They get cleaned up after 7
days.


-Otto


On Tue, Sep 24, 2013 at 5:44 PM, Luke Bryan <lukebryan at sharefaith.com> wrote:
> Greetings all,
>
> I noticed that on every "add" of a menu item, WP is creating a new draft
> for the nav menu item, even when not saved.
>
> You can see these with:
>
> SELECT * FROM `wp_posts` where post_type='nav_menu_item'
>
> I was wondering what purpose draft menus are - it appears they are nowhere
> visible after clicking add, and cancelling. Is there a way to clean these
> up? Is it automatic?
>
> Best regards,
> Luke
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list