[wp-trac] [WordPress Trac] #22641: Request: include post_id on media_send_to_editor filter call in wp_ajax_send_attachment_to_editor
WordPress Trac
noreply at wordpress.org
Thu Nov 29 20:48:20 UTC 2012
#22641: Request: include post_id on media_send_to_editor filter call in
wp_ajax_send_attachment_to_editor
-------------------------+------------------------------
Reporter: adrianhardy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: minor | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by nacin):
save-attachment-compat and save-attachment both receive post_id in the
same manner as before — `$_POST['post_id']`. This was done deliberately
for backwards compatibility. So everything should work as before, even
without the hook change.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22641#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list