#21141 closed defect (bug) (duplicate)
Update Status Switches to use get_post_status_object()
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
There are a couple places that contain switches for Post Statuses. These should be updated to use get_post_status_object() to enable more flexiblity and utilize the register_post_status() function of WordPress 3.0.
For example, in meta-boxes.php (wp-admin/includes), the status of a post/page/custom post type must be manipulated via jQuery when a status could simply be created and utilized within WordPress to use a new status like 'expired' or 'under-review'. Or consider a news company with edit revision cycles. These revisions don't appear unless there is a jquery hack in place.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Related #12706