[wp-trac] [WordPress Trac] #18823: Pass $post_id as second argument to delete_postmeta action
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 30 12:29:51 UTC 2011
#18823: Pass $post_id as second argument to delete_postmeta action
-------------------------+-----------------------------
Reporter: Vynce | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.2
Severity: minor | Keywords:
-------------------------+-----------------------------
in every case (in WP 3.2) where a postmeta is deleted, the context is
aware of the post_id or post_ids affected. The do_action calls for
added_postmeta, update_postmeta, and updated_postmeta all pass the post_id
as the second argument. For parallelism, and because it is useful, please
pass it for delete_postmeta (and deleted_postmeta).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18823>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list