Support for "pending review" posts
|Reported by:||markjaquith||Owned by:||markjaquith|
WordPress has supported "Save but not publish" capabilities since version 1.3 (unreleased, fall of 2004). It's about time the admin interface recognized that.
New post status: 'pending'
Pending posts are drafts that are complete, but are not yet ready to be published. The main reason for this would be that the author lacks publishing capabilities, but it could also be used by authors with publishing capabilities to ask their fellow authors to review their post before it goes out the door.
Authors without publishing capabilities get a "Submit for Review" button instead of a "publish" button.
The Manage > Posts screen allows "pending" posts to be listed.
The "drafts nag" on the Write > Post screen has been upgraded. It will show (assuming they exist and you can edit them): your drafts, pending posts, others drafts. In each category, if there are more than 2 posts, instead of showing links to all the posts, it will just say how many posts of that type are waiting, and craft a special link to the Manage > Posts screen with that type of post selected.
The Manage > Posts screen gets an upgrade. Drafts and Pending posts don't show the meaningless "When" and "Comments" columns, as they don't apply. Support for author exclusion is available, but not advertised (the "others' drafts" nag from the Write > Post screen will link to the Manage > Posts screen with the current author excluded... it will show a title of "Drafts by other authors").
The "Post Type" dropdown has been renamed "Status" (as post_type is something different!). It automatically hides post statuses that are not used. If there are currently no drafts, "Drafts" will not be an option in the dropdown.
I think that's it. I'd like to get this in before the earth moves beneath me, so please check it out.