[wp-trac] [WordPress Trac] #4620: Post status transition actions
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 11 23:18:11 GMT 2007
#4620: Post status transition actions
----------------------------+-----------------------------------------------
Reporter: ryan | Owner: ryan
Type: defect | Status: new
Priority: normal | Milestone: 2.3 (trunk)
Component: Administration | Version: 2.3
Severity: normal | Keywords: status workflow
----------------------------+-----------------------------------------------
Add post status transition actions so that plugins can hook into workflow.
Example actions:
* draft_to_publish
* pending_to_publish
* private_to_publish
* future_to_publish
* pending_to_draft
etc.
Also add hooks announcing new status.
* draft_post
* draft_page
* publish_post
* publish_page
* pending_post
* future_post
etc.
Finally, add a catch-all transition_post_status hook that passes the old
and new status.
--
Ticket URL: <http://trac.wordpress.org/ticket/4620>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list