#5740 closed defect (bug) (duplicate)
editing custom post_type posts overrides the post_type
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
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)
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Duplicate of #4991, which could use the edit page form patch though.