editing custom post_type posts overrides the post_type
|Reported by:||DD32||Owned by:||anonymous|
I'm writing a plugin at present which uses a custom page_type when storing it in the DB, However, I'd like to retain the "Edit Post" functionality.
At present, If you edit a post of any post_type then the post_type gets overridden to simple "post" regardless of what it originally was.
I've attached a patch to correct this. (While using either the page or the post editor to edit a non-post/non-page item)
(edit-form-advanced.php / edit-page-form.php look remarkably similar to me.. Is there any real reason why the page/post editors are not one and the same? I'm undecided which one's better suited for editing my custom posts atm)