﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
22047	Do action 'save_post' for attachments in 'wp_insert_attachment()'	dnaber-de		"I'm currently change my plugins to use meta boxes instead of the filter 'attachment_fields_to_edit' to add fields to the attachment edit screen. Adding meta boxes works as expected like for all other post types.

They usual way to evaluate meta boxes is a callback on 'save_post' for all other post-types. At the moment there are two actions for the attachment post type: 'add_attachment' and 'edit_attachment'. I think it would be consistent to do the action 'save_post' also in 'wp_insert_attachment()'. Or at least provide an action like 'save_attachment'."	enhancement	closed	normal		Media	3.5	normal	duplicate	has-patch	dnaber-de
