Index: wp-admin/async-upload.php
===================================================================
--- wp-admin/async-upload.php	(revision 25621)
+++ wp-admin/async-upload.php	(working copy)
@@ -94,5 +94,13 @@
 } else {
 	// long form response - big chunk o html
 	$type = $_REQUEST['type'];
-	echo apply_filters("async_upload_{$type}", $id);
+
+	/**
+	 * Filter the returned ID of an uploaded attachment of a given type.
+	 *
+	 * @since 2.5.0
+	 *
+	 * @param int $id Uploaded attachment ID.
+	 */
+	echo apply_filters( "async_upload_{$type}", $id );
 }
