[wp-trac] [WordPress Trac] #23148: Add hook in wp_ajax_save_attachment for additional attachment fields
WordPress Trac
noreply at wordpress.org
Thu Jan 10 12:52:36 UTC 2013
#23148: Add hook in wp_ajax_save_attachment for additional attachment fields
-------------------------+------------------------------
Reporter: griffinjt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+------------------------------
Comment (by griffinjt):
I've added a patch that adds a hook right after WordPress internally
updates the post. Passing two params, `$post` and `$changes`, is
sufficient for a user to have the information needed to make a successful
`update_post_meta/wp_update_post` call.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23148#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list