Opened 15 years ago
Closed 15 years ago
#11703 closed enhancement (fixed)
Allow for register_post_type() to enable/disable revisioning of new post_Types
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Revisions | Keywords: | has-patch |
Focuses: | Cc: |
Description
At present, Only pages and posts are allowed to be revisioned, It'd be good to leverage the revisioning system for custom post types.
I personally think that it should be disabled by default for post types, and enabled specifically.
I'll submit a patch to this effect at some point.
Attachments (3)
Change History (8)
#1
@
15 years ago
- Keywords has-patch added; needs-patch removed
- Only changes the backend, Doesnt touch the front end implications.
- Need to verify if any front end functionalities need to be modified to allow it
- Pretty sure that the meta boxes will need updating once the Post Type UI goes in
#2
@
15 years ago
- Keywords needs-patch added; has-patch removed
- Owner set to dd32
- Status changed from new to assigned
This depends on the talk for Post_type_supports() chat over in #9674 as well.
Patch is now stale, Will update it when the above is sorted out..
#4
@
15 years ago
- Keywords has-patch added; needs-patch removed
attachment 11703.3.diff added
Implements revisions for all post types that specifically support 'revisions'
Implements passing an array (or string) 'supports' in the args of register_post_type to allow for register-time registering of what features the post type supports.
Could do with a singular/plural form of the post type..
Leaving here for review by anyone who's interested.